Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2007 06:05:36 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        freebsd-stable@freebsd.org
Subject:   6.2 & nvidia x11 driver: weird 16bpp/24bpp colorspace damage
Message-ID:  <20070115030536.GA1025@hades.panopticon>

next in thread | raw e-mail | index | archive | help
Hi!

I've just upgraded to 6.2 and found terrible bugs with nvidia x11
driver. Everything works (i.e. X starts, opengl works, no errors), but
all colors are damaged terribly. It feels like graphics card is in 16
bpp mode, but X server thinks that it's in 24/32 bpp mode. Thus, value
of blue channel is completely ignored. I use same driver version that
I've used on 6.1, and I've recompiled driver with new kernel. I've also
tried to recompile everything several time, tried bot nvidia and FreeBSD
agp drivers, but nothing helped. nv driver shows correct colors, btw.

Here's some additional info:

# 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

(I can't try latest 97xx driver, as it says my GPU is no longer
supported and I should stay with 96xx)

# 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:

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"
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

-- 
Best regards,
  Dmitry Marakasov               mailto:amdmi3@amdmi3.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070115030536.GA1025>