getsolus / packages

Solus Package Monorepo & Issue Tracker
65 stars 85 forks source link

Can't play .mp4 files segfault in amd gpu driver #4203

Open majunia28 opened 3 weeks ago

majunia28 commented 3 weeks ago

Please confirm there isn't an existing open bug report

Summary

Hi:

I'm using Solus on my old HP Pavillion laptop for sometime (4 years). I did a fresh install of 4.6 last week. Everything looks good and perfomance was as expected BUT streamlink stop working.

I checked streamlink & vlc packages and everything looks ok. Then I tried to play .mp4 files with VLC and I get this error

VLC_error

As suggested, I did a dmesg

report.txt

I get several errors like this:

[ 536.519325] [drm:amdgpu_debugfs_mes_event_log_init [amdgpu]] ERROR msg/fb buffer ff00942000-ff00944000 out of 256MB segment! [ 536.630627] firefox:cs0[4743]: segfault at 0 ip 000055d656caed9f sp 00007f06b97ffa00 error 6 in firefox[8cd9f,55d656c3f000+9a000] likely on CPU 1 (core 1, socket 0)

[ 536.519325] [drm:amdgpu_debugfs_mes_event_log_init [amdgpu]] ERROR msg/fb buffer ff00942000-ff00944000 out of 256MB segment! [ 536.630627] firefox:cs0[4743]: segfault at 0 ip 000055d656caed9f sp 00007f06b97ffa00 error 6 in firefox[8cd9f,55d656c3f000+9a000] likely on CPU 1 (core 1, socket 0)

[ 536.519325] [drm:amdgpu_debugfs_mes_event_log_init [amdgpu]] ERROR msg/fb buffer ff00942000-ff00944000 out of 256MB segment! [ 536.630627] firefox:cs0[4743]: segfault at 0 ip 000055d656caed9f sp 00007f06b97ffa00 error 6 in firefox[8cd9f,55d656c3f000+9a000] likely on CPU 1 (core 1, socket 0)

I dunno why but other types of media like .webm CAN be played with Celulloid & VLC

Any help?

Steps to reproduce

  1. Try using VLC or Streamlink command line

    Example: streamlink twitch.tv/idom_ny best

Expected result

Play .mp4 or Streamlink video

Actual result

VLC crashing

VLC_error

Environment

Repo

Shannon (stable)

Desktop Environment

Budgie

System details

Fastfetchpng

inxi -b

inxi.txt

Other comments

No response

ermo commented 3 weeks ago

This is a known upstream amdgpu kernel driver bug. Work to fix it is ongoing.

It is tracked here: https://gitlab.freedesktop.org/drm/amd/-/issues/3599

Your best bet is to find a way to turn off video acceleration until the upstream bug has been resolved and Solus has integrated the kernel with the fix.

@ReillyBrogan Pinging you so you're kept in the loop.

ermo commented 1 week ago

Looks like some people have had success with the patch from this reply in the thread.

Someone also saw sucess by using specific amdgpu kernel module settings.

ReillyBrogan commented 1 week ago

I'll keep checking in on that patch, but the comments on it from the patchwork sound like it's the wrong solution and they'll need to rework it. For now yes please use software rendering instead of hardware.