nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Weird color damage with 9631 after upgrade to 6.2-RELEASE (http://www.nvnews.net/vbulletin/showthread.php?t=84323)

AMDmi3 01-15-07 01:56 PM

Weird color damage with 9631 after upgrade to 6.2-RELEASE
 
I've just upgraded to FreeBSD 6.2-RELEASE, and now I'm experiencing some weird problems with nvidia driver (9631). I've used the same version on FreeBSD 6.1 without any problems, but now after updating (and recompiling driver as well) I experience following: though everything works (no crashes, no errors, opengl works etc.), all colors are strangely distorted. It feels like 24 bit color value for every pixel is written to 16-bit value somehow. Thus, value for pixel's blue channel is ignored completely (tested in GIMP's color picker), though there are blue colors on screen. black->red gradient looks like many repeated gradiends of red->green.
Older versions of the driver stopped working at all (agp_find_device failed: chipset unsupported on the console). I've tried both FreeBSD and NVIDIA AGP drivers, VM86 interface for video BIOS calls, recompiled Xorg, but nothing helped.

Here's some info. May also post Xorg logs if needed.

GPU is ABit Siluro Gf3 (GeForce3).

Code:

# uname -a                                                                                             
FreeBSD hades.panopticon 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Mon Jan 15
04:59:29 MSK 2007

# pkg_info | grep nvidia-driver
nvidia-driver-1.0.9631_1
                                                                                                       
# dmesg | grep nvidia                                                                                   
nvidia0: <GeForce3> mem 0xf2000000-0xf2ffffff,0xf4000000-0xf7ffffff,0xf3800000-0xf387ffff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]

From xorg.conf:
Code:

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "RoverScan"
        ModelName    "Maxima Pro Black"
        HorizSync    31-80
        VertRefresh  50-75
        ModeLine    "1280x1024_108" 108.0 1280 1328 1440 1688  1024 1025 1028 1066 -hsync -vsync
        ModeLine    "1280x1024_135" 135.0 1280 1296 1440 1688  1024 1025 1028 1066 -hsync -vsync
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName  "NV20 [GeForce3]"
        BusID      "PCI:1:0:0"

      Option      "RenderAccel" "true"
      Option      "NvAGP" "3"
      Option      "NoLogo" "1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth    24
                Modes    "1280x1024_135" "1280x1024_108" "1024x768" "800x600" "640x480" "640x400"
        EndSubSection
EndSection


AMDmi3 01-15-07 02:24 PM

Re: Weird color damage with 9631 after upgrade to 6.2-RELEASE
 
Update: I did some more research on the nature of that color distortion. It seems like card interpretes each RGB8 value (24 bits, 8 for each color component) as RBG4 (12 bits, 4 bits for each component, red-blue-green order).
Thus, color which is 0xFF0000 (red) looks like magenta onscreen (red = 0xF, green = 0x0, blue = 0xF).

Nothing suspicious in the log though:
Code:

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "1"
(**) NVIDIA(0): Option "NvAGP" "3"
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): NVIDIA GPU GeForce3 at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 65536 kBytes
(--) NVIDIA(0): VideoBIOS: 03.20.00.14.00
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): Interlaced video modes are not supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce3 at PCI:1:0:0:
(--) NVIDIA(0):    Philips 7108 TV Encoder (TV-0)
(--) NVIDIA(0):    ROV X-174 (DFP-0)
(--) NVIDIA(0): Philips 7108 TV Encoder (TV-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): TV encoder: Philips 7108
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "640x400"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):    "1280x1024_135"
(II) NVIDIA(0):    "1280x1024_108"
(II) NVIDIA(0):    "1024x768"
(II) NVIDIA(0):    "800x600"
(II) NVIDIA(0):    "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (92, 92); computed from "UseEdidDpi" X config
(--) NVIDIA(0):    option
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.

Also I've forgot to mention that nv driver works without any problems. But there's no OpenGL acceleration for nv :(

AMDmi3 01-16-07 06:52 PM

Re: Weird color damage with 9631 after upgrade to 6.2-RELEASE
 
Well, I've downgraded to 6.1, and discovered that 9631 driver still has those color artifacts. I've downgraded driver to 8776 and now everything works again at last.

But, the problems are still there:

nvidia-driver 9631 gives distorted colors on GeForce3 on both FreeBSD 6.1 and 6.2.
nvidia-driver 8776 does not work under FreeBSD 6.2 (NVRM: agp_find_device failed, chipset unsupported?) (but works under 6.1).

Nicolas86 02-13-07 10:38 AM

Re: Weird color damage with 9631 after upgrade to 6.2-RELEASE
 
Hello!

I've got the same problem with Linux (2.6.17.7 and 2.6.20) and the same driver (9631) with a GeForce 3 Ti 200. I don't know, how to solve the problem. Now, I use the opensource driver but without 3d-support.


All times are GMT -5. The time now is 10:00 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.