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

Changing screen orientation crashes desktop with labwc #314

Open
jatofg opened this issue Nov 2, 2024 · 5 comments
Open

Changing screen orientation crashes desktop with labwc #314

jatofg opened this issue Nov 2, 2024 · 5 comments

Comments

@jatofg
Copy link

jatofg commented Nov 2, 2024

After updating my Raspberry Pi 3B+ with Rasberry Pi OS bookworm 32-bit and enabling the new labwc compositor, attempting to invert the screen orientation crashes the desktop and sends me to the login screen. The desktop subsequently always crashes on startup. I'm using the official Raspberry Pi 7" touchscreen display.

When I try to invert the screen orientation and click Apply in the Screen Configuration tool, a new file .config/kanshi/config is created with the following content (and the crash happens instantly):

profile {
        output DSI-1 mode [email protected] position 0,0 transform 180
}

When I delete this file, I can log in again, but the screen orientation is not rotated, of course.

I'm attaching the .xsession-errors, an .xsession-errors without the rotation for comparison, and the /boot/firmware/config.txt. If you need any other logs or files to investigate the issue, I'll be happy to provide them.

config.txt
xession-errors_withoutRotation.txt
xsession-errors.txt

@cillian64
Copy link

Thanks for the report, I think this is caused by a pixman issue we're aware of and working on. Please could you try the following and see if it resolves the issue?

sudo apt install libpixman-1-0=0.42.2-1 libpixman-1-dev=0.42.2-1

@jatofg
Copy link
Author

jatofg commented Nov 5, 2024

Yes, that resolves it

@Consolatis
Copy link

@cillian64 Is it fixed upstream and should labwc depend on a later version of pixman?

@cillian64
Copy link

@cillian64 Is it fixed upstream and should labwc depend on a later version of pixman?

This is actually a bug introduced in our downstream pixman package (which adds some extra ARM optimisations).

@Consolatis
Copy link

This is actually a bug introduced in our downstream pixman package (which adds some extra ARM optimisations).

Got it, thanks.

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

3 participants