Hi list, my media center PC is freshly installed with Debian 10.2 "Buster". It doesn't support Geforce 6800 GT (NV40) boards through the nvidia nor the nvidia-legacy drivers any longer. The legacy drivers worked up until Debian 9 "Stretch", but no longer. I know that the hardware works because I can boot SystemRescueCD from CD and get a flawless desktop presentation on the attached full HD TV. But in Debian 10, the colours are distorted. Have a look at "Nouveau.jpg" here: https://jumpshare.com/b/Se5d7xMu5tBSsR2Zcz8p I can get the colours to work by starting the kernel with "nomodeset". Look at the same link, "NoModeSet.jpg". SystemRescueCD (working nouveau version) uses an older kernel: root at sysresccd /root % uname -a Linux sysresccd 3.2.28-std300-amd64 #2 SMP Tue Aug 21 18:35:38 UTC 2012 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz GenuineIntel GNU/Linux Debian 10.2 (distorted colours) uses this kernel: luker at michael:~$ uname -a Linux michael 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux Is there a configuration setting in nouveau that causes those weird colours? Bit order/byte order maybe? Thanks
On Sat, Feb 22, 2020 at 1:02 PM Lukas Schubert <lukas.schubert at gmx.de> wrote:> > Hi list, > > my media center PC is freshly installed with Debian 10.2 "Buster". It doesn't support Geforce 6800 GT (NV40) boards through the nvidia nor the nvidia-legacy drivers any longer. The legacy drivers worked up until Debian 9 "Stretch", but no longer. > > I know that the hardware works because I can boot SystemRescueCD from CD and get a flawless desktop presentation on the attached full HD TV. > > But in Debian 10, the colours are distorted. Have a look at "Nouveau.jpg" here: https://jumpshare.com/b/Se5d7xMu5tBSsR2Zcz8p > I can get the colours to work by starting the kernel with "nomodeset". Look at the same link, "NoModeSet.jpg". > > SystemRescueCD (working nouveau version) uses an older kernel: > root at sysresccd /root % uname -a > Linux sysresccd 3.2.28-std300-amd64 #2 SMP Tue Aug 21 18:35:38 UTC 2012 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz GenuineIntel GNU/Linux > > Debian 10.2 (distorted colours) uses this kernel: > luker at michael:~$ uname -a > Linux michael 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux > > Is there a configuration setting in nouveau that causes those weird colours? > Bit order/byte order maybe?As you might suspect, there have been a few changes here and there between v3.2, released in 2012, and v4.19, released in 2018. Could you perhaps try a couple of Ubuntu (or pick-your-favorite-distro) LiveUSB releases to see if you can narrow it down at all? You don't have to install them, just booting them should reveal the issues, most likely. This looks like either a messed up LUT, or a disagreement in color layout in the framebuffer, e.g. RGB565 vs XRGB1555. The underlying picture still has the correct shape, so it's not a 4- vs 2-byte confusion. XRGB8888 vs XBGR8888 would look differently wrong, so it's not the byte order (which the scanout engine does support flipping, but we don't expose that in nouveau right now). Does the vt console look OK? i.e. light-gray text on black background? If you have colors in your shell, do they seem OK too? Cheers, -ilia
Lukas Schubert composed on 2020-02-22 12:57 (UTC-0500):> my media center PC is freshly installed with Debian 10.2 "Buster". It doesn't support Geforce 6800 GT (NV40) boards through the nvidia nor the nvidia-legacy drivers any longer. The legacy drivers worked up until Debian 9 "Stretch", but no longer.> I know that the hardware works because I can boot SystemRescueCD from CD and get a flawless desktop presentation on the attached full HD TV.> But in Debian 10, the colours are distorted. Have a look at "Nouveau.jpg" here: https://jumpshare.com/b/Se5d7xMu5tBSsR2Zcz8p > I can get the colours to work by starting the kernel with "nomodeset". Look at the same link, "NoModeSet.jpg".Nomodeset causes use of fallback X video drivers that typically utilize far less than all of the videoram, usually running in a lower resolution mode such as 1024x768 or 1280x1024, lower than most current widescreen displays support.> SystemRescueCD (working nouveau version) uses an older kernel: > root at sysresccd /root % uname -a > Linux sysresccd 3.2.28-std300-amd64 #2 SMP Tue Aug 21 18:35:38 UTC 2012 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz GenuineIntel GNU/Linux> Debian 10.2 (distorted colours) uses this kernel: > luker at michael:~$ uname -a > Linux michael 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux> Is there a configuration setting in nouveau that causes those weird colours? > Bit order/byte order maybe?Which DDX is X employing to produce that?: inxi -Gxx It's quite possible your colors trouble is caused by a failing GeForce. I have both newer and older working fine on either of the FOSS DDX, e.g.:> inxi -SGxxSystem: Host: gx270.ij.net Kernel: 4.19.0-8-686 i686 bits: 32 compiler: gcc v: 8.3.0 Desktop: Trinity wm: Twin dm: startx Distro: Debian GNU/Linux 10 (buster) Graphics: Device-1: NVIDIA NV34 [GeForce FX 5200] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:0322 Display: server: X.Org 1.20.4 driver: nouveau unloaded: fbdev,modesetting,vesa alternate: nv resolution: 1680x1050~60Hz, 1920x1200~60Hz OpenGL: renderer: NV34 v: 1.5 Mesa 18.3.6 direct render: Yes root at gx270:~# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r VGA-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 4096 x 4096 DVI-I-1 connected 1920x1200+1680+0 (normal left inverted right x axis y axis) 519mm x 324mm 1920x1200 59.95*+ 1680x1050 59.97*+ 74.89 I have in the past with NVidia and AMD cards seen similar colors disruption instead of normal output when a card is failing. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/