Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
screen freezes after media-libs/mesa update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
andron
n00b
n00b


Joined: 07 Dec 2006
Posts: 7

PostPosted: Sat Sep 07, 2024 11:12 am    Post subject: screen freezes after media-libs/mesa update Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3462
Location: Canada

PostPosted: Sat Sep 07, 2024 5:47 pm    Post subject: Re: screen freezes after media-libs/mesa update Reply with quote

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
View user's profile Send private message
andron
n00b
n00b


Joined: 07 Dec 2006
Posts: 7

PostPosted: Sat Sep 07, 2024 11:57 pm    Post subject: Re: screen freezes after media-libs/mesa update Reply with quote

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
View user's profile Send private message
swanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 149
Location: Edinburgh, Scotland

PostPosted: Wed Sep 11, 2024 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
andron
n00b
n00b


Joined: 07 Dec 2006
Posts: 7

PostPosted: Sat Jan 11, 2025 10:18 am    Post subject: Reply with quote

I installed media-libs/mesa-24.3.2, but the problem persists anyway.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1499
Location: Earth

PostPosted: Sat Jan 11, 2025 11:31 pm    Post subject: Reply with quote

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.

8)
_________________
" 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
View user's profile Send private message
andron
n00b
n00b


Joined: 07 Dec 2006
Posts: 7

PostPosted: Sun Jan 12, 2025 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1499
Location: Earth

PostPosted: Sun Jan 12, 2025 2:04 pm    Post subject: Reply with quote

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.

8)
_________________
" 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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