FS#67064 - [chromium] Video playback causes GPU errors

Attached to Project: Arch Linux
Opened by Bastian Beranek (totsilence) - Sunday, 21 June 2020, 08:06 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 21 June 2020, 14:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After 65886 (i.e. using 83.0.4103.106-2) my X session freezes with GPU related errors in the systemd journal when playing back a video in chromium:


Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: 00100000 [] ch 8 [007f029000 Xorg[528]] subc 3 class 8397 mthd 15d0 data 000000ff
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: fb: trapped write at 0021200080 on channel 8 [7f029000 Xorg[528]] engine 00 [PGRAPH] client 0b [PROP] subclient 00 [RT0] reason 00000002 [PAGE_NOT_PRESENT]
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 0 - 00000040 [RT_FAULT] - Address 0021201040
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 03500010, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 1 - 00000040 [RT_FAULT] - Address 0021201080
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 1 - e0c: 00000000, e18: 00000000, e1c: 03500020, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 2 - 00000040 [RT_FAULT] - Address 00212010c0
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 2 - e0c: 00000000, e18: 00000000, e1c: 03500030, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 3 - 00000040 [RT_FAULT] - Address 0021202040
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 3 - e0c: 00000000, e18: 00000000, e1c: 03600010, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 4 - 00000040 [RT_FAULT] - Address 0021202080
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 4 - e0c: 00000000, e18: 00000000, e1c: 03600020, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 5 - 00000040 [RT_FAULT] - Address 00212020c0
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 5 - e0c: 00000000, e18: 00000000, e1c: 03600030, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 6 - 00000040 [RT_FAULT] - Address 0021200000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 6 - e0c: 00000000, e18: 00000000, e1c: 03400000, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 7 - 00000040 [RT_FAULT] - Address 0021200040
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 7 - e0c: 00000000, e18: 00000000, e1c: 03400010, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 8 - 00000040 [RT_FAULT] - Address 0021200080
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 8 - e0c: 00000000, e18: 00000000, e1c: 03400020, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 9 - 00000040 [RT_FAULT] - Address 0021201000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: TRAP_PROP - TP 9 - e0c: 00000000, e18: 00000000, e1c: 03500000, e20: 00001100, e24: 00030000
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: 00300000 [] ch 8 [007f029000 Xorg[528]] subc 3 class 8397 mthd 15d0 data 000000ff
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: fb: trapped write at 002122fec0 on channel 8 [7f029000 Xorg[528]] engine 00 [PGRAPH] client 0b [PROP] subclient 00 [RT0] reason 00000002 [PAGE_NOT_PRESENT]
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
Jun 21 09:19:11 bastian-desktop kernel: nouveau 0000:04:00.0: gr: 00100000 [] ch 8 [007f029000 Xorg[528]] subc 3 class 8397 mthd 15d0 data 000000ff
Jun 21 09:19:28 bastian-desktop kernel: nouveau 0000:04:00.0: fifo: channel 12 [Xorg[528]] unload timeout
Jun 21 09:19:30 bastian-desktop kernel: nouveau 0000:04:00.0: fifo: channel 12 [Xorg[528]] unload timeout
Jun 21 09:19:50 bastian-desktop kernel: nouveau 0000:04:00.0: Xorg[528]: failed to idle channel 10 [Xorg[528]]

I am not using any non-vanilla flags to start chromium. This is with modesetting/glamor in X, using a NV50 GPU (nvidia geforce GTX 285). The error seems to be coming from the nouveau DRM driver in the kernel - which IIRC has shown similar crash reports in the past, when multithreaded drawing was used.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 21 June 2020, 14:29 GMT
Reason for closing:  Won't fix
Additional comments about closing:  nouveau not playing nice with vaapi; not an issue as long as the gpu blacklist is enabled.
Comment by Evangelos Foutras (foutrelis) - Sunday, 21 June 2020, 10:54 GMT
Any chance you have this flag enabled? chrome://flags/#ignore-gpu-blacklist

Also what's the "Command Line" shown in chrome://version ?
Comment by Bastian Beranek (totsilence) - Sunday, 21 June 2020, 11:35 GMT
Yes indeed, the ignore-gpu-blacklist was enabled! I must have set that when doing some previous experiment with vaapi. When disabling the ignore-gpu-blacklist flag everything works as it should. The info reported in the version tab is:

Chromium 83.0.4103.106 (Official Build) Arch Linux (64-bit)
Revision ce7134bb3d95141cd18f1e65772a4247f282d950-refs/branch-heads/4103@{#694}
OS Linux
JavaScript V8 8.3.110.13
Flash 32.0.0.387 /usr/lib/PepperFlash/libpepflashplayer.so
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
Command Line /usr/lib/chromium/chromium --ppapi-flash-version=32.0.0.387 --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --flag-switches-begin --disable-features=TabHoverCards --flag-switches-end --disable-webrtc-apm-in-audio-service
Executable Path /usr/lib/chromium/chromium
Profile Path /home/beischer/.config/chromium/Default

But I guess the issue can be closed since I enabled a feature that doesn't work with my driver/GPU.

Loading...