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

fail to run appImage on WSL Ubuntu 22.04 #240

Open
hayguen opened this issue Mar 24, 2024 · 12 comments
Open

fail to run appImage on WSL Ubuntu 22.04 #240

hayguen opened this issue Mar 24, 2024 · 12 comments

Comments

@hayguen
Copy link

hayguen commented Mar 24, 2024

running the latest AppImage from https://github.com/BatchDrake/SigDigger/releases,
it starts showing splash screen "generating FFT wisdom ..".
but then, i just get "Aborted" in the console.

this revision
https://github.com/BatchDrake/SigDigger/releases/tag/v0.3.0
does at least start the GUI :-)

@BatchDrake
Copy link
Owner

BatchDrake commented Mar 24, 2024 via email

@hayguen
Copy link
Author

hayguen commented Mar 24, 2024

My system is Windows 11 .. with Windows Subsystem for Linux (WSL),
having Ubuntu 22.04.4 LTS in WSL.
Unfortunately, no further text. Just "Aborted".
No SDR connected. Wanted to play/test with file source ..

@BatchDrake
Copy link
Owner

BatchDrake commented Mar 24, 2024 via email

@hayguen
Copy link
Author

hayguen commented Mar 25, 2024

Yes, unfortunately there's no "working" libusb on WSL :-(
Thus, a compile build option for "don't try/build any SDR support" would be useful: having just file support.
will have a look at your build script.

Qt/Gui stuff works fine with the X-server of MobaXterm.

@BatchDrake
Copy link
Owner

I used to have something for that during the major releases (the so-called "full" and "lite" versions), but it is too early to make a proper release and adjusting the build system for driverless development builds would take some time.

For the time being, I recommend we keep bulding from sources and/or use a real machine, or a VM (WSL does not count).

@hayguen
Copy link
Author

hayguen commented Mar 25, 2024

after installing a bunch of packages in the WSL-Ubuntu, i could build SigDigger successfully with the blsd script.
had to use ./blsd --disable-portaudio.

starting SigDigger directly from the directory, which can be moved, i get the splash screen for a while.
then, SigDigger terminates and i have following on the console:

$ ./SigDigger
QOpenGLShaderProgram: could not create shader program
Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
QOpenGLShader: could not create shader
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
Errors linking simple shader:
QOpenGLShaderProgram: could not create shader program
Vertex shader for blitShaderProg (MainWithTexCoordsVertexShader & UntransformedPositionVertexShader) failed to compile
QOpenGLShader: could not create shader
Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compile
Errors linking blit shader:
QOpenGLShaderProgram: could not create shader program
Warning: "" failed to compile!
QOpenGLShaderProgram: could not create shader program
Warning: "" failed to compile!
QOpenGLShaderProgram: could not create shader program
Warning: "" failed to compile!
QOpenGLShaderProgram: could not create shader program
Warning: "" failed to compile!
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 0 (Success) on X server "localhost:10.0"
      after 568 requests (568 known processed) with 0 events remaining.
ayguen@MSI:~/git/BatchDrake/blsd-dir/SigDigger$

looks, it tries to use 3D extensions .. and fails on them.
any chance to tell Qt or the X server, not to use any 3D stuff?
i would be happy with 2D ..

got it running! :-)
after configuring/changing MobaXterm's X11 settings,
by setting "OpenGL acceleration" to "None".

"Replay file" from File menu works :-)

@hayguen
Copy link
Author

hayguen commented Mar 25, 2024

not hearing audio. that might be an issue of WSL.
don't know, if i ever heard audio ..
however, not that important for me

@BatchDrake
Copy link
Owner

BatchDrake commented Mar 25, 2024 via email

@BatchDrake
Copy link
Owner

BatchDrake commented Mar 25, 2024 via email

@hayguen
Copy link
Author

hayguen commented Mar 25, 2024

that works for me.
probably not perfectly smooth - but sufficient.
now, need to get familiar using SigDigger and the "inspectors" ..
and also, how to zoom at a specific frequency of the waterfall/spectrum ..
suppose, i need to Read The Fine Manual ;-)

@BatchDrake
Copy link
Owner

BatchDrake commented Mar 25, 2024 via email

@hayguen
Copy link
Author

hayguen commented Mar 26, 2024

Think, I should retest the App image on WSL - after having deactivated OpenGL stuff.

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