Jump to content


Photo

Cannot run TDM on Kubuntu 18.04 [Solved]

libxext.so.6 32 bit libraries must install libglu1:i386

  • Please log in to reply
13 replies to this topic

#1 Ladro

Ladro

    Member

  • Member
  • PipPip
  • 327 posts

Posted 28 April 2018 - 02:55 PM

Hello guys :-D

 

I've installed Kubuntu the latest 18.04, and KDE rocks (far far far better then Gnome, IMHO, Plasma evolved incredibly). The problem is: I cannot run my lovely TDM :-(

 

If I launch it from shell ("./thedarkmod.x86") as I was doing in the past versions of Ubuntu, I receive this  message:

error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory

I tried with "apt search" to find out about this library and:

libxext-dev/bionic 2:1.3.3-1 amd64
  X11 miscellaneous extensions library (development headers)

libxext-doc/bionic,bionic 2:1.3.3-1 all
  X11 miscellaneous extensions library (documentation)

libxext6/bionic,now 2:1.3.3-1 amd64 [installato]
  X11 miscellaneous extension library

libxext6-dbg/bionic 2:1.3.3-1 amd64
  X11 miscellaneous extensions library (debug package)

libxmu-dev/bionic 2:1.1.2-2 amd64
  X11 miscellaneous utility library (development headers)

libxmu6/bionic,now 2:1.1.2-2 amd64 [installato]
  X11 miscellaneous utility library

libxmu6-dbg/bionic 2:1.1.2-2 amd64
  X11 miscellaneous utility library (debug package)

libxmuu-dev/bionic 2:1.1.2-2 amd64
  X11 miscellaneous micro-utility library (development headers)
                                                                                                                                                                                         
libxmuu1/bionic,now 2:1.1.2-2 amd64 [installato]                                                                                                                                         
  X11 miscellaneous micro-utility library                                                                                                                                                
                                                                                                                                                                                         
libxmuu1-dbg/bionic 2:1.1.2-2 amd64                                                                                                                                                      
  X11 miscellaneous micro-utility library (debug package)

So the "libxext6" is installed.

 

Any suggestions to solve this?


Edited by Ladro, 08 May 2018 - 04:28 PM.


#2 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 602 posts

Posted 29 April 2018 - 05:09 AM

also package "libXext.x86_64"? (source: stack overflow)

Edited by freyk, 29 April 2018 - 05:13 AM.


#3 tapewolf

tapewolf

    Member

  • Member
  • PipPip
  • 11 posts

Posted 29 April 2018 - 08:50 AM

OK.  The reason it's not working is because DarkMod is still a 32-bit application.  You have only got the 64-bit version of those libraries installed.

 

Try this:

sudo apt-get install libxext6:i386

 

...and similar for any other libraries that aren't installed by default.



#4 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 602 posts

Posted 29 April 2018 - 09:02 AM

See also wiki article: Installing TDM on Linux 64 bit manually

#5 Ladro

Ladro

    Member

  • Member
  • PipPip
  • 327 posts

Posted 29 April 2018 - 03:45 PM

Ok guys, thanks for replies :-D

 

As suggested, I installed also libxxf86vm1 (32 bit version), that was requested.

 

So the 32 bit libraries are there... But now I cannot run because:

[...]
execing Darkmod.cfg
Couldn't exec autoexec.cfg - file does not exist.
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1229 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
dlopen(libGL.so.1)
idRenderSystem::Shutdown()
signal caught: Segmentation fault
si_code 1
Was in fatal error shutdown: Unable to initialize OpenGL
Trying to exit gracefully..
About to exit with code 0

So now the problem is the opengl drivers of my card :-(

 

(with the previous Ubuntu I was running TDM without any problem with the same HW)

 

I'll try installing some other drivers (I use an AMD CPU/APU 7700k)


Edited by Ladro, 29 April 2018 - 03:49 PM.


#6 tapewolf

tapewolf

    Member

  • Member
  • PipPip
  • 11 posts

Posted 29 April 2018 - 05:02 PM

Hmm. For what it's worth, I am also running on Kubuntu 18.04, though with a 4.16 custom kernel and an RX480 for graphics.

 

You might try:

grep EE /var/log/Xorg.0.log

..and see if that shows any errors trying to start up the video acceleration.

 

Also try running glxinfo, and see if that says anything.

 

If it does return pages of stuff rather than an immediate error, try this to narrow it down:

glxinfo  | grep -i renderer



#7 Ladro

Ladro

    Member

  • Member
  • PipPip
  • 327 posts

Posted 29 April 2018 - 06:16 PM

glxinfo  | grep -i renderer

 

glxinfo return this:

GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD KAVERI (DRM 2.50.0 / 4.15.0-19-generic, LLVM 6.0.0)

So, if I understand this message, the OpenGL renderer it's up and running ("DRM 2.50.0 / 4.15.0-19-generic, LLVM 6.0.0").

 

But the bad news it's the Xorg.log when I read:

[ 45792.481] (EE) RADEON(0): failed to set mode: Permission denied
[ 85341.984] (EE) RADEON(0): failed to set mode: Permission denied


#8 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 602 posts

Posted 30 April 2018 - 12:03 AM

Also the libgl 32 bit installed? (i cannot read that in your glxinfo)
https://www.codeweav...ag/MissingLibGL
(get the amd one)


Edited by freyk, 30 April 2018 - 02:19 AM.


#9 tapewolf

tapewolf

    Member

  • Member
  • PipPip
  • 11 posts

Posted 30 April 2018 - 03:59 PM

Not sure about the modeset error, but yes, it looks like OpenGL is using the accelerated drivers, at least in 64-bit mode.  You can try running glxgears as a simple test.

But as Freyk says, I'd make sure the 32-bit OpenGL stack is also present.

 

2.06 beta provides a native 64-bit binary so that version should, fingers crossed, work pretty much out-of-the-box.

 

EDIT: That said, I'm not 100% sure that fglrx is still the way things are done.  I think that was replaced with amdgpu a few years back.

On my system, I have libgl1-mesa-dri and libgl1-mesa-glx installed.

 

It might be worth double-checking to see what packages the 64-bit version is using, e.g.

sudo apt list --installed | grep -i gl1

On my system that returns the following:

 

 ibegl1/bionic,now 1.0.0-2ubuntu2 amd64 [installed]
libegl1-mesa/bionic,now 18.0.0~rc5-1ubuntu1 amd64 [installed]
libegl1-mesa-dev/bionic,now 18.0.0~rc5-1ubuntu1 amd64 [installed]
libfltk-gl1.3/bionic,now 1.3.4-6 amd64 [installed,automatic]
libgl1/bionic,now 1.0.0-2ubuntu2 amd64 [installed]
libgl1-mesa-dri/bionic,now 18.0.0~rc5-1ubuntu1 amd64 [installed]
libgl1-mesa-glx/bionic,now 18.0.0~rc5-1ubuntu1 amd64 [installed]
libgstreamer-gl1.0-0/bionic,now 1.14.0-2ubuntu1 amd64 [installed,automatic]
libwayland-egl1-mesa/bionic,now 18.0.0~rc5-1ubuntu1 amd64 [installed,automatic]

 

...so whatever it returns for you, it might be worth trying to install the i386 version of those packages.  You may potentially need to restart the window system for the changes to take effect, I'm not sure.

 


Edited by tapewolf, 30 April 2018 - 04:21 PM.


#10 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 602 posts

Posted 01 May 2018 - 01:00 AM

Installing 32 bit packages to run tdm.x86 on a 64 bit linux os,
is the known solution that every time works for the video part. (see other topics)

But we need to know which packages are exactly needed (for system, video and sound).
During the years, i gathered them in the tdm-wiki article.
But i'm not a expert on this subject.
 
Any help is appreciated :)
(for starters, please check the wiki on several Linux issues. Pm your advice, so i or others can add them)

Edited by freyk, 01 May 2018 - 04:15 AM.


#11 Ladro

Ladro

    Member

  • Member
  • PipPip
  • 327 posts

Posted 08 May 2018 - 04:33 PM

In the end I solved the issue in this way:

 

I installed too this library:

 

=> libglu1:i386

 

After the command to install this library with:

apt install libglu1:i386

The system automatically installed all these libraries (:i386 version, I'm with a 64 bit OS version):

libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libgl1:i386 libgl1-mesa-dri:i386
  libgl1-mesa-glx:i386 libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libllvm6.0:i386 libpciaccess0:i386 libsensors4:i386 libstdc++6:i386 libtinfo5:i386
  libx11-xcb1:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxdamage1:i386 libxfixes3:i386 libxshmfence1:i386 zlib1g:i386

So now TDM it's running :-D

 

[I modified the subject to -solved-]

 

I don't know if this can/have to be added to any wiki, anyway this was my way to have running TDM on a fresh install of a Kubuntu 18.04 64 bit (otherwise TDM was not running).

 

Thanks to all for the kind assistance! :-)

 

I love this game and I love this community :D


Edited by Ladro, 08 May 2018 - 05:08 PM.


#12 tapewolf

tapewolf

    Member

  • Member
  • PipPip
  • 11 posts

Posted 08 May 2018 - 05:37 PM

Glad to hear it! 


  • Ladro likes this

#13 Ladro

Ladro

    Member

  • Member
  • PipPip
  • 327 posts

Posted 08 May 2018 - 05:43 PM

Addendum: it's necessary to install also this library:

 

=> pulseaudio:i386

 

(sudo apt install ...)

 

Otherwise: no audio :-(

 

Now it works 100% B)



#14 Ladro

Ladro

    Member

  • Member
  • PipPip
  • 327 posts

Posted 08 May 2018 - 05:43 PM

Glad to hear it! 

Thanks you so much :D






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users