Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when 2x scale on wayfire #111

Open
edgerunning opened this issue Oct 12, 2024 · 2 comments
Open

Crashes when 2x scale on wayfire #111

edgerunning opened this issue Oct 12, 2024 · 2 comments

Comments

@edgerunning
Copy link

I am using the default desktop environment of Raspberry Pi OS Bookworm. I set the scale factor with configuration like

[output:HDMI-A-1]
mode = 3840x2160@60000
position = 0,0
transform = normal
scale = 2.0

in the ~/.config/wayfire.ini file
with this setup, vlc can't play videos and just crashes.

@jc-kynesim
Copy link

Yup - reproduced on both wayfire and labwc. This appears to be a wayland/wl-roots/... bug. The black surface that is used for the background is a single-pixel-buffer (special wayland single colour buffer) and wayland complains that 1x1 pixels isn't a multiple of 2! I'll see if I can trace this a bit deeper and report it back to the wayland lists.
You can somwhat work around this by adding --wl-dmabuf-chequerboard to the VLC command-line which changes the background to a chequerboard for testing. You then get video. It is the wrong size - it is twice the expected size and spills over the confines of the VLC window. This is a VLC issue and I'll see if I can track it down.

@jc-kynesim
Copy link

A better workaround would be to use -V opengles2 which forces the EGL render path that does get this right and doesn't use single pixel buffers but is potentially a little less efficient than the wl-dmabuf path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants