SigDigger icon indicating copy to clipboard operation
SigDigger copied to clipboard

fail to run appImage on WSL Ubuntu 22.04

Open hayguen opened this issue 1 year ago • 12 comments

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 :-)

hayguen avatar Mar 24 '24 16:03 hayguen

Hi, thanks for reporting.

I cannot reproduce this. What are the specs of your system? Do you have any SDR connected to your computer? Is "Aborted" the only text printed in the terminal?

Cheers,

El dom., 24 mar. 2024 17:41, hayati ayguen @.***> escribió:

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.

— Reply to this email directly, view it on GitHub https://github.com/BatchDrake/SigDigger/issues/240, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVET3DXLSW34CWGJIZSPTYZ363BAVCNFSM6AAAAABFF2NUEGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDINBUGYYTGNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BatchDrake avatar Mar 24 '24 16:03 BatchDrake

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 ..

hayguen avatar Mar 24 '24 17:03 hayguen

Wow, I'd be surprised if it worked under WSL. Anyways, WSL is still a hack, and many things could fail. I bet it is something related to libusb being unsupported under WSL (although it should work in WSL2). Perhaps it is something Qt/X-Window related?

Nonetheless, I don't use Windows, so I'm afraid I cannot debug it myself :( Still, if you have time, you may want to try to build it from sources. I have this script (https://actinid.org/blsd) that downloads and builds the sources from GitHub. If the problem persists, we can try to debug it step by step from here.

Cheers,

El dom., 24 mar. 2024 18:06, hayati ayguen @.***> escribió:

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".

— Reply to this email directly, view it on GitHub https://github.com/BatchDrake/SigDigger/issues/240#issuecomment-2016873395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVET6T3ZW2QDF6N6TV5N3YZ4BXTAVCNFSM6AAAAABFF2NUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHA3TGMZZGU . You are receiving this because you commented.Message ID: @.***>

BatchDrake avatar Mar 24 '24 21:03 BatchDrake

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.

hayguen avatar Mar 25 '24 15:03 hayguen

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).

BatchDrake avatar Mar 25 '24 16:03 BatchDrake

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 avatar Mar 25 '24 21:03 hayguen

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

hayguen avatar Mar 25 '24 22:03 hayguen

Hi,

I don't think it would work. It is not that I use 3D or anything, but I do need OpenGL in order to run the shaders for smooth Waterfall zoom and scrolling.

Anyways, this is an X server issue and I believe we've just hit a wall. Perhaps switching the X server? Or using a real machine / VM?

Cheers,

El lun., 25 mar. 2024 22:48, hayati ayguen @.***> escribió:

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. @.***:~/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.

— Reply to this email directly, view it on GitHub https://github.com/BatchDrake/SigDigger/issues/240#issuecomment-2018977685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVET5ZCJNM7Y6VM754VTLY2CLURAVCNFSM6AAAAABFF2NUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJYHE3TONRYGU . You are receiving this because you commented.Message ID: @.***>

BatchDrake avatar Mar 25 '24 22:03 BatchDrake

There was a hacky way to setup PulseAudio, but I believe it is going to be easier if you just install Ubuntu in a VM or a physical machine.

El lun., 25 mar. 2024 23:08, hayati ayguen @.***> escribió:

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

— Reply to this email directly, view it on GitHub https://github.com/BatchDrake/SigDigger/issues/240#issuecomment-2019004460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVET75TW42JQAUCWVHCKDY2CN5RAVCNFSM6AAAAABFF2NUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJZGAYDINBWGA . You are receiving this because you commented.Message ID: @.***>

BatchDrake avatar Mar 25 '24 22:03 BatchDrake

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 ;-)

hayguen avatar Mar 25 '24 22:03 hayguen

Cool :D

Zoom is performed mostly with the mouse wheel. Mouse wheel in the horizontal axis, horizontal zoom. Vertical axis, vertical zoom, etc. Also you can drag the axes to adjust the zero point.

Cheers

El lun., 25 mar. 2024 23:17, hayati ayguen @.***> escribió:

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 ;-)

— Reply to this email directly, view it on GitHub https://github.com/BatchDrake/SigDigger/issues/240#issuecomment-2019016436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVET5KF7I3L7V4V2E2SU3Y2CPATAVCNFSM6AAAAABFF2NUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJZGAYTMNBTGY . You are receiving this because you commented.Message ID: @.***>

BatchDrake avatar Mar 25 '24 23:03 BatchDrake

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

hayguen avatar Mar 26 '24 14:03 hayguen