You are not logged in.
Hello,
It seems like my Xorg freezes after some graphics easy load, e.g. YouTube, although sometimes it freezes when I am transitioning between workspaces/windows (without browsing the Internet).
Things that I have done/worth mentioning:
Removed the xf86-video-intel package.
Downgraded kernel to 5.9 (it reduced the freezing frequency but didn't solve the problem).
Switched my kernel to 5.4.94-1-lts (again - it reduced the freezing frequency but didn't solve the problem)
I removed the xf86-video-nouveau package but it loaded it anyway. I blacklisted it on /etc/modprobe.d/blacklist_nouveau.conf but then I couldn't load any other graphic module so I re-installed nouveau and removed the blacklist restriction.
I suspected the network as I had some disconnections (I might still have, I am not sure), so I gave precedence to ipv4 as a post in this forum suggested:
cat /etc/gai.conf | grep '100'
precedence ::ffff:0:0/96 100
My system now:
I followed the instructions in the next link:
https://nouveau.freedesktop.org/TroubleShooting.html
and created /etc/X11/20-nouveau.conf which has:
Section "Device"
Identifier "n"
Driver "nouveau"
EndSection
wm - i3
compositor - picom
I have an empty directory /etc/X11/xorg.conf.d and no /etc/X11/xorg.conf file
Running `pacman -Q | grep -Ei 'xf86|video' ` returns:
libxxf86vm 1.1.4-4
xf86-input-libinput 0.30.0-1
xf86-video-nouveau 1.0.17-1
Running inxi -Gx returns:
Graphics: Device-1: NVIDIA GF119M [NVS 4200M] vendor: Dell driver: nouveau v: kernel bus ID: 01:00.0
Device-2: Sunplus Innovation Laptop_Integrated_Webcam_FHD type: USB driver: uvcvideo bus ID: 1-1.5:4
Display: server: X.Org 1.20.10 driver: loaded: nouveau unloaded: modesetting resolution: 1360x768~60Hz
OpenGL: renderer: NVD9 v: 4.3 Mesa 20.3.4 direct render: Yes
uname -r -> 5.4.94-1-lts
I am adding the output of `journalctl -b -<freezed number>`, the last 200 lines as I suspect it might be there:
http://ix.io/2OpA
And another one that happened during writing this post:
http://ix.io/2OpB
If 200 lines are not enough, just tell me and I will attach the full log.
I am attaching a /etc/X11/Xorg log from a few days ago, although I tried many things since that run so I am not sure how helpful it would be:
http://ix.io/2OpC
If there is any other log/info I can provide, please tell me and I will provide it.
Thanks with upfront for any help.
Edit: I didn't really described the problem:
Xorg freezes and I can still hear the audio. Laptop doesn't respond to keyboard nor mouse (it is just stuck).
Only thing I can do is pressing the power button.
Last edited by omersch381 (2021-02-06 19:01:11)
Offline
Removed the xf86-video-intel package.
You don't seem to have an IGP anyway?
The xorg log shows the modesetting driver and you're properly shutting down the system w/ the power key, so there's no kernel halt.
=> Did you try to just switch to a different VT (ctrl+alt+f2) when this happens? If this works, what if you just kill picom?
Have you considered using the 390xx driver (available in AUR)?
Offline
You don't seem to have an IGP anyway?
I am not sure how can I check it, can you tell me how?
The xorg log shows the modesetting driver and you're properly shutting down the system w/ the power key, so there's no kernel halt.
=> Did you try to just switch to a different VT (ctrl+alt+f2) when this happens? If this works, what if you just kill picom?
I believe that the Xorg log is from before I created the /etc/X11/20-nouveau.conf, but anyway I could see in the `inxi -Gx` that right now nouveau is loaded (if it matters).
I did try to switch to a different VT, it didn't work for me (it doesn't respond to any keyboard press).
If picom is the problem I will of course uninstall picom.
Have you considered using the 390xx driver (available in AUR)?
I didn't try that, I will try installing it and update the post again.
Just a small question - what xf86-video-<package> should be with that? Should I install nvidia and nvidia-utils with it? Should I remove or install other packages?
I want to be sure I am doing it properly.
Thanks for you respond.
Offline
I am not sure how can I check it, can you tell me how?
lspci
I could see in the `inxi -Gx` that
inxi is not a relevant soruce here.
"lspci -k" will tell you about the available and loaded kernel modules (were noveau is likely in use) and the xorg log tells you about the X11 driver (where the only provided log shows you're using the modesetting driver because xf86-video-nouveau wasn't found)
If picom is the problem I will of course uninstall picom.
Iffff it's the problem, you may first check which of its features causes this.
what xf86-video-<package> should be with that?
None.
The kernel module is in https://aur.archlinux.org/packages/nvidia-390xx-dkms/ and the (required) X11 driver in https://aur.archlinux.org/packages/nvidia-390xx-utils/
Should I install nvidia and nvidia-utils with it?
I don't think your GPU is supported by the 460xx drivers.
Offline
lspci
Here is the output of lspci: http://ix.io/2Oqq
"lspci -k" will tell you about the available and loaded kernel modules (were noveau is likely in use)
Here is the output of lspci -k: http://ix.io/2Oqr
The kernel module is in https://aur.archlinux.org/packages/nvidia-390xx-dkms/ and the (required) X11 driver in https://aur.archlinux.org/packages/nvidia-390xx-utils/
Thank you for providing me the specific ones.
However, after I installed nvidia-390xx-dkms and nvidia-390xx-utils, I couldn't `startx`.
Here is the Xorg log: http://ix.io/2OqF
If it helps, during the installation I saw the next message:
==> dkms install --no-depmod -m nvidia -v 390.141 -k 5.10.13-arch1-1
I am using now linux-lts 5.4.94, but I could not remove the linux package as "removing linux breaks dependency 'linux>=3.2' required by b43-firmware".
Offline
You should see a similar message for the LTS kernel, if you didn't that would mean you need to install linux-lts-headers so that dkms can compile the module for LTS as well.
Offline
You should see a similar message for the LTS kernel, if you didn't that would mean you need to install linux-lts-headers so that dkms can compile the module for LTS as well.
As V1del wrote, it did work (I could startx with nvidia-390xx-dkms and nvidia-390xx-utils) after I installed linux-lts-headers.
Thank you V1del and seth, installing nvidia-390-dkms is an option I didn't try before.
So that was an update, I will post here the results (if Xorg will freeze again or if it is solved) in some time, meanwhile I will try to test it.
Offline
I didn't have a single crash since I installed nvidia-390-dkms (more than 24 hours), so I guess that was it.
Works well also with linux 5.10.13.
Thanks a lot!!!
Changing the title to [SOLVED].
Offline