Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
The latest nvidia-dkms / nvidia-utils (560.35.03-5) freezes my system on boot (tty1). I had to chroot back into it, downgrade to 560.35.03-4 and it works again.
It seems to be visual only, since the system seemed to be running (hdd activity) in the background and the journal shows a normal shutdown after I pressed ctrl+alt+del a couple times.
There is nothing immediately obvious in the journal.
Additional info:
GPU: NVIDIA GeForce GTX 980
I don't use a bootmanager, I directly boot from uefi.
I also don't use a desktop manager, my system boots into tty1 and stays there until I manually start my desktop environment.
My username is choose automatically. I changed getty@tty1.service
This did not fix it. Even after removing my getty service changes the screen freezes at the login prompt then.
I noticed a different thing tho.
After testing your suggestion, I chrooted, downgraded the nvidia packages again, started to boot and again got the freeze, WITH the downgraded packages. I tested it twice. I then chrooted again and deleted the nvidia.conf and from there it booted normally again. So having set options nvidia_drm modeset=1 fbdev=1 with the old packages has the same freezing effect that I get with the new packages.
So, this does even happen, when you enable on your own modeset/fbdev.
Generally I would suggest you to do here a bugreport to NVIDIA. Ive get in contact with a friend with a 960 and they can not reproduce this issue, while using it with i3 and KDE.
If you use the new package, and create in /etc/modprobe.d/nvidia.conf your previous values?
Not sure what youve used before, but you can disable them with:
options nvidia_drm modeset=0 fbdev=0
Thanks for testing.
I don't have/had a /etc/modprobe.d/nvidia.conf before, so not sure what the default is. Is your friend using one? Since that seems to have an effect. As I said, if I enable modeset and fbdev it doesn't even work with the old packages. So maybe the new driver somehow enables it? What exactly did your friend test? Are you suggesting to try to disable it and it might work with the new package as well?
Yes, correct the new driver does enable modset and fbdev as default. These are more or less requirements, when you want to use a wayland session, otherwise it wont work.
Before the 6.11 Kernel, there was a workaround in the kerne, which would skip simplefb, if drm.modset=1 is set via the kernel cmdline, but this one got removed and we want to follow there the Fedora attempt, which were committed in the recent change.
If you install the extra-testing/nvidia-utils and add following into /etc/modprobe.d/nvidia.conf:
options nvidia_drm modeset=0 fbdev=0
I think this is an issue related to Early KMS. You can try using these options again, but add MODULES=(nvidia nvidia_drm nvidia_modeset nvidia_uvm) in /etc/mkinitcpio.conf. I'm sure the issue will go away after that, but the question is how to package this.
ok, I did some more testing.
With options nvidia_drm modeset=0 fbdev=0 it works.
@ventureo Funny you mention that I was already trying exactly that after reading this
Unfortunately it doesn't work for me. I tried adding the kernel parameters directly like nvidia_drm.modeset=1 nvidia_drm.fbdev=1 and also adding them to /etc/modprobe.d/nvidia.conf. In both cases my system freezes immediately after I select the entry in the uefi boot menu just showing running early hook [udev]. So it freezes a lot sooner as before. And yes I did sudo mkinitcpio -P, the image got three times as big as a result. Not sure why that's not working for me.
Unfortunately it doesn't work for me. I tried adding the kernel parameters directly like nvidia_drm.modeset=1 nvidia_drm.fbdev=1 and also adding them to /etc/modprobe.d/nvidia.conf. In both cases my system freezes immediately after I select the entry in the uefi boot menu just showing running early hook [udev]. So it freezes a lot sooner as before. And yes I did sudo mkinitcpio -P, the image got three times as big as a result. Not sure why that's not working for me.
It's a little frustrating
Could you please try what I recommended you earlier, but without the fbdev=1?
Yeah tell me about it. I have to chroot every time to make changes.
What exactly do you want me to try MODULES=(nvidia nvidia_drm nvidia_modeset nvidia_uvm) in /etc/mkinitcpio.conf and options nvidia_drm modeset=1 in /etc/modprobe.d/nvidia.conf? fbdev=0 or completely removed?
Did these test just now.
One thing I noticed. You HAVE TO sudo mkinitcpio -P after every change in /etc/modprobe.d/nvidia.conf. I thought these values were read during boot but apparently not.
I dont know, how we want to proceed here then. Currently with 6.11 and fbdev disabled breaks for all users the login, since simplefb takes over and breaks the nvidia driver.
Unfortunately it still freezes. Here is my full kernel rw loglevel=3 nvme_core.default_ps_max_latency_us=0 nowatchdog modprobe.blacklist=iTCO_wdt initcall_blacklist=sysfb_init in case something might interfere.
I have a NVIDIA GeForce GTX 980 I will test with @ventureo suggestions now. Hope it works since it's a major pita to revert my system since I have to chroot every time.
Andychanged the descriptionCompare with previous version
Hmm, with only having my own system to go by I'm not confident to say whether early KMS must be enabled, or nvidia_drm.fbdev=0 kernel param required, for various other nVidia setups.
For our similar generation of hardware @sxe and I are using different combos of settings. Not sure if he's got the early KMS hook. And, I use kernel parameters rather than nvidia.conf, hence I don't need to use initcall_blacklist=sysfb_init to block the simple-drm device, as the nvidia_drm.modeset=1 kernel parameter prevents it in combo with the Arch kernel patch.
So, even with just two users here in this thread, with similar hardware, we don't have true commonality on what works for both.
Why don't we have true commonality? As far as I can see the same combo works for both of us? I am currently using The first version in this table: #16 (comment 213813) which is the version you are also using?
Well, I don't see a difference that's why I am confused. As stated here #16 (comment 213769) yes I use the early kms hook. Yes as stated before I tried with just kernel parameters, exact same behavior as the results from the table. I also normally don't use the initcall_blacklist=sysfb_init kernel parameter, it was just a test I did today since @ventureo asked me to. So from what I can see the same combo modeset=1 fbdev=0 works for both of us.
Yes as stated before I tried with just kernel parameters
Gotcha. You're last "config" chart from a few hours ago still showed nvidia.conf rather than kernel params so it wasn't clear to me.
Okay, so now that we're on the same page, what would the proposed Wiki entry/modification consist of?
Early KMS hook requirement?
nvidia_drm.fbdev=0?
For either, would it/they be globally advised for nVidia or for our specific generation of hardware?
Anecdotally, I stay current on Arch Forums, and haven't seen much in the way of complaint about this specific packaging change other than that KDE/plasma users needed to specify the opposite (nvidia_drm.fbdev=1 kernel param) to achieve functionality.
I think the problem appears to be something with simplefb and fbdev.
On CachyOS we have simplefb as default disabled, and we got none of these reports.
If you remove these again, and add nvidia-drm.modeset=1 to the kernel cmdline, does that fix this?
This should skip SimpleFB on its own and then fbdev should work fine. Give it a try please.
Reading all of this, I'm not sure we can actually consider this a packaging problem. After all fbdev seems to be pretty much required now with the new drivers so we have to default to it for users. I suggest this:
Document this potential problem on the wiki
Make sure nvidia is aware (and ideally post your report on their forums here in this issue)
Make sure nvidia is aware (and ideally post your report on their forums here in this issue)
Regarding this item, I had mentioned in linux#94 (comment 227881) that, for each recent nVidia driver version, I've been updating the most relevant thread in the nVidia forum I could find:
I am going to see if I can create repro (or see if someone from our bug triaging group has a repro already). Based on comments here, it seems related to our DRM fbdev support at first glance.
Unfortunately it's not working. I removed /etc/modprobe.d/nvidia.conf and tty1 still freezes.
Is there any benefit to test the other variations as well? (Don't have much time today for reboots).
Exactly zero change in behaviors with 570.86.16-1.
For older generation GPUs (<= Pascal), nvidia_drm.fbdev=0 kernel parameter is still required to have a functional TTY, see the full boot text, and avoid the 'freeze'.
And, nvidia_drm.modeset=1is required as a kernel parameter to avoid the simpledrm device creation (with the patched Arch kernel).