You are not logged in.
I installed nvidia with
pacman -S nvidia nvidia-utils nvidia-settings
Rebooted and got a black screen. I can log in blindly and type in commands what logs I should look for?
Offline
Did you follow the instructions on the NVIDIA wiki page?
Online
Here's the wiki page Scimmia mentioned: https://wiki.archlinux.org/title/NVIDIA
Are you using Wayland by any chance? I've only skimmed through some parts of the article and this is what caught my eye:
Note: If you are using Wayland you should not restart until after following #DRM kernel mode setting or you may end up with a black screen.
May I ask you (from newbie to newbie) why you chose the nvidia over the nouveau driver?
Last edited by archlynovice (2024-11-04 19:13:21)
Offline
Yes I followed wiki page. I dont use wayland but even if I set drm kernel mode setting I end up with a black screen.I want to install proprietary driver because of awful performance in games with nouveau, some of them crash with errors like "Can't find any gpu supporting vulkan".
Also I should try modprobe nvidia or rmmod I think I will get access to tty
Offline
What's your actual GPU? On some constellations it might be necessary to pass the
nvidia-drm.modeset=1 nvidia-drm.fbdev=0
parameter on the kernel cmdline.
If you can get to a tty, can you post the link you get from:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Last edited by V1del (2024-11-05 08:24:41)
Offline
When following the wiki page, did you follow *all* steps?
Notably the part that talks kms and hooks and stuff?
Online
My gpu is gtx 1060
Yes I followed everything up to automatic xorg configuration generation.
I will post journalctl result in couple hours. Cant access my pc right now
Offline
What's your actual GPU? On some constellations it might be necessary to pass the
nvidia-drm.modeset=1 nvidia-drm.fbdev=0
parameter on the kernel cmdline.
Yea I did added this to grub config but nothing changed
If you can get to a tty, can you post the link you get from:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Here is pastebin link: https://pastebin.com/qHxu8Ryb (I couldn't write commands like this because if I write it wrong I won't know about this)
Also I did tried to unload nvidia drivers (nvidia_uvm nvidia_drm nvidia_modeset nvidia) but I had no signal
Offline
Yea I did added this to grub config but nothing changed
That's not reflected by the posted journal.
Editing /etc/default/grub doesn't do anything, you'll still have to run grub-mkconfig to write the config to /boot/grub/grub.cfg, resp. edit that file directly.
Also please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Online
Yea I did added this to grub config but nothing changed
That's not reflected by the posted journal.
Editing /etc/default/grub doesn't do anything, you'll still have to run grub-mkconfig to write the config to /boot/grub/grub.cfg, resp. edit that file directly.
Also please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Tried to add it last time I tried to figure out how to fix it (ofc generated config). But it didn't make any difference.
I will post xorg log in couple minutes. I'd like to try edit grub but my screen have no signal so I dont know how. Maybe I can do it if I connect via ssh
Offline
Here is Xorg log: https://pastebin.com/arQX5M4C
Offline
[ 11.140] (==) Using config file: "/etc/X11/xorg.conf"
Remove that file, re-add the kernel parameters and post an updated Xorg log.
Online
[ 11.140] (==) Using config file: "/etc/X11/xorg.conf"
Remove that file, re-add the kernel parameters and post an updated Xorg log.
Here it is: https://pastebin.com/6gD0N1E8
Offline
You missed the 're-add the kernel parameters' part.
Online
You missed the 're-add the kernel parameters' part.
I added them and generated grub config
Offline
That's not reflected by the posted X11 log
[ 11.305] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=37c174e0-df7f-4ab1-9e20-bb897c7e119f rw rootflags=subvol=@ zswap.enabled=0 rootfstype=btrfs loglevel=3 quiet
…
[ 13.018] (EE) open /dev/dri/card0: No such file or directory
Also
[ 11.483] (II) LoadModule: "nouveau"
remove every xf86-video-* package.
Online
That's not reflected by the posted X11 log
[ 11.305] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=37c174e0-df7f-4ab1-9e20-bb897c7e119f rw rootflags=subvol=@ zswap.enabled=0 rootfstype=btrfs loglevel=3 quiet … [ 13.018] (EE) open /dev/dri/card0: No such file or directory
Strange, I got into my system with chroot, edited grub and generated it.I'll try to repeat it.
Offline
You likely forgot the mount the boot partition?
Also you probably don't have to chroot, see the 2nd link below and you can also edit the commandline at the bootloader (press "e")
Online
Got the same error. Had to reinstall arch apologize for long wait
Offline