You are not logged in.
I've been trying to disable nvidia_drm with the command
# modprobe nvidia-drm modeset=1Rebooting and running
# cat /sys/module/nvidia_drm/parameters/modesetReturns a N instead of a Y.
I've been looking around and haven't found much.
My nvidia card is..
VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 745] (rev a2) (prog-if 00 [VGA controller])I installed driver with the 'nvidia' package, maybe my card is not supported?
Thanks!
Last edited by tropnevad (2024-03-05 20:57:21)
Offline
What are you trying to do, exactly? Nothing in this post makes sense.
Last edited by Scimmia (2024-03-05 00:54:49)
Online
The wiki says drm mode setting must be set for Wayland to work with nvidia cards, I’m trying to log into Wayland without it and all I’m getting is a black screen with a cursor, which apparently is common if you don’t have modesetting set. So trying to set it with the modprobe isn’t working. Does that help?
Offline
And as the wiki says, you need to do that by setting nvidia_drm.modeset=1 on the kernel command line.
Online
FWIW in a general sense you would be able to change that that way but you'd need to actively be able to unload the nvidia drivers before being able to reload them with modesetting set, which generally speaking won't work trivially if your display is currently actively driven by the card. But in any case you want to set it on the cmdline to also disable the simpledrm device that would otherwise cause issues with display detection.
Offline
FWIW in a general sense you would be able to change that that way but you'd need to actively be able to unload the nvidia drivers before being able to reload them with modesetting set, which generally speaking won't work trivially if your display is currently actively driven by the card. But in any case you want to set it on the cmdline to also disable the simpledrm device that would otherwise cause issues with display detection.
Sorry, I’m new so I have no idea how to pass arguments to the command line, I tried looking online but didn’t understand much, could you possibly help or point me in the direction to do this? Thanks!
Okay, I believe I figured it out. I added the parameters to the grub file in /etc/default/grub and saved them and I can now log into Wayland! Thank you for your help ![]()
EDIT: Wow I just want to say Wayland is soo responsive. I had a lot of lag with windows opening and closing in X but Wayland takes care of all that. Thanks again!
Last edited by tropnevad (2024-03-05 21:06:48)
Offline
For the future, the logical progression you'd have for figuring this out from the wiki is going to https://wiki.archlinux.org/title/NVIDIA … de_setting --> https://wiki.archlinux.org/title/Kernel_parameters --> https://wiki.archlinux.org/title/Kernel_parameters#GRUB
Offline
For the future, the logical progression you'd have for figuring this out from the wiki is going to https://wiki.archlinux.org/title/NVIDIA … de_setting --> https://wiki.archlinux.org/title/Kernel_parameters --> https://wiki.archlinux.org/title/Kernel_parameters#GRUB
The kernel parameters/GRUB is where I got it all figured out. Thank you for posting that as it may help some other people who come across this page with that problem.
Offline