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

Upgrade to core22 + new upstream version #5

Merged
merged 1 commit into from
Apr 23, 2023

Conversation

jssotomdz
Copy link

I ran the tests suggested in #2 and all of those work.
I see there's a convention or rule to avoid layouts, I've always solved the dri issues with layouts, please lmk if this is wrong/there is a better way to do this.

I see there are some changes pending to be made by #2 and I tried integrating them but Alacritty won't launch:

[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a 
thread 'main' panicked at 'failed to dispatch wayland event queue: Os { code: 71, kind: Uncategorized, message: "Protocol error" }', alacritty/src/event.rs:1438:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Segmentation fault (core dumped)

@merlijn-sebrechts
Copy link
Member

@jssotomdz thanks a lot for looking into this!

When I build this PR and run it, I get the following error:

$ alacritty
cp: cannot stat '/snap/alacritty/x1/usr/share/mime': No such file or directory
Directory '/home/reservation/snap/alacritty/x1/.local/share/mime/packages' does not exist!
ERROR: update-mime-database /home/reservation/snap/alacritty/x1/.local/share/mime exited abnormally with status 1
libEGL warning: MESA-LOADER: failed to open iris: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libedit.so.2) (search paths /snap/alacritty/x1/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libedit.so.2) (search paths /snap/alacritty/x1/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open iris: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libedit.so.2) (search paths /snap/alacritty/x1/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libedit.so.2) (search paths /snap/alacritty/x1/usr/lib/x86_64-linux-gnu/dri, suffix _dri)

Error: Error creating GL context; eglInitialize failed

This is on a laptop with 22.04 and Intel integrated graphics. What did you use to test this?

Copy link
Member

@merlijn-sebrechts merlijn-sebrechts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, it appears I was compiling the wrong code. This PR works indeed! Massive thank you for your help!

@merlijn-sebrechts merlijn-sebrechts merged commit 1f47874 into snapcrafters:master Apr 23, 2023
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

Successfully merging this pull request may close these issues.

2 participants