Thank you both for your instructions. I have followed the exact
instructions as proposed by Oli and have managed to successfully
install and load the nvidia driver.
However, apparently I am now stuck in an X session instead of the
Wayland session I had before.
I have followed the additional instruction here https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_12_.22Bookworm.22
and have run the command:
echo "options nvidia-drm modeset=1" >> /etc/modprobe.d/nvidia-
options.conf
and now, cat /sys/module/nvidia_drm/parameters/modeset, outputs: Y
My laptop has both and integrated card and the Nvidia card. I have read
the instructions here:
https://wiki.debian.org/NVIDIA%20Optimus#PRIMEOffload
I don't really understand the second paragraph there, where it says
that it should just work out of the box but also recommends some
additional steps. Should I uninstall the xserver-xorg-video-intel
package as suggested there?
Should I be getting an option to select Wayland instead of Xorg at
login? I'm not sure I had that option before.
I am only using my laptop's screen right now,
thank you very much,
sudo mv /usr/lib/udev/rules.d/61-gdm.rules /usr/lib/udev/rules.d/61- gdm.rules.bak
/etc/default/grub.d/nvidia-modeset.cfg
Anil F Duggirala (12025-01-05):
sudo mv /usr/lib/udev/rules.d/61-gdm.rules /usr/lib/udev/rules.d/61- gdm.rules.bak
Unrelated to the actual issue: IIRC you can achieve the same result of disabling a system udev rule by creating an empty rule file in /etc with
the exact same name. It has the benefit of not being overwritten on the
next upgrade.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:11:04 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,566 |