FS#76093 - Latest NVIDIA driver 515.76-3 causes black screen when starting X

Attached to Project: Arch Linux
Opened by Simon Brännström (Sensu) - Sunday, 02 October 2022, 15:03 GMT
Last edited by Toolybird (Toolybird) - Monday, 03 October 2022, 03:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After updating all packages on Arch, I notice I get a black screen when starting X using the 'startx ~/' command.

I completed the troubleshooting provided in the arch wiki, but it doesn't resolve the issue after performing said steps and rebooting the system:
https://wiki.archlinux.org/title/NVIDIA/Troubleshooting#Blackscreen_at_X_startup_/_Machine_poweroff_at_X_shutdown

I also tried deleting the file "/etc/X11/xorg.conf" and generating a new one using the 'nvidia-xconfig' command, which did nothing at all.

GPU: Nvidia RTX 3060 , single card and no integrated graphics.

I use a single monitor connected with HDMI.

Issue can be mitigated by using the Nouveau driver instead.

Suggestion to maintainers @Sven-Hendrik Haase and @Felix Yan would be to downgrade the nvidia driver on the repo side to the previous version if possible.

Additional info:
* package version(s): nvidia 515.76-3, xorg-server 21.1.4-1, xorg-xinit 1.4.1-3

No upstream bug report found at time of writing

Steps to reproduce:
Install nvidia 515.76-3, nvidia-utils
   xinitrc (0.7 KiB)
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 03 October 2022, 03:32 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75995 
Comment by Simon Brännström (Sensu) - Sunday, 02 October 2022, 15:06 GMT
Note: second line in bug report was accidentally misspelled. I use the command "startx ~/xinitrc" to start my X.
Comment by Doug Newgard (Scimmia) - Sunday, 02 October 2022, 15:24 GMT
Why are you trying to run twm and awesome? Why didn't you name the file .xinitrc instead of xinitrc and just use startx alone? What kernel? What's in the xorg log?
Comment by Simon Brännström (Sensu) - Sunday, 02 October 2022, 15:44 GMT
@Scimma twm is included by default in the xinitrc file at /etc/X11/xinit/xinitrc and I just left it in there, no particular reason for having it to be honest. Awesome happens to be the Window Manger I use. As for why the xinitrc file provided is not named ".xinitrc" is something I don't have an answer for.

I use both the linux 5.19.12.arch1-1 and linux-lts 5.15.71-1 kernels. No difference noticed on either kernel.

I made sure to provide the Xorg logs in this comment. Both were last updated today after starting X with noveau instead according to output from running "ls -l" at /var/log. I have no idea why I have 2 log files though.
Comment by Doug Newgard (Scimmia) - Sunday, 02 October 2022, 15:58 GMT
Both of those logs are with the -lts kernel, so we'd be talking about nvidia-lts 1:515.76-3, correct? The latest log is using nouveau, so it doesn't show much, the .old log appears to be truncated, is that really all there is?

For TWM and Awesome, you can't run 2 WMs at the same time.
Comment by Stefan Kain (stkain) - Sunday, 02 October 2022, 16:45 GMT
Hello, this is most probably the same issue as #75995.
There is a workaround described in the thread at the end.
Bye,
Stefan
Comment by Simon Brännström (Sensu) - Sunday, 02 October 2022, 17:18 GMT
Thanks for the information @Stefan. I will request closure of this issue and watch for updates in #75995.

Loading...