You are not logged in.

#1 2024-01-04 06:08:07

BenTheTechGuy
Member
Registered: 2020-07-15
Posts: 8

Enabling Nvidia DRM causes TTY to freeze

When I add the boot parameters

nvidia_drm.modeset=1 nvidia_drm.fbdev=1

my tty freezes, with the cursor not moving and letters not appearing. Xorg eventually starts and runs fine. KMS must not work, since GDM is using Xorg instead of Wayland. I have a GTX 1060 6GB with two monitors plugged in.

It seems Dexus also experienced this, but I haven't found anyone else from a quick search online.

Offline

#2 2024-01-04 07:59:27

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Enabling Nvidia DRM causes TTY to freeze

Try with nvidia_drm.modeset=1 only.
Also, try adding modules nvidia nvidia_modeset nvidia_uvm nvidia_drm, then

# mkinitcpio -P

[relevant WIKI page]


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2024-01-04 14:04:14

BenTheTechGuy
Member
Registered: 2020-07-15
Posts: 8

Re: Enabling Nvidia DRM causes TTY to freeze

The modules are in my initramfs. I've tried booting with only the modeset parameter and also with only the fbdev parameter. In both cases, there is no freezing, but GDM still uses Xorg so I don't think KMS is working. If I force it to run on Wayland, it only detects one of my monitors, which is also what happens in my UEFI, so I wonder if it's using the EFI framebuffer.

Offline

#4 2024-01-04 15:45:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: Enabling Nvidia DRM causes TTY to freeze

Keep nvidia_drm.modeset=1, lose nvidia_drm.fbdev=1 see https://wiki.archlinux.org/title/GDM#Wa … DIA_driver (ignore the driver version discrimination, just draw ll measures) and in doubt please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#5 2024-01-04 16:26:15

BenTheTechGuy
Member
Registered: 2020-07-15
Posts: 8

Re: Enabling Nvidia DRM causes TTY to freeze

Well, it works fine now. I tried this exact combination a month ago and it didn't work… no Nvidia driver update since then, only kernel and Mesa.

Offline

#6 2024-01-04 16:28:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: Enabling Nvidia DRM causes TTY to freeze

kernel update will have triggerent an initramfs re-generation.
Also you cannot update the kernel but not the nvidia package, because it has to align w/ the kernel or the module won't load.

Offline

#7 2024-01-04 17:08:58

BenTheTechGuy
Member
Registered: 2020-07-15
Posts: 8

Re: Enabling Nvidia DRM causes TTY to freeze

No. I use the nvidia-dkms package, so it's automatically rebuilt on kernel updates. Also, I made sure to regenerate the initramfs every time I changed boot parameters and modules back when I was working on this last month.

Offline

Board footer

Powered by FluxBB