WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Installing VLC breaks X server  (Read 4544 times)

Offline Richard MQ

  • Newbie
  • *
  • Posts: 15
[Solved] Installing VLC breaks X server
« on: April 11, 2020, 07:59:22 AM »
Core Plus 11.1 on old AMD Geode panel PC
Worked great until I installed VLC from the apps browser, now X fails to start. Looks as though libLLVM-8 might be the culprit. Can anyone please suggest how to fix, or to revert the VLC installation from command line?
Many thanks
Richard

Part of /var/log/Xorg.0.log follows (happy to paste it all if required!)

Code: [Select]
[   555.875] (II) AIGLX: Screen 0 is not DRI2 capable
[   556.196] (EE)
[   556.196] (EE) Backtrace:
[   556.197] (EE) 0: /usr/local/lib/xorg/Xorg (xorg_backtrace+0x34) [0x8082310]
[   556.197] (EE) 1: /usr/local/lib/xorg/Xorg (0x8048000+0x3a458) [0x8082458]
[   556.197] (EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb7fc7ab0]
[   556.203] (EE) 3: /usr/local/lib/libLLVM-8.so (0xb20cc000+0x58f340) [0xb265b340]
[   556.209] (EE) 4: /usr/local/lib/libLLVM-8.so (0xb20cc000+0x5925fe) [0xb265e5fe]
[   556.215] (EE) 5: /usr/local/lib/libLLVM-8.so (0xb20cc000+0x592835) [0xb265e835]
[   556.221] (EE) 6: /usr/local/lib/libLLVM-8.so (_ZNK4llvm17ManagedStaticBase21RegisterManagedStaticEPFPvvEPFvS1_E+0x5a) [0xb268f6b6]
[   556.227] (EE) 7: /usr/local/lib/libLLVM-8.so (0xb20cc000+0x58d0eb) [0xb26590eb]
[   556.233] (EE) 8: /usr/local/lib/libLLVM-8.so (_ZN4llvm2cl14OptionCategory16registerCategoryEv+0x19) [0xb265d683]
[   556.239] (EE) 9: /usr/local/lib/libLLVM-8.so (0xb20cc000+0x500f86) [0xb25ccf86]
[   556.239] (EE) 10: /lib/ld-linux.so.2 (0xb7fc8000+0xd199) [0xb7fd5199]
[   556.239] (EE) 11: /lib/ld-linux.so.2 (0xb7fc8000+0xd29f) [0xb7fd529f]
[   556.239] (EE) 12: /lib/ld-linux.so.2 (0xb7fc8000+0x1031e) [0xb7fd831e]
[   556.240] (EE) 13: /lib/libc.so.6 (_dl_catch_exception+0xa2) [0xb7ae7c83]
[   556.240] (EE) 14: /lib/ld-linux.so.2 (0xb7fc8000+0xfc1f) [0xb7fd7c1f]
[   556.240] (EE) 15: /lib/libdl.so.2 (0xb7db7000+0x12e0) [0xb7db82e0]
[   556.241] (EE) 16: /lib/libc.so.6 (_dl_catch_exception+0xa2) [0xb7ae7c83]
[   556.241] (EE) 17: /lib/libc.so.6 (_dl_catch_error+0x2c) [0xb7ae7d0d]
[   556.241] (EE) 18: /lib/libdl.so.2 (0xb7db7000+0x1997) [0xb7db8997]
[   556.241] (EE) 19: /lib/libdl.so.2 (dlopen+0x65) [0xb7db8353]
[   556.241] (EE) 20: /usr/local/lib/xorg/modules/extensions/libglx.so (0xb7962000+0x9334) [0xb796b334]
[   556.241] (EE) 21: /usr/local/lib/xorg/modules/extensions/libglx.so (0xb7962000+0xb6ca) [0xb796d6ca]
[   556.241] (EE) 22: /usr/local/lib/xorg/modules/extensions/libglx.so (0xb7962000+0xbc5f) [0xb796dc5f]
[   556.242] (EE) 23: /usr/local/lib/xorg/Xorg (_CallCallbacks+0x25) [0x81669eb]
[   556.242] (EE) 24: /usr/local/lib/xorg/Xorg (0x8048000+0x3c6b9) [0x80846b9]
[   556.242] (EE) 25: /usr/local/lib/xorg/Xorg (0x8048000+0x5990d) [0x80a190d]
[   556.243] (EE) 26: /usr/local/lib/xorg/Xorg (InitExtensions+0x61) [0x8123ac0]
[   556.243] (EE) 27: /usr/local/lib/xorg/Xorg (0x8048000+0x2c0e9) [0x80740e9]
[   556.244] (EE) 28: /lib/libc.so.6 (__libc_start_main+0x152) [0xb7a14b57]
[   556.244] (EE) 29: /usr/local/lib/xorg/Xorg (_start+0x21) [0x8074851]
[   556.244] (EE)
[   556.244] (EE) Illegal instruction at address 0xb265b340
[   556.244] (EE)
Fatal server error:
[   556.244] (EE) Caught signal 4 (Illegal instruction). Server aborting
[   556.244] (EE)
[   556.245] (EE)
« Last Edit: April 17, 2020, 07:50:55 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: Installing VLC breaks X server
« Reply #1 on: April 11, 2020, 08:11:29 AM »
Ref "Illegal instruction at address 0xb265b340", Xorg-7.7-3d is for a minimum of pentium-m cpu, is your cpu less than this?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: Installing VLC breaks X server
« Reply #2 on: April 11, 2020, 08:16:59 AM »
If you want to stop vlc3 from loading, remove it from onboot.lst

Offline Richard MQ

  • Newbie
  • *
  • Posts: 15
Re: Installing VLC breaks X server
« Reply #3 on: April 11, 2020, 11:45:59 AM »
Thanks Juanito

Yes, AMD Geode is a rather basic x86 32 bit CPU - it had MMX but I think not SSE / SSE2, it's a little older than Pentium-m

Removing VLC from /mnt/sda1/tce/onboot.lst seems to have done the trick, so I will see if I can rebuild Xorg-7.7-3d natively to get VLC to work - maybe have a go at the VT6655 module too while I am at it, then only the touch-screen remains...

Many thanks for your help
Richard

Offline Richard MQ

  • Newbie
  • *
  • Posts: 15
Re: Installing VLC breaks X server
« Reply #4 on: April 13, 2020, 11:15:02 AM »
Well this is getting a bit off-topic here but included for completeness in case someone else has a similar issue - this is on AMD Geode LX-800, 32 bit x86 embedded CPU, originally from Cyrix via National Semiconductor, c. 2002 vintage.

Building vlc (v3.0.8 source from videolan.org, and starting from ./configure as usual) proceeds fine for a while but then fails with what is probably a related error:

Code: (make) [Select]
make[2]: Leaving directory '/mnt/sda1/Progs/vlc-3.0.8/src'
Making all in modules
make[2]: Entering directory '/mnt/sda1/Progs/vlc-3.0.8/modules'
  UIC    gui/qt/ui/equalizer.h
make[2]: *** [Makefile:31008: gui/qt/ui/equalizer.h] Illegal instruction
make[2]: Leaving directory '/mnt/sda1/Progs/vlc-3.0.8/modules'
make[1]: *** [Makefile:1553: all-recursive] Error 1
make[1]: Leaving directory '/mnt/sda1/Progs/vlc-3.0.8'
make: *** [Makefile:1438: all] Error 2

The file equalizer.h is a one-line macro:
Code: (make) [Select]
#define Q_(a,b) QString::fromUtf8(_(a))
but dmesg points to the problem being in libQt5Core.so:
Code: (bash) [Select]
traps: uic[6569] trap invalid opcode ip:b7c7ca21 sp:bfca8458 error:0 in libQt5Core.so.5.14.0[b7c1a000+1b2000]

So now it looks as though I would have to build Qt as well ...

My aim was to turn the box into a DNLA (uPNP) client for music, so I think I need to try a different approach!
Thanks all
--
Richard
Linux user # 439271

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: Installing VLC breaks X server
« Reply #5 on: April 13, 2020, 09:50:11 PM »
You might be better off compiling mplayer and leaving out any deps like libva that pull in Xorg-7.7-3d?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: Installing VLC breaks X server
« Reply #6 on: April 13, 2020, 11:44:10 PM »
There's also live media player distros like Geexbox, though you'd need to check their cpu requirements as well.
The only barriers that can stop you are the ones you create yourself.

Offline Richard MQ

  • Newbie
  • *
  • Posts: 15
Re: Installing VLC breaks X server
« Reply #7 on: April 14, 2020, 11:32:37 AM »
Thanks Both

I hadn't thought to try mplayer, I've never had any success with it as a uPNP client - but will look into it.

Am now trying rhythmbox (still under CorePlus 11.1 on this Geode Panel PC) - I note that it fails on various dependencies at run-time (no errors on loading though):

libtotem-plparser.so.17 (fixed by bodging a symlink to libtotem-plparser.so.18, which is installed)
libarchive.so.2 -> libarchive.so.13
libcrypto.so.1.0.0 -> libcrypto.so.1.1
liborc-0.4.so.0 installed from repo as liborc.tcz
- not sure where best to report these, I don't think it is to do with my hardware platform (?)

Also installed gstreamer and grilo but still won't see my upnp server (gerbera on raspberry pi, works fine with vlc on platforms that can run it)!

Edit: grilo plugin is not working because grilo.tcz provides libgrilo-0.3.so but rhythmbox expects -0.2.so, unfortunately the symlink trick fails here though with the following error:

Code: (bash) [Select]
Failed to get 'peas_register_types' for module 'grilo': 'peas_register_types': /usr/local/lib/rhythmbox/plugins/grilo/libgrilo.so: undefined symbol: peas_register_types
Rhythmbox runs well otherwise so looks like worth pursuing.
Thanks again
--
Richard
Linux user # 439271
« Last Edit: April 14, 2020, 11:49:35 AM by Richard MQ »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: Installing VLC breaks X server
« Reply #8 on: April 14, 2020, 10:30:35 PM »
Ironically rhythmbox was originally compiled to test recursive deps since it has so many...

I'll take a look.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: Installing VLC breaks X server
« Reply #9 on: April 15, 2020, 05:37:13 AM »
Updated rhythmbox posted - tested with local and streamed music

Offline Richard MQ

  • Newbie
  • *
  • Posts: 15
Re: Installing VLC breaks X server
« Reply #10 on: April 15, 2020, 10:38:35 AM »
Will give it a try when I can - in cleaning up my installation (removing piles of stuff installed chasing VLC issues) I seem to have broken something. So I will start again from scratch, but no time to do that today.
Thanks for your patience
Richard

Offline Richard MQ

  • Newbie
  • *
  • Posts: 15
Re: Installing VLC breaks X server
« Reply #11 on: April 16, 2020, 12:28:18 PM »
Hi Juanito,
I get the same behaviour as before:
Fresh install to flash memory card, Core Plus 11.1
Set up wifi, Installed openssh and rhythmbox (only) using apps browser
Code: (bash) [Select]
tc@box:~$ rhythmbox
rhythmbox: error while loading shared libraries: libtotem-plparser.so.17: cannot open shared object file: No such file or directory
I symlinked as previously, then it reports libarchive.so.2 missing...
Is there a preferred way to fingerprint the tcz? md5sum is 676352d4e43a83abf3f416802ac3a96e
Thanks
Richard

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: Installing VLC breaks X server
« Reply #12 on: April 16, 2020, 01:12:07 PM »
Hi Richard MQ
Try updating your system. Run these commands:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
Click the  Exit  icon and select reboot.

See if  rhythmbox  behaves any differently.

Is there a preferred way to fingerprint the tcz? md5sum is 676352d4e43a83abf3f416802ac3a96e
If you are asking how to check the md5sum to make sure the extension wasn't corrupted:
Code: [Select]
cd /etc/sysconfig/tcedir/optional
md5sum -c rhythmbox.tcz.md5.txt

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: Installing VLC breaks X server
« Reply #13 on: April 16, 2020, 01:17:07 PM »
Hi Richard MQ
... this is on AMD Geode LX-800, 32 bit x86 embedded CPU, originally from Cyrix via National Semiconductor, c. 2002 vintage. ...
Ignore my last post. I just checked the repositories and noticed Juanito updated the 64 bit version, not the 32 bit version.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: Installing VLC breaks X server
« Reply #14 on: April 16, 2020, 11:45:28 PM »
rhythmbox also updated on 11.x x86