LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2022, 08:33 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
i965 error on HD4000 Ivy Bridge Slackware-15.0


I'm getting this error
Code:
bash-5.1$ ./Slic3r-1.3.0-x86_64.AppImage
libGL error: MESA-LOADER: failed to open i965: /usr/lib64/dri/i965_dri.so: undefined symbol: _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm, version GLIBCXX_3.4.21 (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open i965: /usr/lib64/dri/i965_dri.so: undefined symbol: _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm, version GLIBCXX_3.4.21 (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_Slic3rgswkB1/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/swrast_dri.so) (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: swrast
The program 'slic3r.pl' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 977 error_code 2 request_code 151 minor_code 24)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
I'm on glibc-2.33 if that matters.
Now IIRC, this sucky HD4000 will work with i915 in 2D, and does a feeble 3D with i965.

Am I correct in suspecting that some conflict is afoot between appimage and system?
 
Old 05-23-2022, 10:54 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
I don't know, but here's something I never expected to see:
Code:
# ls -l /usr/lib64/dri/ | grep 688
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 i830_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 i915_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 i965_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 nouveau_vieux_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 r200_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 radeon_dri.so

Last edited by mrmazda; 05-24-2022 at 12:50 PM. Reason: Highlight flags indicating all are same file. (hard links)
 
Old 05-23-2022, 11:13 AM   #3
biker_rat
Member
 
Registered: Feb 2010
Posts: 369

Rep: Reputation: 220Reputation: 220Reputation: 220
If AppImage did not work, did you try to build from source? Did you try to run AppImage on current. you could use AlienBob live usb to test? Can you use an older version AppImage compiled against 2.33 glibc?
 
Old 05-23-2022, 11:20 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
How's about this?
Code:
bash-5.1$ ls -l /usr/lib64/dri/ | grep 688
-rwxr-xr-x  6 root root 16335688 Jan 28 20:23 i830_dri.so*
-rwxr-xr-x  6 root root 16335688 Jan 28 20:23 i915_dri.so*
-rwxr-xr-x  6 root root 16335688 Jan 28 20:23 i965_dri.so*
-rwxr-xr-x  6 root root 16335688 Jan 28 20:23 nouveau_vieux_dri.so*
-rwxr-xr-x  6 root root 16335688 Jan 28 20:23 r200_dri.so*
-rwxr-xr-x  6 root root 16335688 Jan 28 20:23 radeon_dri.so*

bash-5.1$ diff  /usr/lib64/dri/i830_dri.so   /usr/lib64/dri/i915_dri.so
bash-5.1$ diff  /usr/lib64/dri/i830_dri.so   /usr/lib64/dri/nouveau_vieux_dri.so
bash-5.1$ diff  /usr/lib64/dri/i830_dri.so   /usr/lib64/dri/radeon_dri.so

It would appear they are all the same file - nouveau, radeon, & intel


Pesonally, my first reaction was to file a bug. But they are graphics libs presumably manipulating Mesa, so even the terminology might be the same. I'm particularly surprised at the i830 being the same as the newer ones. The i830 & r200 are really just glorified D/A converters, not graphics cards. The i915 isn't much better. The later ones can surely do a lot of stuff the earlier ones could not.

Of course making them separate files means they could be patched separately, I suppose.
 
Old 05-23-2022, 11:34 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by biker_rat View Post
If AppImage did not work, did you try to build from source? Did you try to run AppImage on current. you could use AlienBob live usb to test? Can you use an older version AppImage compiled against 2.33 glibc?
Build (Cura) from source I'm doing in stints. No, I haven't tried current or live usb because the issue is with the (Cura) AppImage, not my system. I did try the earlier version I had (4.8.0) which had the same issue. It's like they catered for networked printers, not sdcard.

I have got Prusa Slicer with a printer from the same stable configured, so I'll have a go at bending that config to suit my Printer. That seems easier than playing 'whack-a-mole' with Cura's dependencies. It's currently puking for lack of Python3-3.10, while I have 3.9.10. But of course, I'll get python 3.10.0, not 3.10 exactly, which seems to be what it wants.
 
Old 05-23-2022, 07:37 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by business_kid View Post
Am I correct in suspecting that some conflict is afoot between appimage and system?
Try this:

Code:
$ LD_PRELOAD='/usr/lib64/libstdc++.so.6' ./Slic3r-1.3.0-x86_64.AppImage
Credit goes to: https://superuser.com/questions/1377...river-radeonsi

Last edited by rkelsen; 05-23-2022 at 07:41 PM.
 
Old 05-24-2022, 04:48 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by rkelsen
LD_PRELOAD='/usr/lib64/libstdc++.so.6' ./Slic3r-1.3.0-x86_64.AppImage
Yeah, that got Slic3r up and running. Unfortunately, it just seems a poor piece of software, like a dancer with two left feet. Prusa Slicer is writing gcode for me.

I've a way around the video issue, so I'm going to call this solved. The HD4000 is, and always will be a piece of <expletive>, but it's good enough to work with Prusa Slicer.

Oh,BTW, I was right and wrong about Python I'm trtying to build Cura in passing at this stage, but it was looking for Python-3.10 whereas Python comes as 3.x.x

Weii, I installed 3.10.4. But that made a 3.10/ directory for itself.
 
Old 05-24-2022, 06:18 AM   #8
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by mrmazda View Post
I don't know, but here's something I never expected to see:
Code:
# ls -l /usr/lib64/dri/ | grep 688
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 i830_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 i915_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 i965_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 nouveau_vieux_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 r200_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 15:23 radeon_dri.so
OT but interesting ... One Shared Object File with Six Names ?!?!?

The entire directory is only four files with quite a few hard-links ...

New one for me.

Code:
# /bin/ls -lad /usr/lib64/dri/* |sort -k5,5n -k9,9

-rwxr-xr-x  1 root root      977 Feb 13  2021 /usr/lib64/dri/i965_drv_video.la
-rwxr-xr-x  1 root root  8107024 Feb 13  2021 /usr/lib64/dri/i965_drv_video.so
-rwxr-xr-x  3 root root 12693912 Jan 28 14:23 /usr/lib64/dri/nouveau_drv_video.so
-rwxr-xr-x  3 root root 12693912 Jan 28 14:23 /usr/lib64/dri/r600_drv_video.so
-rwxr-xr-x  3 root root 12693912 Jan 28 14:23 /usr/lib64/dri/radeonsi_drv_video.so
-rwxr-xr-x  6 root root 16335688 Jan 28 14:23 /usr/lib64/dri/i830_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 14:23 /usr/lib64/dri/i915_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 14:23 /usr/lib64/dri/i965_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 14:23 /usr/lib64/dri/nouveau_vieux_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 14:23 /usr/lib64/dri/r200_dri.so
-rwxr-xr-x  6 root root 16335688 Jan 28 14:23 /usr/lib64/dri/radeon_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/crocus_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/iris_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/kms_swrast_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/nouveau_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/r300_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/r600_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/radeonsi_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/swrast_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/virtio_gpu_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/vmwgfx_dri.so
-rwxr-xr-x 11 root root 26060656 Jan 28 14:23 /usr/lib64/dri/zink_dri.so
 
Old 05-24-2022, 06:56 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Look nearly 100% of the posts have been OT, but this was an interesting thread and I learned stuff.

I'm sticking with the hypothesis of dri libs talking to Mesa, so they get away with the same libs until someone informs me better. If they do it might still be OT, but we'll all learn more.

As for post #1: I have worked around the issue, guys have sorted me with a slicer that works, (I think). By the time I discover otherwise, I'll hopefully retiring this old box anyhow.
 
  


Reply



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] 3D on Intel HD4000 (Ivy bridge?) business_kid Slackware 8 07-25-2020 01:25 PM
LXer: Intel SNA Performance Of Sandy Bridge, Ivy Bridge, Haswell LXer Syndicated Linux News 0 10-13-2013 11:02 PM
LXer: RC6 To Be Flipped On For Sandy Bridge, Ivy Bridge LXer Syndicated Linux News 0 12-11-2011 06:12 AM
LXer: Intel Continues Work On Ivy Bridge Linux Graphics Support LXer Syndicated Linux News 0 06-22-2011 10:40 PM
Intel unveils 22nm Ivy Bridge processor Jeebizz Linux - News 0 05-04-2011 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 AM.

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