View previous topic :: View next topic |
Author |
Message |
andron n00b
Joined: 07 Dec 2006 Posts: 8
|
Posted: Sat Sep 07, 2024 11:12 am Post subject: screen freezes after media-libs/mesa update |
|
|
After updating media-libs/mesa from version 24.0.9 to version 24.1.3 and above, the following problems appeared:
- the screen freezes after launching firefox
- the screen freezes when playing videos in telegram-desktop-bin
If media-libs/mesa is built without the "vaapi" USE flag, then the problems disappear.
What to do? Disable vaapi? |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3465 Location: Canada
|
Posted: Sat Sep 07, 2024 5:47 pm Post subject: Re: screen freezes after media-libs/mesa update |
|
|
andron wrote: | After updating media-libs/mesa from version 24.0.9 to version 24.1.3 and above, the following problems appeared:
- the screen freezes after launching firefox
- the screen freezes when playing videos in telegram-desktop-bin
If media-libs/mesa is built without the "vaapi" USE flag, then the problems disappear.
What to do? Disable vaapi? |
First question, what graphics card do you use ? |
|
Back to top |
|
|
andron n00b
Joined: 07 Dec 2006 Posts: 8
|
Posted: Sat Sep 07, 2024 11:57 pm Post subject: Re: screen freezes after media-libs/mesa update |
|
|
dmpogo wrote: | First question, what graphics card do you use ? |
Sapphire Radeon HD 7750 Ultimate 1GB
Quote: | # lspci
...
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
... |
|
|
Back to top |
|
|
swanson Tux's lil' helper
Joined: 04 Jun 2004 Posts: 149 Location: Edinburgh, Scotland
|
Posted: Wed Sep 11, 2024 2:13 pm Post subject: |
|
|
This was due to some library linking changes within mesa. The next release (and stable release) will have merge request targets/va: Build va driver into libgallium when building with dri which will fix the issue. Either add the merge request as a user patch under /etc/portage/patches or use 9999 in the meantime to keep VA-API happy. _________________ Alan. |
|
Back to top |
|
|
andron n00b
Joined: 07 Dec 2006 Posts: 8
|
Posted: Sat Jan 11, 2025 10:18 am Post subject: |
|
|
I installed media-libs/mesa-24.3.2, but the problem persists anyway. |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1499 Location: Earth
|
Posted: Sat Jan 11, 2025 11:31 pm Post subject: |
|
|
i use 24.3.3 with vaapi enabled to also get rid of llvm-18 - no problems so far.
please try by deleting /home/your_users_name/.cache/mesa_shader_cache_db
after restart it'll be re-created.
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
andron n00b
Joined: 07 Dec 2006 Posts: 8
|
Posted: Sun Jan 12, 2025 4:57 am Post subject: |
|
|
I installed media-libs/mesa-24.3.3 with the USE vaapi flag and deleted ~/.cache/mesa_shader_cache_db.
Then I started firefox, after which the screen turned dark. The system stopped responding to the mouse and keyboard. You can only connect via ssh. |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1499 Location: Earth
|
Posted: Sun Jan 12, 2025 2:04 pm Post subject: |
|
|
Quote: | Then I started firefox |
you restarted your device or just deleted the folder and restarted FF ?
what does vainfo say <<< if you execute it as User in terminal ?
Code: | Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.3.3 for AMD Radeon RX 590 Series (radeonsi, polaris10, LLVM 19.1.4, DRM 3.59, 6.12.9-gentoo-1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc |
please try by starting FF from terminal and show the output.
also try with a clean New User - if FF also is failing.
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
andron n00b
Joined: 07 Dec 2006 Posts: 8
|
Posted: Thu Jan 16, 2025 10:16 am Post subject: |
|
|
CooSee wrote: | you restarted your device or just deleted the folder and restarted FF ? |
I've tried both ways. In both cases screen freezes.
CooSee wrote: | what does vainfo say <<< if you execute it as User in terminal ? |
Code: | $ vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/va/drivers/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.2.1 for VERDE (radeonsi, , LLVM 18.1.8, DRM 2.50, 6.6.47-gentoo)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
|
CooSee wrote: | please try by starting FF from terminal and show the output. |
Firefox terminal output:
Code: | ATTENTION: default value of option mesa_glthread overridden by environment.
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/va/drivers/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_22
Failed to create /tmp for shader cache (Permission denied)---disabling.
libva info: va_openDriver() returns 0
Failed to create /tmp for shader cache (Permission denied)---disabling.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)" (t=11.5307) [GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)"
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)" (t=11.5307) |[C1][GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)" (t=11.5327) [GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)" (t=11.5307) |[C1][GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)" (t=11.5327) |[C2][GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)" (t=11.5927) [GFX1-]: Couldn't sanitize GL_RENDERER "VERDE (radeonsi, , LLVM 19.1.4, DRM 2.50, 6.6.67-gentoo)"
[Child 6422, MediaDecoderStateMachine #1] WARNING: Decoder=7fd94a383d00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /data/tmp/portage/www-client/firefox-128.6.0/work/firefox-128.6.0/dom/media/MediaDecoderStateMachine.cpp:372
[Child 6422, MediaDecoderStateMachine #1] WARNING: Decoder=7fd94a383d00 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006): file /data/tmp/portage/www-client/firefox-128.6.0/work/firefox-128.6.0/dom/media/MediaDecoderStateMachineBase.cpp:167
|
Kernel logs (dmesg) after launching firefox.
Code: | [ 2056.593295] radeon 0000:01:00.0: ring 5 stalled for more than 10080msec
[ 2056.593305] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2056.593328] radeon 0000:01:00.0: ring 3 stalled for more than 10080msec
[ 2056.593331] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2056.609325] radeon 0000:01:00.0: ring 0 stalled for more than 10479msec
[ 2056.609329] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2057.097299] radeon 0000:01:00.0: ring 3 stalled for more than 10584msec
[ 2057.097306] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2057.098275] radeon 0000:01:00.0: ring 5 stalled for more than 10585msec
[ 2057.098278] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2057.113334] radeon 0000:01:00.0: ring 0 stalled for more than 10983msec
[ 2057.113337] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2057.601313] radeon 0000:01:00.0: ring 5 stalled for more than 11088msec
[ 2057.601323] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2057.601346] radeon 0000:01:00.0: ring 3 stalled for more than 11088msec
[ 2057.601350] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2057.617337] radeon 0000:01:00.0: ring 0 stalled for more than 11487msec
[ 2057.617341] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2058.105321] radeon 0000:01:00.0: ring 5 stalled for more than 11592msec
[ 2058.105331] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2058.105346] radeon 0000:01:00.0: ring 3 stalled for more than 11592msec
[ 2058.105354] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2058.121351] radeon 0000:01:00.0: ring 0 stalled for more than 11991msec
[ 2058.121355] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2058.609329] radeon 0000:01:00.0: ring 5 stalled for more than 12096msec
[ 2058.609339] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2058.609363] radeon 0000:01:00.0: ring 3 stalled for more than 12096msec
[ 2058.609366] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2058.625360] radeon 0000:01:00.0: ring 0 stalled for more than 12495msec
[ 2058.625364] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2059.113338] radeon 0000:01:00.0: ring 5 stalled for more than 12600msec
[ 2059.113348] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2059.113372] radeon 0000:01:00.0: ring 3 stalled for more than 12600msec
[ 2059.113376] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2059.129371] radeon 0000:01:00.0: ring 0 stalled for more than 12999msec
[ 2059.129375] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2059.617346] radeon 0000:01:00.0: ring 5 stalled for more than 13104msec
[ 2059.617357] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2059.617382] radeon 0000:01:00.0: ring 3 stalled for more than 13104msec
[ 2059.617386] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2059.633340] radeon 0000:01:00.0: ring 0 stalled for more than 13503msec
[ 2059.633343] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2060.121356] radeon 0000:01:00.0: ring 5 stalled for more than 13608msec
[ 2060.121366] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2060.121390] radeon 0000:01:00.0: ring 3 stalled for more than 13608msec
[ 2060.121394] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2060.137388] radeon 0000:01:00.0: ring 0 stalled for more than 14007msec
[ 2060.137392] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2060.625365] radeon 0000:01:00.0: ring 5 stalled for more than 14112msec
[ 2060.625374] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2060.625399] radeon 0000:01:00.0: ring 3 stalled for more than 14112msec
[ 2060.625403] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2060.641397] radeon 0000:01:00.0: ring 0 stalled for more than 14511msec
[ 2060.641400] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2061.129372] radeon 0000:01:00.0: ring 5 stalled for more than 14616msec
[ 2061.129381] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000006da last fence id 0x00000000000006db on ring 5)
[ 2061.129406] radeon 0000:01:00.0: ring 3 stalled for more than 14616msec
[ 2061.129410] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000020077 last fence id 0x00000000000200e8 on ring 3)
[ 2061.145405] radeon 0000:01:00.0: ring 0 stalled for more than 15015msec
[ 2061.145409] radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000024499 last fence id 0x00000000000244ae on ring 0)
[ 2061.473399] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[ 2061.930324] radeon 0000:01:00.0: Saved 1412 dwords of commands on ring 0.
[ 2061.930400] radeon 0000:01:00.0: GPU softreset: 0x000003CC
[ 2061.930403] radeon 0000:01:00.0: GRBM_STATUS = 0xA0003028
[ 2061.930404] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x00000006
[ 2061.930405] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000006
[ 2061.930406] radeon 0000:01:00.0: SRBM_STATUS = 0x20024FC0
[ 2061.930462] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[ 2061.930464] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 2061.930465] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00010000
[ 2061.930466] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00005802
[ 2061.930467] radeon 0000:01:00.0: R_008680_CP_STAT = 0x800902E3
[ 2061.930469] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44CFC046
[ 2061.930470] radeon 0000:01:00.0: R_00D834_DMA_STATUS_REG = 0x44C83D57
[ 2061.930471] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00000000
[ 2061.930473] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
[ 2062.617076] radeon 0000:01:00.0: Wait for MC idle timedout !
[ 2062.617081] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x0000DDFF
[ 2062.617134] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00128500
[ 2062.618288] radeon 0000:01:00.0: GRBM_STATUS = 0x00003028
[ 2062.618290] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x00000006
[ 2062.618291] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000006
[ 2062.618292] radeon 0000:01:00.0: SRBM_STATUS = 0x200006C0
[ 2062.618348] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[ 2062.618349] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 2062.618350] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000
[ 2062.618352] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00000000
[ 2062.618353] radeon 0000:01:00.0: R_008680_CP_STAT = 0x00000000
[ 2062.618354] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 2062.618355] radeon 0000:01:00.0: R_00D834_DMA_STATUS_REG = 0x44C83D57
[ 2062.618481] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[ 2067.627447] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 2067.627455] [drm:atom_execute_table_locked] *ERROR* atombios stuck executing C933 (len 254, WS 0, PS 4) @ 0xC95D
[ 2067.627458] [drm:atom_execute_table_locked] *ERROR* atombios stuck executing C001 (len 90, WS 0, PS 8) @ 0xC046
[ 2067.632338] [drm] PCIE gen 3 link speeds already enabled
[ 2067.897547] radeon 0000:01:00.0: Wait for MC idle timedout !
[ 2068.031082] radeon 0000:01:00.0: Wait for MC idle timedout !
[ 2068.037587] [drm] PCIE GART of 2048M enabled (table at 0x00000000001D6000).
[ 2068.037681] radeon 0000:01:00.0: WB enabled
[ 2068.037684] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
[ 2068.037685] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04
[ 2068.037686] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08
[ 2068.037687] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
[ 2068.037688] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10
[ 2068.037893] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18
[ 2068.047996] radeon 0000:01:00.0: failed VCE resume (-22).
[ 2068.048368] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[ 2068.048371] debugfs: File 'radeon_ring_cp1' in directory '0' already present!
[ 2068.048372] debugfs: File 'radeon_ring_cp2' in directory '0' already present!
[ 2068.048373] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
[ 2068.048374] debugfs: File 'radeon_ring_dma2' in directory '0' already present!
[ 2068.332156] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[ 2068.332165] [drm:si_resume] *ERROR* si startup failed on resume
|
CooSee wrote: | also try with a clean New User - if FF also is failing. |
Created a new user. For a new user, firefox is working - the youtube video is playing. |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 948 Location: Romania
|
|
Back to top |
|
|
|
|
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
|
|