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,

Reply via email to