Trouble installing NVIDIA 470xx (again)

@joekamprad
I wonder if it has incorrect info set up in $HOME/.config/kwinoutputconfig.json

Yes could be you can simply move it out of the way (backup/remove)
And rebootā€¦
mv $HOME/.config/kwinoutputconfig.json $HOME/.config/kwinoutputconfig.json.bak

Unfortunately, doesnā€™t workā€¦

Any progress with this? Iā€™m sort of in the same boatā€¦ when I followed the steps from above that @joekamprad laid out I was able to get into Wayland Plasma but it was soooo slow to do anythingā€¦ X11 at the moment is all that works. Iā€™ve also tried installing and booting from the zen kernel to no avail (it only gives me a 1024x768 resolution) :frowning:

Bash history is as follows:

nvidia-inst -t
# told me to run the following
sudo pacman -Rs --noconfirm --noprogressbar --nodeps xf86-video-nouveau
yay -Syu nvidia-470xx-dkms nvidia-470xx-utils nvidia-470xx-settings
sudo vim /etc/default/grub
# Here's where I added the nvidia-drm.modeset=1
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo dracut-rebuild
mv .config/kwinoutputconfig.json .config/kwinoutputconfig.json.bak
sudo reboot
sudo pacman -S linux-zen linux-zen-headers
sudo grub-mkconfig -o /boot/grub/grub.cfg

Iā€™ve seen some threads regarding a /etc/kernel/cmdline file but I donā€™t have oneā€¦

For example adding nvidia_drm.fbdev=1 as a kernel parameter

As youā€™ve got dracut the kernel cmdline would be located in /etc/dracut.conf.d/cmdline.conf

If that doesnā€™t exist, create one and it should contain

kernel_cmdline+=" nvidia_drm.fbdev=1 "

After that, dracut-rebuild

This is if you are using systemd-boot. From what you have posted it looks like you are using grub. You can add nvidia_drm.fbdev=1 to the grub command line also if needed and run the update grub command.

Edit: If adding kernel parameters to grub command line and then running the update grub command i donā€™t think itā€™s necessary to run dracut-rebuild? :thinking: I never have when adding or changing kernel parameters.

I realized that was probably systemd-boot. Iā€™m definitely using grub. So I added:

GRUB_CMDLINE_DEFAULT=`nvidia_drm.fbdev=1...`

Then:

sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo dracut-rebuild

But no diceā€¦

I can confirm the nvidia_drm.fbdev=1 is appended when I press e over either the standard linux 6.11.7-arch1-1 or zen kernel and view.

Perhaps this is the unfortunate truth: https://bbs.archlinux.org/viewtopic.php?id=300397

My system will randomly lock up, I lose USB I/O (mouse/keyboard) and have to hard reset. Noueveau comes up on the journalctl as a potential culprit. I had the same problem before with Linux Mint Wilma, when I ran their driver utility it seemed to handle my card and the issue stopped. However I think Cinnamon is still mostly X11 which is why I thought it was the fix.

Iā€™m not sure where you are at? As i said before when adding kernel parameters using grub iā€™ve never run the dracut-rebuild command not to say thereā€™s any problem with doing that or that itā€™s causing any issue. I think you should open a new topic and specifically spell out what the issue is and go from there. Please provide the hardware info using the proper command. You can post the url in the new topic from inxi -Faz | eos-sendlog

It is much easier to try to help when starting from scratch and going through one step at a time rather than piggy backing off of another users topic/issue when they they arenā€™t even using grub and the hardware may be totally different. Just my 2 cents. :wink:

1 Like