question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Playing a beatmap with a video crashes on Wayland + AMD GPU

See original GitHub issue

Type

Crash to desktop

Bug description

Playing any map with a video causes a crash.

OS: Arch GNU/Linux WM: Hyprland (Wayland) GPU: AMD 6700XT CPU: AMD 5800X

Thoughts: the crash says

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[AVHWDeviceContext @ 0x7ff338a945c0] VDPAU device creation on X11 display :1 failed.
corrupted size vs. prev_size
[1]    87298 IOT instruction (core dumped)  osu-lazer

but I have an AMD GPU, meaning that it’s probably trying to open a non-existent Nvidia backend.

Version

2022.409.0-lazer

Logs

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
smoogipoocommented, Apr 14, 2022

See https://github.com/ppy/osu/issues/17345#issuecomment-1098132121. This is going to be up to you to resolve for now.

0reactions
ThatOneCalculatorcommented, Apr 14, 2022

Thank you! Editing line 7 of /usr/share/applications/osu-lazer.desktop to

Exec=env OSU_EXTERNAL_UPDATE_PROVIDER=1 LD_LIBRARY_PATH=/usr/lib/ffmpeg4.4:"$LD_LIBRARY_PATH" /usr/bin/osu-lazer

does the trick 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Archived] osu crashes my graphic drivers/PC · forum - ppy
It always crashes while playing a map. Sometimes my screens turn black for 2 or 3 seconds and then there is a amd...
Read more >
osu! sometimes crashes when trying to select a beatmap
Display server: Wayland. In game I use compatibility mode (DX9) since OpenGL is lagging. Doesn't always happen and osu! loading times are ...
Read more >
Wayland crashing on Ryzen 7 PRO 6850U with Radeon ...
Hi, my new Laptop crashes when I'm using Gnome on Wayland within minutes after booting. It seems to happen especially often right after ......
Read more >
Random pc freezes when playing games - Ask Fedora
Hi there! Up until about 3 weeks ago my fedora install was running quite smoothly. Recently, however, games will at random intervals ...
Read more >
RavenRidge AMDGPU VA-API video playback hard crash ...
Video playback from chromium-vaapi on XWayland caused AMDGPU hard crash. On X11 session, VA-API worked for --use-gl=desktop which takes the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found