It's been a very long time since I had any kind of trouble managing with graphics drivers, but today it feels like something has changed. This post was moved from the "Upgrades > Kernel 6.8x" item because it's not really on that topic.
At the end, I'll post a few of the search results that I have found, none of which have worked to change from nouveau to nvidia driver.
First, let me say my two desktop screens are beautiful and working perfectly with the nouveau driver, so it's not a problem for me if I can't go back to nvidia. But curiosity compels me to ask around, to find out what I've missed.
$ inxi -SG
System:
Host: dibl-MOW Kernel: 6.7.6-1-siduction-amd64 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.10 Distro: siduction 22.1.2 Masters_of_War -
kde - (202303151559)
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nouveau v: kernel
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
resolution: 1: 1920x1200~60Hz 2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: nouveau,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.0.4-1 renderer: NV136
don@dibl-MOW:~$ sudo apt policy xserver-xorg-video-nouveau
xserver-xorg-video-nouveau:
Installed: (none)
Candidate: 1:1.0.17-3
Version table:
1:1.0.17-3 500
500 https://deb.debian.org/debian unstable/main amd64 Packages
don@dibl-MOW:~$ sudo apt policy nvidia-driver
nvidia-driver:
Installed: 550.67-0siduction2
Candidate: 550.67-0siduction2
Version table:
*** 550.67-0siduction2 500
500 https://liquorix.net/siduction/fixes unstable/non-free amd64 Packages
100 /var/lib/dpkg/status
535.161.08-1 500
500 https://deb.debian.org/debian unstable/non-free amd64 Packages
don@dibl-MOW:~$ nvidia-settings
ERROR: NVIDIA driver is not loaded
(nvidia-settings:72640): GLib-GObject-CRITICAL **: 07:38:05.012: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:72640): CRITICAL **: 07:38:05.013: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed
don@dibl-MOW:~$ lsmod | grep nouveau
nouveau 2514944 42
drm_gpuvm 16384 1 nouveau
mxm_wmi 12288 1 nouveau
drm_exec 12288 1 nouveau
gpu_sched 32768 1 nouveau
i2c_algo_bit 12288 1 nouveau
drm_ttm_helper 12288 1 nouveau
ttm 69632 2 drm_ttm_helper,nouveau
drm_display_helper 143360 1 nouveau
button 16384 1 nouveau
video 57344 2 asus_wmi,nouveau
wmi 20480 5 video,asus_wmi,wmi_bmof,mxm_wmi,nouveau
So nouveau is loaded, nvidia-driver and all related packages including dkms, nvidia-kernel-dkms, firmware-misc-nonfree, and firmware-nvidia-gsp are installed.
I set /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=1 quiet systemd.show_status=1"
and updated grub.
I added /etc/default/modprobe.d/blacklist-nouveau.conf:
blacklist nouveau
options nouveau modeset=0
~/.xsession-errors -- Successful boot, nouveau not blacklisted:
Xsession: X session started for don at Mon Apr 1 08:22:50 AM EDT 2024
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/tmp/xauth_mpNVdL
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=KDE
localuser:don being added to access control list
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
qt.svg: /usr/share/wallpapers/mow.svg:286:33: Could not resolve property: #linearGradient2611
(This last line is related to my "live" wallpaper setup and is not a problem)
Booting with nouveau blacklisted:
Xsession: X session started for don at Mon Apr 1 07:18:41 AM EDT 2024
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/tmp/xauth_AABZNz
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=KDE
localuser:don being added to access control list
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
qt.svg: /usr/share/wallpapers/mow.svg:286:33: Could not resolve property: #linearGradient2611
kdeinit5_wrapper: Warning: connect(/run/user/1000/kdeinit5__0) failed: : No such file or directory
Error: Can not contact kdeinit5!
org.kde.startup: "kdeinit5_shutdown" () exited with code 255
startkde: Starting up...
startkde: Shutting down...
startkde: Done.
I reviewed Debian wiki:
https://www.startpage.com/sp/search?query=debian+wiki+nvidia+graphics&cat=web&pl=opensearch&language=englishand
https://wiki.debian.org/NvidiaGraphicsDrivers/Troubleshootingand Debian forums.
Now I'm scratching my head. Is it old age? ;-)