How install Mesa drivers on Debian 10 from backports.

Kernels & Hardware, configuring network, installing services

How install Mesa drivers on Debian 10 from backports.

Postby marietto » 2019-10-10 15:38

Hello to everyone.

I'm running Debian 10 on a cpu I9-9900k with a mobo gigabyte aorus pro (that has an intel graphic chipset integrated). As primary graphic card I have the nvidia RTX 2080 ti. I have two monitors. I want to have the monitor A that works with the nvidia graphic card and the monitor B with the intel integrated chipset. The problem is that only the monitor A is working now. The monitor B is turned off. At the beginning,when I'd installed Debian buster,it ran with the 4.19 kernel,but I have installed an upgraded kernel (5.3.2) since the old one didn't support the intel graphic chipset of my mobo. Someone helped me,allowing me to use his repo. The instructions to add that repo and its key for the Buster installation are written below. The problem is that it seems that they are not enough. Infact he says that my Intel GPU may requires a backport of Mesa. This is because I'm here. I would like to know how to install the required mesa drivers to make work my intel graphic chipset. Thanks.

Code: Select all
echo  'deb  http://download.opensuse.org/repositories/home:/stevenpusser:/new-hardware-support-buster/Debian_10/  /' >  /etc/apt/sources.list.d/home:stevenpusser:new-hardware-support-buster.list

rm  -rf Release.key && wget -nv  https://download.opensuse.org/repositories/home:stevenpusser:new-hardware-support-buster/Debian_10/Release.key  -O Release.key && apt-key add - < Release.key && rm  -rf Release.key
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: How install Mesa drivers on Debian 10 from backports.

Postby stevepusser » 2019-10-10 19:41

I'll take a look at backporting them in my repo. Sid currently has Mesa 19.2.1, testing has 19.1.6. On the Ubuntu release where it does pick up your Intel card, what version of libgl1-mesa-dri is installed?

Another problem with new Intel hardware is that it may need firmware that still hasn't made its way into even Debian's
latest firmware-misc-nonfree package in my repo (which you should have installed). One trick is to search the boot kernel messages for any firmware error messages for the graphic driver:
Code: Select all
dmesg | grep -i firmware


A problem with upgrading Mesa is that that will then break va-api hardware accelerated video playback for whatever applications you had it working for. The fix is for me to then rebuild ffmpeg and the affected players, such as vlc, kodi, mpv, handbrake, etc., in that same repo against the newer Mesa, but you'll have to give me some time for that--doing the same for MX Linux keeps me pretty busy already.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: How install Mesa drivers on Debian 10 from backports.

Postby marietto » 2019-10-10 20:54

can you get the necessary files on ubuntu ? :P

On Ubuntu :

ziomario-Z390-AORUS-PRO:/home/ziomario# dmesg | grep -i firmware
[ 1.785973] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)

ziomario-Z390-AORUS-PRO:/# apt reinstall libgl1-mesa-dri
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 2 reinstallati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 0 B/14,0 MB di archivi.
Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
Continuare? [S/n] s
(Lettura del database... 252423 file e directory attualmente installati.)
Preparativi per estrarre .../libgl1-mesa-dri_19.0.8-0ubuntu0~19.04.1_amd64.deb...
Estrazione di libgl1-mesa-dri:amd64 (19.0.8-0ubuntu0~19.04.1) su (19.0.8-0ubuntu0~19.04.1)...
Preparativi per estrarre .../libgl1-mesa-dri_19.0.8-0ubuntu0~19.04.1_i386.deb...
Estrazione di libgl1-mesa-dri:i386 (19.0.8-0ubuntu0~19.04.1) su (19.0.8-0ubuntu0~19.04.1)...
Configurazione di libgl1-mesa-dri:amd64 (19.0.8-0ubuntu0~19.04.1)...
Configurazione di libgl1-mesa-dri:i386 (19.0.8-0ubuntu0~19.04.1)...
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: How install Mesa drivers on Debian 10 from backports.

Postby marietto » 2019-10-11 11:44

someone suggested :

Update your system to Debian Sid, it has Mesa 19.2.1-1 and you can use the Oibaf ppa eon version for the latest Mesa.

is this a good idea ?
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: How install Mesa drivers on Debian 10 from backports.

Postby stevepusser » 2019-10-11 22:19

I would only recommend Sid to experienced Debian users.

As for using a PPA on Debian, usually it's a very bad idea. Sometime it works, sometime it infects your system with problems that you'll only get out by a complete reinstall. https://wiki.debian.org/DontBreakDebian

This "someone" isn't doing you any favors.

I actually meant for you to grep dmsg for firmware errors on Debian, since that's where the problem is.

Ubuntu does have Mesa 19.08 working with your hardware, so backporting testing's 19.1 should be recent enough.

Did you have firmware-misc-nonfree installed on Debian? I think I asked this before, but can't recall if you answered.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: How install Mesa drivers on Debian 10 from backports.

Postby marietto » 2019-10-12 08:22

I suspected that and I did not upgrade to sid.

root@DESKTOP-N9UN2H3:/home/mariozio# apt install firmware-misc-nonfree
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
libmwaw-0.3-3 libreoffice-avmedia-backend-gstreamer
Usare "apt autoremove" per rimuoverli.
I seguenti pacchetti saranno RIMOSSI:
firmware-linux firmware-linux-nonfree
I seguenti pacchetti saranno RETROCESSI:
firmware-misc-nonfree
0 aggiornati, 0 installati, 1 retrocessi, 2 da rimuovere e 155 non aggiornati.
È necessario scaricare 3.338 kB di archivi.
Dopo quest'operazione, verranno liberati 3.004 kB di spazio su disco.
Continuare? [S/n]
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: How install Mesa drivers on Debian 10 from backports.

Postby Bloom » 2019-10-12 09:15

What does
Code: Select all
lsb_release -a

say?
User avatar
Bloom
 
Posts: 193
Joined: 2017-11-11 12:23

Re: How install Mesa drivers on Debian 10 from backports.

Postby marietto » 2019-10-12 11:12

root@DESKTOP-N9UN2H3:/home/mariozio# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: How install Mesa drivers on Debian 10 from backports.

Postby Bloom » 2019-10-12 13:44

So this is Buster (current new stable version) and not Sid.
Can you give us the contents of /etc/apt/sources.list?
User avatar
Bloom
 
Posts: 193
Joined: 2017-11-11 12:23

Re: How install Mesa drivers on Debian 10 from backports.

Postby CwF » 2019-10-12 14:01

The OP has two incompatible paths ongoing.
http://forums.debian.net/viewtopic.php?f=7&t=143865
CwF
 
Posts: 501
Joined: 2018-06-20 15:16

Re: How install Mesa drivers on Debian 10 from backports.

Postby stevepusser » 2019-10-12 19:04

Bloom wrote:So this is Buster (current new stable version) and not Sid.
Can you give us the contents of /etc/apt/sources.list?


The last I knew, they had added my OBS repo to get the lastest 5.3.2 kernel, firmware, and Nvidia-driver backported to Buster, so don't get put off by that in their sources. My repo doesn't make any distinction between free, contrib, or non-free packages.

If I do add Mesa 19.1 from Bullseye to that repo, that will also show up as an automatic upgrade. I have test backporting that in a Buster pbuilder chroot first on my TODO list...
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: How install Mesa drivers on Debian 10 from backports.

Postby stevepusser » 2019-10-12 21:24

I've loaded the sources for Mesa 19.1.6 into my repo, along with its build-depends that will have to finish first. The big one of those is the llvm-8-toolchain, which will take hours and hours on the OBS. And llvm-8 is already in debian-backports for anyone interested in "trying this at home."
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: How install Mesa drivers on Debian 10 from backports.

Postby marietto » 2019-10-21 12:33

give the commands that I should do. Anyway I've been able to configured everything correctly on ubuntu 19.04. now i have a working passthrough system. but let's go ahead on debian.
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: How install Mesa drivers on Debian 10 from backports.

Postby stevepusser » 2019-10-21 17:18

Didn't I already post the commands on your Reddit thread?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: How install Mesa drivers on Debian 10 from backports.

Postby marietto » 2019-10-22 14:39

where ?
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable