You are not logged in.
Pages: 1
Hi all --
I've been running Archlinux for about two months, and finally decided to try to get the proprietary nvidia drivers set up because I wanted to start playing games.
Problem is, I can't get it to work. I realize this is common, but I'm going to go into explicit detail over what I've tried, and I've read the wiki, so please read the whole post before commenting. Thanks. If there are any other details that are needed, just let me know and I'll do my best to provide them as soon as possible.
Originally, the nvidia drivers were working following Denshi's Optimus tutorial (https://wiki.denshi.org/hypha/software/nvidia) even though I run a desktop -- this is because I couldn't get it working by just installing the driver through pacman. When I updated to the previous version (515.76) my computer would just boot to a black screen, and I couldn't even switch to tty, though I could blindly login and reboot. The display manager wasn't working, because I couldn't blindly login and reboot through it. Because of this I had to do a new install (though I could have probably just gone in and switched it to nouveau. Live and learn, I guess.) and didn't reinstall the nvidia drivers.
When the new version came out as of Oct 12th (520.56), I tried installing it again, and this time I found that I could access TTY, login, and use the full tty system, but running startx immediately caused my graphics card to rev up, and I couldn't do anything, even blindly login or reboot.
Unfortunately, I don't have the /var/log/Xorg.0.log anymore, as I removed all the configuration files and am running nouveau just so that I can get work done on my computer. I can say that
For background, what I am currently running:
- Not using a display manager
- Using i3 as a windows manager with very few customizations other than light config mods such as a desktop background and compy
- Have a "NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)" graphics card (grep'd lspci)
What I have done to try to fix it (I have done all of these at once, and various combinations at other times):
1. I have tried all permutations of section 11 on the NVIDIA troubleshooting page (Blackscreen at X startup / Machine poweroff at X shutdown)
2. I looked at /modprobe.d/nvidia.conf, and it doesn't exist. Trying to add that in and manually disable nouveau causes my machine to load to a black screen where I can blind login, and causes my graphics card to go nuts as soon as I turn it on rather than after using startx
3. Installing old versions of nvidia drivers from the archive -- cause the same black screen issue on startx
4. Modifying xorg.conf in /etc/X11 both through nvidia-xconfig (adding in some stuff. See attached file no. 1 in pastebin)
5. Modifying .xinitrc to directly try to modeset nvidia
I'm not really sure if I'm completely missing something obvious at this point. Obviously, I tried following the instructions on the wiki for installation to the letter, and that didn't work either. I tried installing 'nvidia' and 'nvidia-utils' and when that didn't work I thought maybe I needed to install 'nvidia-open' and 'nvidia-utils-open' (after uninstalling the old ones, of course) and I got the exact same issue.
At certain times, I also got the 'screen not found' error, but adding in the PCI:1:0:0 line fixed it.
I do not have another graphics card or an integrated one on this system. At least, looking through all devices hooked into the system didn't show me one.
Thank you for any help,
Hiroro
___________
FILES:
File 1, xorg.conf -- https://pastebin.com/CQdDvfnv
Last edited by Hiroro (2022-10-13 21:32:01)
Offline
If you are running an Intel CPU then look at IBT note on the NVIDIA page, had a similar problem myself.
https://wiki.archlinux.org/title/NVIDIA#Installation
Offline
Post an Xorg log from a session without any configuration under /etc/X11. That is, move your Xorg .conf file somewhere else to see what happens as the base case.
What do you mean you tried modesetting nvidia in .xinitrc? What is the contents of .xinitrc? How are you starting X?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1