-
Notifications
You must be signed in to change notification settings - Fork 156
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 launching on RPI4 #28
Comments
Which version did you use? If it's a -rc2 then call it as "OpenHantek --useGLES". Please update to the latest v2.16 and install the missing lib before with |
Already tried all of those :-( |
Strange, this 3009 error looks similar to |
Some more RPi debs were produced in the meantime and are available in the releases - please give them another try. |
v2.16 runs just fine on a 3B+ |
Ok, no more feedback - looks like there is no more pain. |
Some Feedback from another RPI4 User...: Tried today a build with git rev 2f09f61 and also prebuilt binary package openhantek_20191213-414988d_armhf.deb with no luck, I get following output:
--useGLES has no effect, I get the same error both when used or not. |
Ok, a little follow-up .... I was curious if it could have to do with the fact that I use the 'OpenGL desktop driver with fake KMS' (dtoverlay=vc4-fkms-v3d enabled in config.txt) ... this is because kodi won't work otherwise on the rpi4. Indeed - when I switched to the legacy non-GL driver, it works (although I get the libEGL warning: DRI2: failed to authenticate, but it works) |
GLES is automatically selected for ARM architecture.
You could try to comment out this line I will reopen this issue but do not follow up as I do not own a RPI4. |
ok I commented the line and tried ... crashes too, but there is a slight difference.
now when I start without gles, then I get following output:
So with the fkms driver and GL there is this extra "3009" line .... the first one is shown when the "search for devices" dialog gets visible, the second line comes as soon as it tries to draw the main window. So, for the moment, as it is working in legacy non-gl mode, I can live with that, as I do not need kodi on that particular pi. I guess I try again after some time when there is improvement in the (f)kms driver |
Maybe this change will help (once it reaches raspbian): https://www.khronos.org/conformance/adopters/conformant-products/opengles#submission_882 |
Yes this looks promising ... I already compiled and tested that on a kodi-pi, next thing will be to do that on the pi with the hantek ... I'll post my results here as soon as I have some spare time ;) |
Trying to set up a Pi4 myself. It does not have Kodi installed, it does have the latest Raspian up-to-date. Installed the .deb from the latest OH-6022 release today. Here is what happens when I launch from terminal: kevin@raspberrypi: kevin@raspberrypi:~ $ OpenHantek --useGLES I'm not sure what to do with the Khronos link above, just seems to be some sort of summary. I'm certainly willing to help troubleshoot the issue. I also have a Pi3B+ but it has Kodi installed. FWIW I have a very similar issue with the Espotek Labrador board; it works fine on the Pi3. I have an e-mail in to Chris at Espotek. Let me know if I can help! Thanks, Kevin Edit: I don't know why the strikeouts appeared when I posted this comment. |
@kevinthefixer if you do not have kodi installed on that pi4, then you can set the legacy gl driver in raspi-config/advanced/gl driver.... then the error should disappear |
@kevinthefixer Up to the Raspi 3B+ the program works, the only known issues are with Pi4... |
Thanks, guys. Chris ([email protected]) says it's a known bug in the RPi4 kernel. He provided this: |
Sorry if this is in the wrong thread but I can maybe contribute. I don't know if any of these messages indicate a problem, but since the application works I don't dare to change anything. Many Thanks, btw for making Openhantek available for RaspBerry Pi. I used it on my Mac before, but now that it works on RP I can make a dedicated Oscilloscope without having to run from my Mac |
How did you install the programm? The error messages you posted are from openhantek (the legacy application) and not from OpenHantek6022.
These error messages are thrown by the Qt EGL sybsystem, which is the interface between OpenGL and the PI's native graphic system, the Broadcom drivers. The behavior of the graphics system has obviously changed between RPi3 and RPi4; since I don't use RPi4, I cannot support this system. |
I installed it following advice by 'eitriv' in another thread (Compatibility with Raspberry Pi #103): install additional required packages sudo apt install: copy the file firmware/60-hantek.rules to /lib/udev/rules.d/ run the following commands inside the extracted directory: mkdir build cd build cmake ../ make -j2 sudo make install start from the command line like this: OpenHantek --useGLES. Sorry I wasn't aware I was using the legacy app. I will now try and make it work as a dedicated RP with a touchscreen. |
Just a clarification on the installation I did. 'eitriv' states "start raspi-config with: sudo raspi-config and selct "OpenGL with fake KMS" under advanced options, but in the latest Raspbian there was no such choice. |
"Install latest raspbian image (debian stretch)" -- This is all obsolete! The latest Raspian is Buster-based (Debian 10), not Stretch. I used the .deb installer (ARMHF architecture) rather than attempting to compile it myself, I've had poor luck with that. I've also had poor luck searching the RPi forums, it seems odd but very few people seem to be using o-scopes with Pi4s. Perhaps I'll try 1) installing the packages @straycatsgp lists, then 2) compiling (or attempting to compile) it myself. I wonder if adding those dev packages might allow the Labrador software to work also? @Ho-Ro , except for this bug, the Pi4 is a great machine, recommend you grab one, you won't be sorry! PS--I forgot to mention I installed OH6022 on my Pi3 and it worked just fine. But that Pi is installed in a tablet I made so has very little screen space. --KCB |
There has been a development on the RPi forums that may fix this. It has to do with the Espotek Labrador board, but as I said earlier, it appears to be the same problem. |
I did some experiments today on my 3B+ and tried the three possible GL driver settings: only the 1st setting
|
Hello folks, I just want to chip in. I got the exact same error as the comment above (Ho-Ro) on my RPi 4B. By selecting the Legacy non-GL driver, I got OpenHantek6022BE to work. FYI. |
And an update: feeling guilty about guessing not testing, I went ahead and just plugged the 6022bl into a usb3 port on the Pi--and it worked just fine, I didn't even need to launch via sudo. Once again I think we can mark this issue solved, and thank you all! |
Thanks, your findings will be included in future documentation. |
I did this to install:
sudo dpgk -i openhan.....
When I try to start the connection window appear, click on connect and then program crash with this message:
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
QEGLPlatformContext: eglMakeCurrent failed: 3009
QOpenGLFunctions created with non-current context
Segmentation fault
If i try to build myself, i got this error at launch libopengl0 not found
Regards
Cinosh07
The text was updated successfully, but these errors were encountered: