Choose style:

Author Topic: Install 32-bit mesa drivers (SOLVED)  (Read 154 times)

0 Members and 1 Guest are viewing this topic.

Offline Fozzie_44

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Install 32-bit mesa drivers (SOLVED)
« on: December 03, 2019, 01:01:53 am »
I'm trying to install 32-bit mesa drivers to support 32-bit games via Lutris/Steam; I'm following the instructions here: https://github.com/lutris/lutris/wiki/Installing-drivers but when I try to run the command
Code: [Select]
sudo apt install libgl1-mesa-glx:i386 libgl1-mesa-dri:i386
I get the following error:
Code: [Select]
sudo apt install libgl1-mesa-glx:i386 libgl1-mesa-dri:i386
When I try to install the above package (libllvm8:i386) I get the below error:
Code: [Select]
The following packages have unmet dependencies.
 gvfs : Depends: gvfs-daemons (>= 1.36.1-0ubuntu1.3.3)
        Depends: gvfs-daemons (< 1.36.1-0ubuntu1.3.3.1~)
From what I understand I seem to have 'gvfs-daemons' but not the exact version needed which from reading the ubuntu package site seems to be for 32-bit - what's the best way to resolve this?
Thank you in advance for any help you can give me  :)
« Last Edit: December 03, 2019, 03:54:13 pm by PCNetSpec, Reason: Marked as (SOLVED) »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Install 32-bit mesa drivers
« Reply #1 on: December 03, 2019, 05:27:34 am »
Hi Fozzie_44, and welcome to the forum :)

Which version of Peppermint are you running ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fozzie_44

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Install 32-bit mesa drivers
« Reply #2 on: December 03, 2019, 06:47:17 am »
Thanks!

I'm running Peppermint 10 on a Delll latitude e7240

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Install 32-bit mesa drivers
« Reply #3 on: December 03, 2019, 07:07:53 am »
What's the output from:
Code: [Select]
dpkg -l | grep gvfs
and
Code: [Select]
dpkg -l | grep libllvm
and
Code: [Select]
dpkg -l | grep libgl1-mesa
« Last Edit: December 03, 2019, 07:13:36 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fozzie_44

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Install 32-bit mesa drivers
« Reply #4 on: December 03, 2019, 07:21:50 am »
From dpkg -l | grep gvfs:

Code: [Select]
ii  gvfs:amd64                                    1.36.1-0ubuntu1.3.3                              amd64        userspace virtual filesystem - GIO module
ii  gvfs-backends                                 1.36.1-0ubuntu1.3.3                              amd64        userspace virtual filesystem - backends
ii  gvfs-bin                                      1.36.1-0ubuntu1.3.3                              amd64        userspace virtual filesystem - binaries
ii  gvfs-common                                   1.36.1-0ubuntu1.3.3                              all          userspace virtual filesystem - common data files
ii  gvfs-daemons                                  1.36.1-0ubuntu1.3.3                              amd64        userspace virtual filesystem - servers
ii  gvfs-fuse                                     1.36.1-0ubuntu1.3.3                              amd64        userspace virtual filesystem - fuse server
ii  gvfs-libs:amd64                               1.36.1-0ubuntu1.3.3                              amd64        userspace virtual filesystem - private libraries

From dpkg -l | grep libllvm:

Code: [Select]
ii  libllvm8:amd64                                1:8-3~ubuntu18.04.1                              amd64        Modular compiler and toolchain technologies, runtime library

From dpkg -l | grep libgl1-mesa:

Code: [Select]
ii  libgl1-mesa-dri:amd64                         19.1.2-0~b~padoka0                               amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                         19.1.2-0~b~padoka0                               amd64        transitional dummy package

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Install 32-bit mesa drivers
« Reply #5 on: December 03, 2019, 07:51:55 am »
The problem appears to be with the 'padoka' PPA you've added (whatever that is).
(it's causing you to have an incompatible versions of libgl1-mesa-dri and libgl1-mesa-glx)

what's the output from:
Code: [Select]
for APT in `find /etc/apt/ -name \*.list`; do grep -o "^deb http://ppa.launchpad.net/[a-z0-9\-]\+/[a-z0-9\-]\+" $APT | while read ENTRY ; do USER=`echo $ENTRY | cut -d/ -f4` PPA=`echo $ENTRY | cut -d/ -f5` ; echo ppa:$USER/$PPA ; done ; done
and
Code: [Select]
ls /etc/apt/sources.list.d
and
Code: [Select]
dpkg -l | grep 19.1.2
« Last Edit: December 03, 2019, 10:04:19 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fozzie_44

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Install 32-bit mesa drivers
« Reply #6 on: December 03, 2019, 09:13:03 am »
The Padoka PPA was added as part of the Lutris install instructions I was following here https://github.com/lutris/lutris/wiki/Installing-drivers - I think it points to different drivers for MESA which ties up to what you're saying.

First output:

Code: [Select]
ppa:peppermintos/p10-release
ppa:lutris-team/lutris
ppa:paulo-miguel-dias/pkppa

Output for 'ls /etc/apt/sources.list.d'

Code: [Select]
lutris-team-ubuntu-lutris-bionic.list       paulo-miguel-dias-ubuntu-pkppa-bionic.list       peppermint.list       playonlinux.list
lutris-team-ubuntu-lutris-bionic.list.save  paulo-miguel-dias-ubuntu-pkppa-bionic.list.save  peppermint.list.save

Output for 'dpkg -l | grep dpkg -l | grep 19.1.2' returns nothing...

Thank you for your support on this.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Install 32-bit mesa drivers
« Reply #7 on: December 03, 2019, 09:56:46 am »
My mistake, make that
Code: [Select]
dpkg -l | grep 19.1.2
and can you also post the output from
Code: [Select]
dpkg -l | grep padoka
and
Code: [Select]
dpkg -l | grep oibaf
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fozzie_44

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Install 32-bit mesa drivers
« Reply #8 on: December 03, 2019, 10:06:37 am »
Output from 'dpkg -l | grep 19.1.2':

Code: [Select]
ii  libdap25:amd64                                3.19.1-2build1                                   amd64        Open-source Project for a Network Data Access Protocol library
ii  libdapclient6v5:amd64                         3.19.1-2build1                                   amd64        Client library for the Network Data Access Protocol
ii  libegl-mesa0:amd64                            19.1.2-0~b~padoka0                               amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                            19.1.2-0~b~padoka0                               amd64        transitional dummy package
ii  libgbm1:amd64                                 19.1.2-0~b~padoka0                               amd64        generic buffer management API -- runtime
ii  libgl1-mesa-dri:amd64                         19.1.2-0~b~padoka0                               amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                         19.1.2-0~b~padoka0                               amd64        transitional dummy package
ii  libglapi-mesa:amd64                           19.1.2-0~b~padoka0                               amd64        free implementation of the GL API -- shared library
ii  libglx-mesa0:amd64                            19.1.2-0~b~padoka0                               amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6:amd64                              19.1.2-0~b~padoka0                               amd64        Mesa Off-screen rendering extension
ii  libwayland-egl1-mesa:amd64                    19.1.2-0~b~padoka0                               amd64        transitional dummy package
ii  libxatracker2:amd64                           19.1.2-0~b~padoka0                               amd64        X acceleration library -- runtime

Output from 'dpkg -l | grep padoka':

Code: [Select]
ii  libdrm-amdgpu1:amd64                          2.4.100-3~b~padoka0                              amd64        Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii  libdrm-common                                 2.4.100-3~b~padoka0                              all          Userspace interface to kernel DRM services -- common files
ii  libdrm-intel1:amd64                           2.4.100-3~b~padoka0                              amd64        Userspace interface to intel-specific kernel DRM services -- runtime
ii  libdrm-nouveau2:amd64                         2.4.100-3~b~padoka0                              amd64        Userspace interface to nouveau-specific kernel DRM services -- runtime
ii  libdrm-radeon1:amd64                          2.4.100-3~b~padoka0                              amd64        Userspace interface to radeon-specific kernel DRM services -- runtime
ii  libdrm2:amd64                                 2.4.100-3~b~padoka0                              amd64        Userspace interface to kernel DRM services -- runtime
ii  libegl-mesa0:amd64                            19.1.2-0~b~padoka0                               amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                            19.1.2-0~b~padoka0                               amd64        transitional dummy package
ii  libgbm1:amd64                                 19.1.2-0~b~padoka0                               amd64        generic buffer management API -- runtime
ii  libgl1-mesa-dri:amd64                         19.1.2-0~b~padoka0                               amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                         19.1.2-0~b~padoka0                               amd64        transitional dummy package
ii  libglapi-mesa:amd64                           19.1.2-0~b~padoka0                               amd64        free implementation of the GL API -- shared library
ii  libglx-mesa0:amd64                            19.1.2-0~b~padoka0                               amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6:amd64                              19.1.2-0~b~padoka0                               amd64        Mesa Off-screen rendering extension
ii  libwayland-egl1-mesa:amd64                    19.1.2-0~b~padoka0                               amd64        transitional dummy package
ii  libxatracker2:amd64                           19.1.2-0~b~padoka0                               amd64        X acceleration library -- runtime

Output from 'dpkg -l | grep oibaf' returns nothing

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Install 32-bit mesa drivers
« Reply #9 on: December 03, 2019, 10:13:43 am »
Why did you add the padoka PPA ?

Something tells me the best way forward here would probably be to purge the padoka PPA (which will downgrade mesa back to the default 19.0.8 ) then hopefully everything should just work.
Code: [Select]
sudo ppa-purge ppa:paulo-miguel-dias/pkppa

But if you NEED an updated mesa, I have a PPA for mesa 19.1.4 here
https://launchpad.net/~mark-pcnetspec/+archive/ubuntu/mesa-19.1.4
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fozzie_44

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Install 32-bit mesa drivers
« Reply #10 on: December 03, 2019, 10:59:46 am »
Thank you - that did the trick. Once I purged it I was able to install the MESA libraries and Vulkan and my application now launches  :)

I blindly followed the instructions from the Lutris wiki and added the MESA driver PPA as they suggested, but it didn't occur to me to try removing it (or that I didn't need it at all anyway). Next time I'll be more careful to check the reasons for adding PPAs.

Thanks again for your help.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Install 32-bit mesa drivers
« Reply #11 on: December 03, 2019, 03:52:07 pm »
Glad I could help.

If you now consider this topic (SOLVED), can you please edit the FIRST posting in this topic and change:-

Subject: Install 32-bit mesa drivers (SOLVED)

Thanks in advance :)

[EDIT]

I've done this one for you, but please remember to mark your future topics solved when you consider them so .. TIA :)
« Last Edit: December 03, 2019, 03:55:10 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec