Bug 2042295 - random freezes in gnome wayland
Summary: random freezes in gnome wayland
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 35
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-19 07:58 UTC by Yonatan
Modified: 2022-04-28 13:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)
logs for the boot where this happened (252.16 KB, application/zip)
2022-01-19 07:58 UTC, Yonatan
no flags Details

Description Yonatan 2022-01-19 07:58:43 UTC
Created attachment 1851804 [details]
logs for the boot where this happened

Description of problem:

I have a problem that has been present for more than 6 years and it also affects the sections in Xorg, although in a different way (striped screen in Xorg).

I would like to help as much as possible to investigate these screen/system freezes to see if there is a way to recover the system without resorting to a forced shutdown.

I’ve always liked using my old pc as a fedora test mini lab, I’d really love to help improve that, maybe there’s more collateral benefit to this.


Version-Release number of selected component (if applicable):


How reproducible: The gonome wayland section suddenly freezes in cases where I use the system panels, many programs open at the same time, playing videos, opening and closing games in full screen, among other things.



Actual results:

The graphics: The graphics are frozen (as if it were a screenshot), the mouse cursor stops moving.
The audio: The audio reproduction does not seem to be affected by this, the music continues to play, the video also and even, and if a music ends, it advances to the next track.
The keyboard: The shortcuts no longer work, it is also not possible to change/open any section of the TTY terminal, but the keyboard lights still respond to “block mayus” or “block number”.
Processor: the light keeps blinking, it also blinks when pressing some keys like “block mayus” and “block number”.
Screen off or screen lock: When the minutes pass and the section activates the screen saver or turns off the screen, the displayed image is only black (what looked like a screenshot is now all black).



Additional info:
00:0d.0 VGA compatible controller [0300]: NVIDIA Corporation C61 [GeForce 7025 / nForce 630a] [10de:03d6] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: ASRock Incorporation Device [1849:03d6]
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22, NUMA node 0
	Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f9000000 (64-bit, non-prefetchable) [size=16M]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau

00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
	Flags: fast devsel, NUMA node 0


Other related reports:

https://nouveau.freedesktop.narkive.com/NoeonDJf/system-freeze-debian-testing-with-c61-geforce-7025-nforce-630a

https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1649566

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784305

https://www.spinics.net/lists/nouveau/msg00967.html

https://forums.linuxmint.com/viewtopic.php?p=1831489&sid=011bc8ee779ae760616a4d21e530f33a#p1831489

https://askubuntu.com/questions/904435/ubuntu-screen-keeps-freezing-randomly

Comment 1 Yonatan 2022-01-19 08:00:19 UTC
My main suspicion is those who say:

ene 17 12:35:15 fedora kernel: nouveau 0000:00:0d.0: gr: intr 00100000 [ERROR] nsource 00000002 [DATA_ERROR] nstatus 02000000 [BAD_ARGUMENT] ch 7 [00072000 vlc[18827]] subc 7 class 4497 mthd 0208 data 00000120

Apparently vlc media player was working at the moment.

Comment 2 Stjepan Gros 2022-04-28 12:34:02 UTC
I have same manifestations, but hard to say if the cause is the same. This bug report is the closes to what I'm experiencing for the last few Fedora releases. What I noticed is that MS Teams, MongoDB Compass and Android Messages are the applications that are almost certain to cause desktop session lockout. During the lockout I can ssh to host, i.e. everything else is working.

01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1200 Mobile] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device 2251
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 150
	Region 0: Memory at eb000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at d000 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau, nvidia_drm, nvidia

Comment 3 Yonatan 2022-04-28 12:48:44 UTC
I'm afraid that in the latest fedora updates the blocking problems have become more acute, and what is worse, the striped window that I only saw in Xorg sections, now I also see them in Wayland, it usually happens when playing supertux.


Unfortunately, there isn't much interest in improving nouveau drivers and private drivers stopped being compatible with my hardware years ago. 😔

Comment 4 Yonatan 2022-04-28 13:36:06 UTC
I have a particular case where I get a crash with striped screen in wayland, When I use mate's text editor (in the gnome wayland section) in a JavaScript library, I suspect that the crash is caused by some overflow or overload due to that all the JavaScript code is written on a single line.


Note You need to log in before you can comment on or make changes to this bug.