Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNOME desktop freezing randomly
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pankaj13
n00b
n00b


Joined: 05 Sep 2019
Posts: 28

PostPosted: Sun Dec 15, 2024 2:00 am    Post subject: GNOME desktop freezing randomly Reply with quote

This is not a Gentoo linux problem but when I used Gentoo linux few years back, I found that the members responding in this forum are very knowledgable about linux OS and helped me troubleshoot some really complicated OS related problems.

I'm running Ubuntu with GNOME with following software and hardware configurations:

Code:

$lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:    24.04
Codename:   noble

BIOS
American Megatrends Inc.
BIOS version
6203
BIOS date
July 27, 2023
CPU
16x AMD Ryzen 7 1800X Eight-Core Processor


Code:

$sudo dmidecode -t 2
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
    Manufacturer: ASUSTeK COMPUTER INC.
    Product Name: PRIME X370-PRO
    Version: Rev X.0x
    Serial Number: 810566617029619
    Asset Tag: Default string
    Features:
        Board is a hosting board
        Board is replaceable
    Location In Chassis: Default string
    Chassis Handle: 0x0003
    Type: Motherboard
    Contained Object Handles: 0


Graphics card: NVIDIA GP104 [GeForce GTX 1080]

Code:

$gnome-shell --version
GNOME Shell 46.0


About my problem: The GNOME desktop freezes randomly which also renders mouse and keyboard inoperative, so I cannot ssh into the box or use CTRL+ALT+F3 (or any other terminal) and my only choice is to hard reset for a system reboot. I've ran fsck on the disk and also ran memtest86+ v7.0 (for 18+ hours for 12 passes) and found no errors in either tests. I recently installed Cockpit to troubleshoot this problem and the last time I had to reset the machines was at 4:29PM and here are the logs that I see in cockpit around that time frame. Please let me know if you see anything abnormal or possible root cause of this desktop freezing:

https://pastebin.com/WkJ3p6cF

Please see if you spot anything unusal or point me in the right direction to help troubleshoot this annoying problem!
Thanks.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22819

PostPosted: Sun Dec 15, 2024 3:10 am    Post subject: Reply with quote

I see you have an nVidia card. Are you using the nVidia proprietary driver? If yes, does the problem cease if you avoid using the proprietary driver and instead use the Nouveau driver?
Back to top
View user's profile Send private message
pankaj13
n00b
n00b


Joined: 05 Sep 2019
Posts: 28

PostPosted: Sun Dec 15, 2024 3:47 am    Post subject: Reply with quote

Thanks @Hu

Yes, I'm using Nvidia propritary firmware.

Code:
 
$ubuntu-drivers devices
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
== /sys/devices/pci0000:00/0000:00:03.1/0000:09:00.0 ==
modalias : pci:v000010DEd00001B80sv00001043sd0000859Bbc03sc00i00
vendor   : NVIDIA Corporation
model    : GP104 [GeForce GTX 1080]
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-535 - distro non-free
driver   : nvidia-driver-550 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin


Currenlty the one installed on this machine is 550 from the above list and I'm switching over to xserver-xorg-video-nouveau. I'll post an update in next few days.
Back to top
View user's profile Send private message
pankaj13
n00b
n00b


Joined: 05 Sep 2019
Posts: 28

PostPosted: Sun Dec 15, 2024 3:57 am    Post subject: Reply with quote

Well I did not have to wait too long!

With xserver-xorg-video-nouveau, the reboot did not activate one of the monitors and tried reboot few times but same result.
For a chance, I've moved from 550 to 470 drivers to see the results are any different. It is still proprietary but both monitors are working with the 470 driver.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum