Comments (14)
On this topic the tested app itself works, only dev tools are not, so I still have hope it's fixable somehow :)
I can't update to WSLG due to having Win10 installed and WSLG needs Win11. And I don't want to upgrade (and many people just can't, because it's officially not supported on theirs hardware), so I am stuck with what I have.
from orange.
Oh, btw, it opens the window, but it's empty:
from orange.
Thank you for the app, I'm looking for good replacement for
Everything
but for Linux (fsearch
looked promising, but it's quite slow, doesn't index stuff in background, tldr UX is far from Everything on Windows) and Orange seems promising.
Hey, I cannot run this on WSL and error message is still unclear to me.
Thanks for your attention, i will try to reproduce the error and fix
from orange.
You must follow WSLG https://github.com/microsoft/wslg documentation to properly get wsl2 GUI apps running on windows
from orange.
I don't have any problem running any other GUI app. I was running them on WSL1, now I'm doing it on WSL2. I run IDE, browser, file explorer, everything via WSL without any problem.
And I'm on Windows 10 (not planning to upgrade).
from orange.
Did you try Appimage or .deb?
from orange.
.deb
from orange.
There was no AppImage when I first try it, now I tried AppImage and i get:
dzek@dzek-dell:/mnt/c/Users/dzek$ ./orange_0.0.6_amd64.AppImage
orange: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
from orange.
I installed libopengl0
package and now I get:
dzek@dzek-dell:/mnt/c/Users/dzek$ ./orange_0.0.6_amd64.AppImage
(orange:12364): libappindicator-WARNING **: 14:47:38.157: Unable to get the session bus: Error spawning command line “dbus-launch --autolaunch=095c5d5cb0544228a51ce3ac2b33a92d --binary-syntax --close-stderr”: Child process exited with code 1
(orange:12364): LIBDBUSMENU-GLIB-WARNING **: 14:47:38.157: Unable to get session bus: Error spawning command line “dbus-launch --autolaunch=095c5d5cb0544228a51ce3ac2b33a92d --binary-syntax --close-stderr”: Child process exited with code 1
clean old version cachedata
start travel /home/dzek
cost 0 s, total 3024 files
start travel /home
cost 0 s, total 2 files
start travel /srv
cost 0 s, total 1 files
start travel /etc
cost 0 s, total 1661 files
start travel /opt
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
(WebKitWebProcess:12389): Gdk-ERROR **: 14:47:39.915: The program 'WebKitWebProcess' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadFBConfig'.
(Details: serial 181 error_code 163 request_code 149 (GLX) minor_code 21)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
cost 0 s, total 769 files
start travel /root
cost 0 s, total 1 files
start travel /lib
cost 0 s, total 693 files
start travel /mnt
which is basically the same thing I got with .deb
from orange.
My guess is Tauri relies on some sort of OpenGL rendering implementation. Most Linux software currently running GUI on WSL are native applications. I think your WSL setup is using EGL x11 backend which relies on software rendering where now WSLG needs windows 11 because it relies on GLX. This is because GLX uses Mesa drivers > 21 in order to properly get hardware acceleration.
Im just making a guess about this.
from orange.
I don't have such deep knowledge about those things. Anyway, Orange doesn't look like an app that should require hardware rendering to run, so maybe there is a workaround that could be implemented to force software rendering.
from orange.
@dzek69 can you test this for me?
sudo apt install mesa-utils
-> this is to get info about your graphic drivers on wsl
then
glxinfo | grep OpenGL
it should show something like this, but with your GPU seup instead, mine is Nvidia:
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (NVIDIA GeForce RTX 2060 with Max-Q Design)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.2.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 21.2.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
from orange.
dzek@dzek-dell:/mnt/c/Users/dzek$ glxinfo | grep OpenGL
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
OpenGL vendor string: Intel
OpenGL renderer string: Intel(R) Iris(R) Xe Graphics
OpenGL version string: 1.4 (4.6.0 - Build 27.20.100.9749)
OpenGL extensions:
from orange.
Thanks you. As shown on this this topic tauri-apps/tauri#2313 I would try to update your WSL2 to WSLG as older "GUI backends" are outdated and full of bugs. I think your issue is related to some missing driver fallback when OpenGL is not found by webkit renderer. So I think this issue is tauri related and not application specific.
from orange.
Related Issues (20)
- feature request:Quick Switch HOT 1
- feature request: 通过网页访问的headless模式 HOT 1
- 功能建议:选择文件对话框搜索 HOT 2
- High CPU usage on Macbook Pro HOT 3
- Command + A shortcut support HOT 2
- 功能建议:能否支持“包含路径”模式 HOT 1
- 功能建议:提交到微软应用商店
- 建议:mac下支持空格键预览文件
- Ubuntu 22.04 无法启动 HOT 3
- Windows版本安装失败 HOT 2
- Feature Request: Separate the API from UI HOT 3
- 几点问题 HOT 1
- 什么时候发布 0.6.6 ?
- Request: Dark Mode 😎
- cannot open files using right click menus
- Add tantivy as tag in the repository for easy search in github
- 编译错误啊,各位大佬
- win11?? HOT 2
- 运行后出现错误 HOT 2
- 是否可以支持文件内容搜索
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orange.