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

Error runing on Ubuntu 18.04 #55

Closed
yeswap opened this issue Oct 19, 2021 · 10 comments
Closed

Error runing on Ubuntu 18.04 #55

yeswap opened this issue Oct 19, 2021 · 10 comments

Comments

@yeswap
Copy link

yeswap commented Oct 19, 2021

How to run uad on Linux? The README.md doesn't actually say. I tried making it executable and running like a shell script but got the following errors. ADB is installed and working.

~/Downloads$ ./uad_gui-linux
2021-10-18 20:27:17 WARN [/home/runner/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/wgpu-hal-0.10.7/src/vulkan/instance.rs:514] create_instance: VkError(ERROR_INCOMPATIBLE_DRIVER)
2021-10-18 20:27:18 WARN [/home/runner/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/wgpu-hal-0.10.7/src/gles/egl.rs:400] EGL context: -robust access
2021-10-18 20:27:18 WARN [/home/runner/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/wgpu-hal-0.10.7/src/gles/egl.rs:413] unable to create GLES 3.x context: BadConfig

@0x192
Copy link
Owner

0x192 commented Oct 19, 2021

The error say that wgu can't create a Vulkan instance. You need to make sure Vulkan is working on your computer.

If you don't care (or your CPU/GPU is too old) you should just use the OpenGL build of UAD.

@yeswap
Copy link
Author

yeswap commented Oct 19, 2021

Thanks for the reply. my PC is very old, CPU is Pentium T4400 with integrated graphics. I tried with the OpenGL build and got different errors.

~/Downloads$ ./uad_gui-linux-opengl
thread 'main' panicked at '0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
', /home/runner/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/glow_glyph-0.4.0/src/pipeline.rs:287:13
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Looks like I have a missing dependency. Do you know which package provides the needed GLSL version?

Thanks

@0x192
Copy link
Owner

0x192 commented Oct 19, 2021

This is an upstream issue. Very old hardware with only GLSL 1.20 is currently not supported by Iced (see #931)

Someone fixed the issue in their fork but it wasn't merged in Iced master branch. I'll see if @dvdsk can sync their fork with Iced master so that I can release a special build for you :)

@0x192
Copy link
Owner

0x192 commented Oct 21, 2021

Does this build work for you?

If not, try this one.

Don't forget to tell me what build worked for you.

@yeswap
Copy link
Author

yeswap commented Oct 21, 2021

Thanks, both versions fail to run with the errors:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./uad_gui-linux-legacy)

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./uad_gui-linux-legacy2)

@0x192
Copy link
Owner

0x192 commented Oct 21, 2021

Oh. Okay. Ubuntu 18.04 is stucked to v2.27 glibc.

I need to compile UAD from a Ubuntu 18.04 docker image. I'll do it tomorrow.

Do you stay on Ubuntu 18.04 because it is still supported and you don't have any reason to upgrade? I advice you to upgrade to Ubuntu 22.04 LTS when it will be released. There has been a lot of performance improvement since 2018.

@yeswap
Copy link
Author

yeswap commented Oct 22, 2021

Do you stay on Ubuntu 18.04 because it is still supported and you don't have any reason to upgrade? I advice you to upgrade to Ubuntu 22.04 LTS when it will be released. There has been a lot of performance improvement since 2018.

Thanks, I stay on 18.04 because it's very stable on this hardware and everything I need works. I tried 20.04 but WiFi was broken. I spent a couple hours trying to fix it, gave up and went back to 18.04. I will try 22.04 next year.

0x192 added a commit that referenced this issue Oct 22, 2021
@0x192
Copy link
Owner

0x192 commented Oct 22, 2021

I spent a couple hours trying to fix it, gave up and went back to 18.04. I will try 22.04 next year.

That's understandable.


Hopefully it works now : uad_gui-linux-legacy

@yeswap
Copy link
Author

yeswap commented Oct 23, 2021

Success! Your latest version works on my ancient hardware and old distro. Thank you.

@0x192 0x192 closed this as completed Oct 23, 2021
@0x192 0x192 added the build label Oct 23, 2021
0x192 added a commit that referenced this issue Nov 2, 2021
@0x192
Copy link
Owner

0x192 commented Jan 29, 2022

Good news! Iced now officially supports old hardware with only GLSL 1.20! This means I don't have to maintain a special build for those hardware anymore!

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

No branches or pull requests

2 participants