LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-14-2020, 07:59 PM   #1
lukeer
Member
 
Registered: Feb 2013
Posts: 46

Rep: Reputation: Disabled
Driver for nVidia 6800 GT on debian 10.2 "Buster"


Hi there,

this Linux box needed an upgrade. Debian 10.2 installed fine but didn't get the graphics driver right automatically.

We have here an nVidia 6800 GT.

With nouveau, the colours are weird, psychadelic, wrong. Where there should be a smooth gradient, we get clearly visible stripes of a lot less colours than 24 bit should be able to produce. Orange turns light blue, white stays white. There's a lot of gray on this site (which should be some blue, IIRC), which makes reading the black text impossible without highlighting it.

from /var/log/Xorg.0.log:
Code:
(II) [drm] nouveau interface version: 1.3.1
[    19.931] (II) Loading sub module "dri2"
[    19.931] (II) LoadModule: "dri2"
[    19.931] (II) Module "dri2" already built-in
[    19.931] (--) NOUVEAU(0): Chipset: "NVIDIA NV40"
[    19.931] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32 # <<< here?
[    19.931] (==) NOUVEAU(0): RGB weight 888
[    19.931] (==) NOUVEAU(0): Default visual is TrueColor
Can there be a problem in the marked line? Or is that completely normal to have a framebuffer with different colour depth from ... whatever?

Starting with the kernel option nomodeset, we get correct colours, but the resolution cannot get over 1024x768, which is undesirable on a FullHD screen.
Creating new modelines with cvt works but they cannot be added through xrandr because there are no output names, just "+default".

The nVidia proprietary driver doesn't seem like an option atm. Buster provides nvidia-legacy back to 340, but the 6800 GT is last supported by 304. I tried adding stretch to /etc/apt/sources.lst, but nvidia-legacy-304xx won't install due to dependencies which apt says are impossible to install.

Is there some configuration for nouveau, which can mitigate the colour problem?
 
Old 02-14-2020, 10:28 PM   #2
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,184

Rep: Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700
What made it "need" an updgrade? Was everything working well no longer? Upgrade from what? How was it upgraded? If upgrade rather than fresh installation, do any remnants of any NVidia driver remain in /etc/X11/xorg.con* or /lib/? They well can prevent proper FOSS DDX operation.

Try purging xserver-xorg-video-nouveau. The much newer modesetting (upstream) default DDX should then automatically be used. It works for me using NVidia GPUs both newer and older than yours.

Nomodeset is a troubleshooting tool, intended only for temporary use.

The marked line is no issue. Lines with (EE) should be the only ones of a serious nature. (WW) warnings usually are non-serious. EE lines reporting "Failed to load module" can be ignored as long as any appropriate module loads and stays loaded.
 
Old 02-15-2020, 03:58 AM   #3
lukeer
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
It was a MythBuntu 12.04 based on (you guessed that) Ubutnut 12.04 and therefore long out of security update time.
MythBuntu doesn't exist any longer, so I did a fresh install.

I'll try that modesetting thin I've never heard about until now. Thanks.
 
Old 02-15-2020, 07:40 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,400
Blog Entries: 9

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
^ so it's SOLVED through reinstall?
 
Old 02-15-2020, 03:38 PM   #5
lukeer
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
Not yet.
When trying to purge the nouveau driver, this is what apt tells me:
Code:
root@hostname:/home/user# apt-get purge xserver-xorg-video-nouveau
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: (installed automatically and not needed any longer)
  acl coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5
  coinor-libcoinutils3v5 coinor-libosi1v5 crda cups-client cups-pk-helper
  dns-root-data dnsmasq-base espeak-ng-data exfalso fonts-dejavu
  fonts-font-awesome fonts-lato fonts-linuxlibertine fonts-noto-core
  fonts-noto-ui-core fonts-roboto-slab fonts-sil-gentium
  fonts-sil-gentium-basic gimp-data gir1.2-atk-1.0 gir1.2-atspi-2.0
  gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gst-plugins-base-1.0
  gir1.2-gstreamer-1.0 gir1.2-gtk-3.0 gir1.2-gtksource-3.0
  gir1.2-javascriptcoregtk-4.0 gir1.2-keybinder-3.0 gir1.2-notify-0.7
  gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-polkit-1.0 gir1.2-secret-1
  gir1.2-soup-2.4 gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gnome-keyring
  gnome-keyring-pkcs11 hyphen-en-us iw libamd2 libao-common libao4
  libappstream4 libatk-adaptor libaudio2 libayatana-appindicator3-1
  libayatana-ido3-0.4-0 libayatana-indicator3-7 libbabl-0.1-0 libblas3
  libbluetooth3 libbrlapi0.6 libbsh-java libcamd2 libccolamd2 libcdr-0.1-1
  libcholmod3 libcolamd2 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdotconf0
  libespeak-ng1 libexiv2-14 libfreehand-0.1-1 libgd3 libgegl-0.4-0
  libgegl-common libgexiv2-2 libgfortran5 libgimp2.0 libglib2.0-bin
  libgphoto2-6 libgphoto2-l10n libgphoto2-port12 libieee1284-3 libjim0.77
  libjs-jquery libjs-modernizr libjs-sphinxdoc libjs-underscore liblapack3
  liblouis-data liblouis17 libmariadb3 libmbim-glib4 libmbim-proxy libmetis5
  libmm-glib0 libmspub-0.1-1 libndp0 libnl-3-200 libnl-genl-3-200
  libnl-route-3-200 libnm0 libnma0 libpackagekit-glib2-18 libpagemaker-0.0-0
  libpam-gnome-keyring libpangoxft-1.0-0 libpcaudio0 libqmi-glib5 libqmi-proxy
  libquadmath0 libqxp-0.0-0 libraw19 libreoffice
  libreoffice-avmedia-backend-gstreamer libreoffice-calc libreoffice-draw
  libreoffice-gtk2 libreoffice-help-en-us libreoffice-impress
  libreoffice-librelogo libreoffice-nlpsolver libreoffice-script-provider-bsh
  libreoffice-script-provider-js libreoffice-script-provider-python
  libreoffice-wiki-publisher libsane libsane-common libsnmp-base libsnmp30
  libsonic0 libspeechd2 libstemmer0d libsuitesparseconfig5 libteamdctl0
  libu2f-udev libumfpack5 libvisio-0.1-1 libyaml-0-2 libzmf-0.0-0 lp-solve
  mariadb-common mobile-broadband-provider-info modemmanager mysql-common
  mythes-en-us network-manager network-manager-gnome orca p11-kit
  p11-kit-modules packagekit packagekit-tools python3-brlapi python3-cairo
  python3-cups python3-cupshelpers python3-dbus python3-feedparser
  python3-gi-cairo python3-gst-1.0 python3-louis python3-musicbrainzngs
  python3-mutagen python3-pyatspi python3-pyinotify python3-smbc
  python3-speechd python3-xdg quodlibet sane-utils sound-icons
  speech-dispatcher speech-dispatcher-audio-plugins
  speech-dispatcher-espeak-ng sphinx-rtd-theme-common system-config-printer
  system-config-printer-common system-config-printer-udev update-inetd
  usb-modeswitch usb-modeswitch-data wireless-regdb wpasupplicant xbrlapi
  xsane xsane-common
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  task-desktop* task-xfce-desktop* xserver-xorg-video-all*
  xserver-xorg-video-nouveau*
0 aktualisiert, 0 neu installiert, 4 zu entfernen und 0 nicht aktualisiert.
Nach dieser Operation werden 552 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n]
Just a wild guess: All those to-be-removed packets don't relate to purging nouveau at all. That's another problem. Isn't it?

But those last four packets are troubling me. Will X still work after "task-xfce-desktop" has been removed?

A few hours ago, I have been here, done that already. The NIC stopped working and I don't know what else. So I re-installed debian 10 from my CD just now. Have a completely ootb system now.
 
Old 02-15-2020, 06:01 PM   #6
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,184

Rep: Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700
Quote:
Originally Posted by lukeer View Post
Code:
...
task-desktop* task-xfce-desktop* xserver-xorg-video-all*
...
Will X still work after "task-xfce-desktop" has been removed?
Yes. Those 3 are meta-packages. They cause other packages to be installed. Removing them doesn't cause other packages to be removed. OTOH, autoremove would probably remove some packages you wouldn't want removed.
 
Old 02-16-2020, 09:10 AM   #7
lukeer
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
Hi again!

I tried purging the package xserver-xorg-video-nouveau (which includes the 3 other packages mentioned above) and rebooted after that.

But that didn't work out as expected. Colours are still distorted.

There still seems a nouveau to be running somewhere in the system:
Code:
user@host:~$ lsmod | grep nouveau
nouveau              2179072  3
mxm_wmi                16384  1 nouveau
wmi                    28672  2 mxm_wmi,nouveau
video                  45056  1 nouveau
i2c_algo_bit           16384  2 bttv,nouveau
ttm                   131072  1 nouveau
drm_kms_helper        208896  1 nouveau
drm                   495616  7 sil164,drm_kms_helper,ttm,nouveau
button                 16384  1 nouveau
What else to do so nouveau won't load?
 
Old 02-16-2020, 01:18 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,400
Blog Entries: 9

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
You can blacklist nouveau.
Do you have an appropriate video driver to take over, or do you just want to use the fallback driver?
 
Old 02-16-2020, 02:00 PM   #9
lukeer
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
I'm trying to follow mrmazda's advice to use the "modesetting (upstream) default DDX".
 
Old 02-16-2020, 02:13 PM   #10
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,184

Rep: Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700
Blacklisting the nouveau kernel driver will defeat both DDX, nouveau (xserver-xorg-video-nouveau) and modesetting (upstream default, provided by server package). Without any installed proprietary driver, the blacklisting forces use of either the fbdev or vesa driver, both of which are very slow, and limited in available modes, usually to only a small selection of low resolution 4:3 aspect modes.

Strange colors behavior is typical of hardware failure, either a cable connector, cable, or the RAM or one or more capacitors on the gfxcard. Possibly removing and reinserting the 6800GT in its slot could help. That the colors problem goes away when nomodeset forces use of a generic fallback driver suggests to me the problem is more likely failing/failed gfxcard RAM, or an overheat failure from a failed fan.

A 6800GT comes from an era when capacitor longevity was a common problem. My much newer 8600GT was such a victim, but I was able to replace its bad caps, so it's still in service using the modesetting DDX. Badcaps.net describes the caps problem with example images, and possible replacement solutions.

Last edited by mrmazda; 02-16-2020 at 02:15 PM.
 
Old 02-16-2020, 07:46 PM   #11
lukeer
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
We can rule out the hardware problem because booting either MythBuntu 10.04 or SystemRescueCD (don't know what version atm) from CD results in perfectly fine image, both resolution and colours.
 
Old 02-16-2020, 07:54 PM   #12
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,184

Rep: Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700
Quote:
Originally Posted by lukeer View Post
We can rule out the hardware problem because booting either MythBuntu 10.04 or SystemRescueCD (don't know what version atm) from CD results in perfectly fine image, both resolution and colours.
You know for a fact that both 10.04 installed or from CD/DVD and SystemRescueCD from CD now will run in your display's native mode rather than 1024x768? That hadn't been made clear to me.
 
Old 02-17-2020, 04:38 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,400
Blog Entries: 9

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
I recommend trying the proper legacy proprietary driver for this.
How to find the proper one.
 
Old 02-17-2020, 10:56 AM   #14
lukeer
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
10.04 [..] from CD [..] and SystemRescueCD from CD now will run [..]? That hadn't been made clear to me.
Sorry for that. I tried both just yesterday.

Quote:
Originally Posted by self View Post
Buster [=Debian 10] provides nvidia-legacy back to 340, but the 6800 GT is last supported by 304. I tried adding stretch [=Debian 9, latest version to support 304] to /etc/apt/sources.lst, but nvidia-legacy-304xx won't install due to dependencies which apt says are impossible to install.
I need the nvidia-legacy-304xx driver.

Last edited by lukeer; 02-17-2020 at 11:01 AM.
 
Old 02-17-2020, 02:10 PM   #15
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,184

Rep: Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700Reputation: 700
Do you have space available to install Stretch? That should enable installation of legacy 304 so that at least you could find out if it's any better, and should be supported until more than two years at least from now.
 
  


Reply

Tags
driver, nvidia


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] After having a successful installation of Debian Buster, Lenovo computer refuses to boot into Debian Buster 10.2 PicardDefendingData Debian 4 12-21-2019 08:51 PM
LXer: Debian Outs First Linux Kernel Security Update for Debian GNU/Linux 10 "Buster" LXer Syndicated Linux News 0 07-30-2019 02:03 AM
LXer: SparkyLinux 5.4 "Nibiru" Operating System Released Based on Debian 10 "Buster" LXer Syndicated Linux News 0 06-11-2018 10:18 PM
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 01:26 PM
Installing Nvidia 6800 driver for ubuntu server bowbalitic Linux - Newbie 6 08-22-2009 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration