amdgpu: [gfxhub] page fault when switching a video to or from fullscreen

Bug #2037672 reported by Johon Doee
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
mesa (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

Switching a video to or from fullscreen freezes the screen for around 10 seconds. This happens with Totem as well as VLC so its not related to a specific app.

Additional observations:

- The issue seems to be connected to the video's bitrate. With low bitrate videos I cannot trigger the freeze. However, videos with high bandwidth trigger the freeze reliably.

Specs:
Ubuntu 23.10 up to date as of 28.09.2023
AMD Ryzen 7 PRO 6850U
Kernel 6.5.0-5-generic
Grub configured with: amdgpu.vm_update_mode=3

Syslog shows:

2023-09-28T20:02:29.803955+02:00 kernel: [27003.800898] amdgpu 0000:04:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:2 pasid:32771, for process Xwayland pid 2113 thread Xwayland:cs0 pid 2311)

2023-09-28T20:02:39.975854+02:00 kernel: [27013.972772] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, but soft recovered

Revision history for this message
Johon Doee (jodoee11) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2037672

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Johon Doee (jodoee11) wrote :

Cannot deliver additional logs at the moment, though I think they might not be necessary. Setting the bug to confirmed as stated by the Kernel Bot.

Changed in linux (Ubuntu):
status: Incomplete → New
status: New → Confirmed
Revision history for this message
Mario Limonciello (superm1) wrote :

In this case the kernel is the "messenger" for the page fault. This is more likely to be a mesa or application issue than a kernel issue.

Can you please raise a ticket to the upstream mesa bug tracker?

https://gitlab.freedesktop.org/mesa/mesa/

Johon Doee (jodoee11)
Changed in mesa (Ubuntu):
status: New → Confirmed
Revision history for this message
Mario Limonciello (superm1) wrote :

Also - can you still repro with mesa 23.2.1-1ubuntu2? This just landed right after you reported this issue.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Changed in mesa (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Johon Doee (jodoee11) wrote (last edit ):

Yes, it still happens with mesa 23.2.1-1ubuntu2. Additionally, it is not only with video fullscreen. Same happens if I start synaptic for example. Sometimes it hangs for 10 seconds too. Seems to affect multiple applications and is triggered by multiple ways.

https://gitlab.freedesktop.org/mesa/mesa/-/issues/9905

Changed in mesa (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.