You are not logged in.

#26 2023-06-06 21:19:50

Holgerillo
Member
Registered: 2023-06-04
Posts: 16

Re: [SOLVED] xorg stopped not working - freeze after startx

seth wrote:

What happens if you try to play a video w/ mpv?

The same thing as when I type i3, nothing until I ctrl+c.

When I tried to use nouveau, I got the following error from sway:
00:00:00.213 [ERROR] [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list."

Here I found that this is really related to the version of my graphics card. Should I try with nouveau and different wm?

Offline

#27 2023-06-06 21:32:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,093

Re: [SOLVED] xorg stopped not working - freeze after startx

A gtx 660 Ti isn't ampere, that's Kepler which is normally probably the best supported architecture for nouveau, however well that is. so all of this sounds quite weird, potentially the graphics card dying.

Offline

#28 2023-06-06 21:40:50

seth
Member
Registered: 2012-09-03
Posts: 53,214

Re: [SOLVED] xorg stopped not working - freeze after startx

Should I try with nouveau and different wm?

Why are you trying sway to begin with (instead of i3/icewm, where we have reference points for the nvidia driver)?
And post Xorg log and system journal (to make sure you're not somehow running on the vesa or fbdev drivers)


Also try

mpv --hwdec=no --vo=x11 /path/to/video.mp4

Offline

#29 2023-06-07 13:40:22

Holgerillo
Member
Registered: 2023-06-04
Posts: 16

Re: [SOLVED] xorg stopped not working - freeze after startx

V1del wrote:

...so all of this sounds quite weird, potentially the graphics card dying.

I thought the same, but my graphics work perfectly fine if I boot up an ubuntu distribution via live stick

seth wrote:

Also try
mpv --hwdec=no --vo=x11 /path/to/video.mp4

I tried mpv --hwdec=no --vo=x11 /path/to/video.mp4, there is no difference to executing mpv video.mp4 without the extra arguments

seth wrote:

Why are you trying sway to begin with (instead of i3/icewm, where we have reference points for the nvidia driver)?

I thought sway would be the most natural to begin with but I now tested i3/icewm.
I followed the steps under "3.1 Keep NVIDIA driver installed" explained here on the wiki here
The resolution of the tty increases with nouveau drivers but otherwise I think there is no difference in the behavior.

Here would be the xorg log (again produced by startx -- -logverbose 9 -verbose 9).
The journalctl log.

Offline

#30 2023-06-07 14:07:03

seth
Member
Registered: 2012-09-03
Posts: 53,214

Re: [SOLVED] xorg stopped not working - freeze after startx

That journal suffers from

Jun 07 15:34:54 arch-desktop kernel: nouveau 0000:01:00.0: NVIDIA GK104 (0e4030a2)
Jun 07 15:34:54 arch-desktop kernel: nvidia: loading out-of-tree module taints kernel.
Jun 07 15:34:54 arch-desktop kernel: nvidia: module license 'NVIDIA' taints kernel.

Nouveau and nvidia being both installed.
If you want to try nouveau, remove all nvidia packages and rebuild the initramfs.

Also try the behavior w/ a fresh user account.

Offline

#31 2023-06-07 14:47:55

Holgerillo
Member
Registered: 2023-06-04
Posts: 16

Re: [SOLVED] xorg stopped not working - freeze after startx

I removed nvidia packages and rebuild initramfs but with my normal user account it still does not work.
However, adding a fresh user did help smile Starting xorg with the new account works as expected for icewm and i3.

I will have to go through my user configs again I guess. As soon as I found the reason I will post an update.
Thank you so much!

Offline

#32 2023-06-07 15:45:51

seth
Member
Registered: 2012-09-03
Posts: 53,214

Re: [SOLVED] xorg stopped not working - freeze after startx

With the wide impact, look at your shell rc's

Offline

#33 2023-06-07 21:02:06

Holgerillo
Member
Registered: 2023-06-04
Posts: 16

Re: [SOLVED] xorg stopped not working - freeze after startx

I found out that the reason was a wrong installation of a new font roll
I looked into my browser history and the last thing I tried was installing material-design icons. However, I copied a wrong directory to ~/.fonts.
Strange that there was no error anywhere to lead us in that direction.
But in any case, thank you again!

Last edited by Holgerillo (2023-06-07 21:02:31)

Offline

#34 2023-06-07 21:06:26

seth
Member
Registered: 2012-09-03
Posts: 53,214

Re: [SOLVED] xorg stopped not working - freeze after startx

20/20: strace would have told wink

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB