OpenHantek / OpenHantek6022

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
GNU General Public License v3.0
858 stars 152 forks source link

Empty window on Pine Phone #256

Closed sagb closed 2 years ago

sagb commented 2 years ago

I try to run OpenHantek on Pine Phone (arm64). It starts, some grid lines flash briefly (seems like borders of widgets, no content), then it ends up showing black window.

Tried with no success:

Computer environment:

Scope device:

Additional context

Beginning of output from OpenHantek --resetSettings -i --verbose 15: https://pastebin.com/EaZ1FPMY

sagb commented 2 years ago

Tried separate X11 client and server:

Surprisingly, both work. Combination "executable and X server on Pine phone" still fails.

sagb commented 2 years ago

Sometimes random mouse click on black window reveals a widget: pine-openhantek-1 pine-openhantek-2

Ho-Ro commented 2 years ago

Please play around with the OpenGL version as I wrote some time ago. Then you could try also the option --useGLSL150.

sagb commented 2 years ago

MESA_GL_VERSION_OVERRIDE=3.2 MESA_GLSL_VERSION_OVERRIDE=150 OpenHantek -i --useGLSL150 MESA_GL_VERSION_OVERRIDE=3.2 MESA_GLSL_VERSION_OVERRIDE=150 OpenHantek -i MESA_GL_VERSION_OVERRIDE=4.5 OpenHantek -i MESA_GL_VERSION_OVERRIDE=1.0 OpenHantek -i

All failed.

sagb commented 2 years ago

Found a workaround (but slow - unusable): forwarding X11 calls via ssh:

ssh -X localhost OpenHantek

Ho-Ro commented 2 years ago

No more activities, I will close. We can reopen if someone is willing to support.