LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2022, 02:53 PM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Qt Application crash in anaconda3; howto solve? (antix 32bits in qemu)


Hello,

by using an application of anaconda3 (name: pyilper), in antix 32bit started in qemu, I get an error message and the pyqt application dont start correctly. It looks similar to this https://askubuntu.com/questions/1352...n-ubuntu-20-04

pyilper (command in a terminal)
Quote:
Solving environment: / libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
[1:1:0100/000000.855822:ERROR:broker_posix.cc(41)] Invalid node channel message
Abgebrochen
failed
Any idea how to solve the recommendation below which is coming from the ubuntu link?

Quote:
fix this by overwriting the virtual env version with the system version of libstdc++.so.6 and redirecting all symbolic links to the new version:

$~/anaconda3/envs/py3/lib$ ls -al | grep libstdc++
lrwxrwxrwx 1 fairfax fairfax 19 lis 1 08:55 libstdc++.so -> libstdc++.so.6.0.25
lrwxrwxrwx 1 fairfax fairfax 19 lis 1 08:55 libstdc++.so.6 -> libstdc++.so.6.0.25
-rw-r--r-- 1 fairfax fairfax 1594864 říj 29 16:27 libstdc++.so.6.0.25
The redirecting of such symlinks is new for me.

Last edited by floppy_stuttgart; 01-21-2022 at 03:40 AM.
 
Old 01-20-2022, 04:11 PM   #2
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,792

Rep: Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201
A cp without option will follow symlinks.
In detail:
If the source is a symlink it will read the data.
If the destination is a symlink it will overwrite the data.

If you create a new file, say libstdc++.so.6.0.27, then you can create a new symlink to it with
Code:
ln -s -f libstdc++.so.6.0.27 libstdc++.so.6.0
The -f will replace an existing libstdc++.so.6.0

Last edited by MadeInGermany; 01-20-2022 at 04:25 PM.
 
Old 01-21-2022, 03:00 AM   #3
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Thanks. Now its becoming weird: it seems all symlink are already there. But issue is still there. I have to dig more into the subject.
See picture in attachment
ls -al lib | grep libstdc++ (from /home/user/anaconda3 in a terminal)

More diagnosis which were asked in the ubuntu link.

glxinfo -B
Quote:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 11.0.1, 128 bits) (0xffffffff)
Version: 20.3.5
Accelerated: no
Video memory: 2013MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.1, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 20.3.5
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
lshw -C video
Quote:
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: vga_controller bus_master rom
configuration: driver=bochs-drm latency=0
resources: irq:0 memory:fd000000-fdffffff memory:febf0000-febf0fff memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
lsmod | grep drm
Quote:
bochs_drm 24576 2
ttm 77824 1 bochs_drm
drm_kms_helper 118784 1 bochs_drm
drm 258048 5 bochs_drm,ttm,drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
vainfo
Quote:
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.10.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error),exit
glxinfo | grep Vendor
Quote:
Error: unable to open display
on the Debian11 64bits, starting qemu which is launchin the antix32bits (with Qt MESA issue)
lsmod | grep drm
Quote:
drm_kms_helper 278528 1 amdgpu
cec 61440 1 drm_kms_helper
drm 618496 9 gpu_sched,drm_kms_helper,amdgpu,ttm
inxi -F (in the antix386 hosted in qemu)
Quote:
System:
Host: antix Kernel: 4.9.0-279-antix.1-486-smp i686 bits: 32
Desktop: IceWM 2.9.5 Distro: antiX-21_386-base Grup Yorum 31 October 2021
Machine:
Type: Qemu System: QEMU product: Standard PC (i440FX + PIIX, 1996)
v: pc-i440fx-5.2 serial: <superuser required>
Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v: 1.14.0-2
date: 04/01/2014
CPU:
Info: Single Core model: QEMU Virtual version 2.5+ bits: 32 type: MCP
cache: L2: 16 MiB
Speed: 3000 MHz min/max: N/A Core speed (MHz): 1: 3000
Graphics:
Device-1: driver: bochs-drm v: N/A
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: 1024x768~60Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.5
Audio:System:
Host: antix Kernel: 4.9.0-279-antix.1-486-smp i686 bits: 32
Desktop: IceWM 2.9.5 Distro: antiX-21_386-base Grup Yorum 31 October 2021
Machine:
Type: Qemu System: QEMU product: Standard PC (i440FX + PIIX, 1996)
v: pc-i440fx-5.2 serial: <superuser required>
Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v: 1.14.0-2
date: 04/01/2014
CPU:
Info: Single Core model: QEMU Virtual version 2.5+ bits: 32 type: MCP
cache: L2: 16 MiB
Speed: 3000 MHz min/max: N/A Core speed (MHz): 1: 3000
Graphics:
Device-1: driver: bochs-drm v: N/A
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: 1024x768~60Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.5
Audio:
Message: No device data found.
Network:
Device-1: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge
driver: piix4_smbus
Device-2: Intel 82540EM Gigabit Ethernet driver: e1000
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 52:54:00:12:34:56
Drives:
Local Storage: total: 10 GiB used: 5.04 GiB (50.4%)
ID-1: /dev/sda vendor: QEMU model: HARDDISK size: 10 GiB
Partition:
ID-1: / size: 4.02 GiB used: 2.78 GiB (69.0%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 5.16 GiB used: 2.27 GiB (43.9%) fs: ext4 dev: /dev/sda3
Swap:
ID-1: swap-1 type: partition size: 512 MiB used: 0 KiB (0.0%)
dev: /dev/sda2
Sensors:
Message: No sensor data found. Is lm-sensors configured?
Info:
Processes: 122 Uptime: 36m Memory: 1.97 GiB used: 150.5 MiB (7.5%)
Shell: Bash inxi: 3.3.06
Message: No device data found.
Network:
Device-1: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge
driver: piix4_smbus
Device-2: Intel 82540EM Gigabit Ethernet driver: e1000
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 52:54:00:12:34:56
Drives:
Local Storage: total: 10 GiB used: 5.04 GiB (50.4%)
ID-1: /dev/sda vendor: QEMU model: HARDDISK size: 10 GiB
Partition:
ID-1: / size: 4.02 GiB used: 2.78 GiB (69.0%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 5.16 GiB used: 2.27 GiB (43.9%) fs: ext4 dev: /dev/sdaSystem:
Host: ProDesk Kernel: 5.10.0-10-amd64 x86_64 bits: 64 Console: tty 0
Distro: Debian GNU/Linux 11 (bullseye)
Machine:
Type: Desktop System: HP product: HP ProDesk 600 G4 SFF v: N/A
serial: CZC924BVWC
Mobo: HP model: 83EE v: KBC Version 07.D1.00 serial: PGUJE0F0ZC9F95
UEFI: HP v: Q07 Ver. 02.17.00 date: 11/18/2021
CPU:
Info: 6-Core model: Intel Core i5-8500 bits: 64 type: MCP L2 cache: 9 MiB
Speed: 810 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 810 2: 814
3: 846 4: 810 5: 811 6: 800
Graphics:
Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
driver: amdgpu v: kernel
Display: server: X.org 1.20.11 driver: loaded: radeon tty: 80x24
Message: Advanced graphics data unavailable in console for root.
Audio:
Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
driver: snd_hda_intel
Device-3: Logitech Logitech StreamCam type: USB
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo
Sound Server: ALSA v: k5.10.0-10-amd64
Network:
Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi
IF: wlp0s20f3 state: down mac: 82:3c:b4:77:c8:a7
Device-2: Intel Ethernet I219-LM driver: e1000e
IF: eno1 state: up speed: 100 Mbps duplex: full mac: f4:39:09:1e:85:f1
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb
Report: ID: hci0 state: down address: 58:A0:23:79:02:B5
Drives:
Local Storage: total: 704.24 GiB used: 54.08 GiB (7.7%)
ID-1: /dev/nvme0n1 vendor: Western Digital
model: PC SN520 SDAPNUW-256G-1006 size: 238.47 GiB
ID-2: /dev/sda vendor: Hitachi model: HTS545050A7E380 size: 465.76 GiB
Partition:
ID-1: / size: 27.38 GiB used: 18.25 GiB (66.6%) fs: ext4 dev: /dev/sda2
ID-2: /boot/efi size: 511 MiB used: 48.6 MiB (9.5%) fs: vfat
dev: /dev/sda1
ID-3: /home size: 421.8 GiB used: 35.79 GiB (8.5%) fs: ext4 dev: /dev/sda4
Swap:
ID-1: swap-1 type: partition size: 7.78 GiB used: 0 KiB (0.0%)
dev: /dev/sda3
Sensors:
System Temperatures: cpu: 57.0 C mobo: N/A gpu: amdgpu temp: 63.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1850
Info:
Processes: 263 Uptime: 5h 26m Memory: 15.48 GiB used: 4.84 GiB (31.2%)
Init: systemd runlevel: 5 Shell: Bash inxi: 3.3.01 3
Swap:
ID-1: swap-1 type: partition size: 512 MiB used: 0 KiB (0.0%)
dev: /dev/sda2
Sensors:
Message: No sensor data found. Is lm-sensors configured?
Info:
Processes: 122 Uptime: 36m Memory: 1.97 GiB used: 150.5 MiB (7.5%)
Shell: Bash inxi: 3.3.06

echo "export MESA_LOADER_DRIVER_OVERRIDE=amdgpu" >> ~/.profile
(in the antix32bits started in qemu)
did not solve
see https://www.reddit.com/r/pop_os/comm...pdate/hpgvu7i/

when the amdgpu is on the 64bits Debian.
But boschs-drm in the qemu (with antix 32 bits), perhaps I should boot antix with a boot code for having the amdgpu?

inxi -F (of the host PC)
Quote:
System:
Host: ProDesk Kernel: 5.10.0-10-amd64 x86_64 bits: 64 Console: tty 0
Distro: Debian GNU/Linux 11 (bullseye)
Machine:
Type: Desktop System: HP product: HP ProDesk 600 G4 SFF v: N/A
serial: CZC924BVWC
Mobo: HP model: 83EE v: KBC Version 07.D1.00 serial: PGUJE0F0ZC9F95
UEFI: HP v: Q07 Ver. 02.17.00 date: 11/18/2021
CPU:
Info: 6-Core model: Intel Core i5-8500 bits: 64 type: MCP L2 cache: 9 MiB
Speed: 810 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 810 2: 814
3: 846 4: 810 5: 811 6: 800
Graphics:
Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
driver: amdgpu v: kernel
Display: server: X.org 1.20.11 driver: loaded: radeon tty: 80x24
Message: Advanced graphics data unavailable in console for root.
Audio:
Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
driver: snd_hda_intel
Device-3: Logitech Logitech StreamCam type: USB
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo
Sound Server: ALSA v: k5.10.0-10-amd64
Network:
Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi
IF: wlp0s20f3 state: down mac: 82:3c:b4:77:c8:a7
Device-2: Intel Ethernet I219-LM driver: e1000e
IF: eno1 state: up speed: 100 Mbps duplex: full mac: f4:39:09:1e:85:f1
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb
Report: ID: hci0 state: down address: 58:A0:23:79:02:B5
Drives:
Local Storage: total: 704.24 GiB used: 54.08 GiB (7.7%)
ID-1: /dev/nvme0n1 vendor: Western Digital
model: PC SN520 SDAPNUW-256G-1006 size: 238.47 GiB
ID-2: /dev/sda vendor: Hitachi model: HTS545050A7E380 size: 465.76 GiB
Partition:
ID-1: / size: 27.38 GiB used: 18.25 GiB (66.6%) fs: ext4 dev: /dev/sda2
ID-2: /boot/efi size: 511 MiB used: 48.6 MiB (9.5%) fs: vfat
dev: /dev/sda1
ID-3: /home size: 421.8 GiB used: 35.79 GiB (8.5%) fs: ext4 dev: /dev/sda4
Swap:
ID-1: swap-1 type: partition size: 7.78 GiB used: 0 KiB (0.0%)
dev: /dev/sda3
Sensors:
System Temperatures: cpu: 57.0 C mobo: N/A gpu: amdgpu temp: 63.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1850
Info:
Processes: 263 Uptime: 5h 26m Memory: 15.48 GiB used: 4.84 GiB (31.2%)
Init: systemd runlevel: 5 Shell: Bash inxi: 3.3.01
According this, a debugging was started. https://askubuntu.com/questions/5413...gh-each-update

this work fine...
LIBGL_DEBUG=verbose glxgears
Quote:
libGL: screen 0 does not appear to be DRI2 capable
libGL: MESA-LOADER: dlopen(/usr/lib/i386-linux-gnu/dri/swrast_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/pascal/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/pascal/.drirc: No such file or directory.
59 frames in 5.0 seconds = 11.798 FPS
239 frames in 5.0 seconds = 47.762 FPS
218 frames in 5.0 seconds = 43.588 FPS
237 frames in 5.0 seconds = 47.394 FPS
242 frames in 5.0 seconds = 48.310 FPS
235 frames in 5.0 seconds = 46.949 FPS
235 frames in 5.0 seconds = 46.860 FPS
239 frames in 5.0 seconds = 47.706 FPS
238 frames in 5.0 seconds = 47.497 FPS
237 frames in 5.0 seconds = 47.284 FPS

LIBGL_DEBUG=verbose pyilper
Quote:
libGL: screen 0 does not appear to be DRI2 capable
libGL: MESA-LOADER: failed to open /usr/lib/i386-linux-gnu/dri/swrast_dri.so: /home/pascal/anaconda3/lib/python3.7/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /lib/i386-linux-gnu/libLLVM-11.so.1)
libGL: MESA-LOADER: failed to open \$${ORIGIN}/dri/swrast_dri.so: \$${ORIGIN}/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
libGL: MESA-LOADER: failed to open /usr/lib/dri/swrast_dri.so: /usr/lib/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
[1:1:0100/000000.533058:ERROR:broker_posix.cc(41)] Invalid node channel message
Abgebrochen
So far, I have done

cp /lib/i386-linux-gnu/libstdc++.so.6.0.28 /home/pascal/anaconda3/lib
cd /home/pascal/anaconda3/lib
rm libstdc++.so.6.0.25
rm libstdc++.so.6
rm libstdc++.so
ln -s libstdc++.so.6.0.28 libstdc++.so.6
ln -s libstdc++.so.6.0.28 libstdc++.so

looks better. However, still errors (different ones).

LIBGL_DEBUG=verbose pyilper
Quote:
libGL: screen 0 does not appear to be DRI2 capable
libGL: MESA-LOADER: dlopen(/usr/lib/i386-linux-gnu/dri/swrast_dri.so)
libGL: Can't open configuration file /etc/drirc: Datei oder Verzeichnis nicht gefunden.
libGL: Can't open configuration file /home/pascal/.drirc: Datei oder Verzeichnis nicht gefunden.
libGL: Can't open configuration file /etc/drirc: Datei oder Verzeichnis nicht gefunden.
libGL: Can't open configuration file /home/pascal/.drirc: Datei oder Verzeichnis nicht gefunden.
[1:1:0100/000000.789504:ERROR:broker_posix.cc(41)] Invalid node channel message
Speicherzugriffsfehler
pyilper
Quote:
[1:1:0100/000000.441713:ERROR:broker_posix.cc(41)] Invalid node channel message
Speicherzugriffsfehler
NO CRASH.. DONE..

echo "export QT_XCB_GL_INTEGRATION=xcb_egl" >> ~/.profile
then reboot

according this https://github.com/ejeschke/ginga/issues/714 made it.
Attached Thumbnails
Click image for larger version

Name:	Bildschirmfoto vom 2022-01-21 09-40-09.png
Views:	13
Size:	20.5 KB
ID:	38170  

Last edited by floppy_stuttgart; 01-22-2022 at 02:46 PM.
 
  


Reply

Tags
debian, symlinks



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Conky display gets corrupted since updating Antix-16 to Antix-17 hazel Linux - Distributions 3 12-18-2017 08:55 AM
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration