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

BUG: Pylon 8.0 doesn't work on Ubuntu 24 #785

Open
JustinMBrown opened this issue Oct 8, 2024 · 6 comments
Open

BUG: Pylon 8.0 doesn't work on Ubuntu 24 #785

JustinMBrown opened this issue Oct 8, 2024 · 6 comments

Comments

@JustinMBrown
Copy link

Describe the issue:

I have a fresh install of Ubuntu 24.04.1 LTS, and it won't open. I tried installing the mesa drivers but it says they don't exist.

Reproduce the code example:

It's not a code issue, but this is the only forum I can submit feedback.

Error message:

No response

Is your camera operational in Basler pylon viewer on your platform

Yes

Hardware setup & camera model(s) used

CPU architecture: X86_64
OS: Ubuntu 24.04.1 LTS Desktop
RAM: 32GB

Runtime information:

Ubuntu 24.04.1 LTS
@bjoernrennfanz
Copy link
Contributor

Hello please make sure you have installed the required packages according to the release notes

libgl1-mesa-dri, libgl1, libglx-mesa0, libxcb-xinerama0, and libxcb-xinput0

With best regards.

@thiesmoeller
Copy link
Collaborator

Is it possible that you installed pylon deb file using dpkg ?

If you install via apt-get install ./pylon_xxx.deb the dependencies should be resolved automatically

@SMA2016a
Copy link
Collaborator

you also need libxcb-cursor0 for pylon 8

@nouvak
Copy link

nouvak commented Oct 24, 2024

I'm getting the same Segmentation fault (core dumped) crash when trying to execute Pylons 8.0 on Ubuntu 24.04.
I confirm I have all the above dependencies installed:
libgl1-mesa-dri, libgl1, libglx-mesa0, libxcb-xinerama0, and libxcb-xinput0, libxcb-cursor0.

The stack trace of the segmentation fault:

Thread 1 "pylonviewer" received signal SIGSEGV, Segmentation fault.
Downloading source file /usr/src/wayland-1.22.0-2.1build1/build/../src/wayland-util.c
0x00007ffff4924098 in wl_list_insert (list=0x555555628cf0,                      
    elm=elm@entry=0x5555556a7f30) at ../src/wayland-util.c:50
warning: 50	../src/wayland-util.c: No such file or directory
(gdb) bt
#0  0x00007ffff4924098 in wl_list_insert (list=0x555555628cf0, 
    elm=elm@entry=0x5555556a7f30) at ../src/wayland-util.c:50
#1  0x00007ffff4924118 in wl_proxy_create_wrapper (proxy=0x555555628c10)
    at ../src/wayland-client.c:2456
#2  0x00007ffff49d5091 in ?? () from /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#3  0x00007ffff49ca3f8 in ?? () from /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#4  0x00007ffff49b89d8 in ?? () from /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#5  0x00007ffff5c9340c in QtWaylandClient::QWaylandEglClientBufferIntegration::initialize(QtWaylandClient::QWaylandDisplay*) ()
   from /opt/pylon/lib/Qt/res/archdatadir/plugins/wayland-graphics-integration-client/../../../../lib/libQt6WaylandEglClientHwIntegration.so.6
#6  0x00007ffff4cb901e in QtWaylandClient::QWaylandIntegration::initializeClientBufferIntegration() ()
   from /opt/pylon/lib/Qt/res/archdatadir/plugins/platforms/../../../../lib/libQt6WaylandClient.so.6
#7  0x00007ffff4cb96a5 in QtWaylandClient::QWaylandIntegration::clientBufferIntegration() const ()
   from /opt/pylon/lib/Qt/res/archdatadir/plugins/platforms/../../../../lib/libQt6WaylandClient.so.6
#8  0x00007ffff4cb81cf in QtWaylandClient::QWaylandIntegration::createPlatformOpenGLContext(QOpenGLContext*) const ()
   from /opt/pylon/lib/Qt/res/archdatadir/plugins/platforms/../../../../lib/libQt6WaylandClient.so.6
--Type <RET> for more, q to quit, c to continue without paging-- 
#9  0x00007ffff6337105 in QOpenGLContext::create() () from /opt/pylon/bin/../lib/Qt/lib/libQt6Gui.so.6
#10 0x00007ffff5fc5f18 in QGuiApplicationPrivate::init() () from /opt/pylon/bin/../lib/Qt/lib/libQt6Gui.so.6
#11 0x00007ffff6b93abd in QApplicationPrivate::init() () from /opt/pylon/bin/../lib/Qt/lib/libQt6Widgets.so.6
#12 0x0000555555560682 in ?? ()
#13 0x000055555555b99d in ?? ()
#14 0x00007ffff4a2a1ca in __libc_start_call_main (main=main@entry=0x55555555b7a0, argc=argc@entry=1, argv=argv@entry=0x7fffffffdd08)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#15 0x00007ffff4a2a28b in __libc_start_main_impl (main=0x55555555b7a0, argc=1, argv=0x7fffffffdd08, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdcf8) at ../csu/libc-start.c:360

The advice from the similar issue report (#760) helped, if I execute the following command, pylonviewer starts fine:

QT_QPA_PLATFORM=xcb /opt/pylon/bin/pylonviewer

@thiesmoeller
Copy link
Collaborator

Beside looking into it,.we have to add Wayland or X11 to query beside os version ...

@nouvak
Copy link

nouvak commented Oct 24, 2024

Ubuntu version: 24.04.1 LTS
Version of mutter (Wayland display server): 46.0-1ubuntu9
X11 version: 11.0
X.Org version: 23.2.6

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

5 participants