how to use the intel graphic chipset driver,instead of nvidi

Everything about X, Gnome, KDE, ... and everything running on it

how to use the intel graphic chipset driver,instead of nvidi

Postby marietto » 2019-10-06 11:26

I'm running debian 10 on a I9-9900k + gigabyte aurus pro (with the intel graphic chipset integrated) + nvidia RTX 2080ti graphic card. I have two monitors. I have attached the monitor A with the HDMI port of the nvidia graphic card and the monitor B with the HDMI port of the intel integrated chipset. The problem is that only the monitor A is working now. The monitor B is turned off. Maybe there is something bad with the secondary graphic. I don't have a xorg.conf file on debian. Don't know why. I tried to generate it,with this command :

mario@DESKTOP-N9UN2H3:/home/mariozio# Xorg -configure

but it didn't work :

using config file : "/root/xorg.conf.new"
using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: FATAL: module fbcon not found in directory /lib/modules4.19.0-6-amd64
intel : waited 2020 ms for i915.ko driver to load
number of created screens does not match number of detected devices
configuration failed

at this point,I found this thread :

X -configure doesn't work, [Number of created screens does not match number of detected devices]

I found interesting what he said here : "this would restrict the X server to use only the Intel iGPU and ignore the Nvidia dGPU for now, and to auto-detect all the input devices, display resolutions etc."

so,I tried to do the same. The result has been that debian freezed on the boot stage,when it said "nvidia persistent daemon",nothing happened anymore. What do to next ? thanks.
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: how to use the intel graphic chipset driver,instead of n

Postby p.H » 2019-10-06 13:08

It is rather common that the motherboard firmware disables the integrated GPU when an add-on GPU is present. If there is no option to enable both GPUs in the firmware setup, there is nothing you can do. Why don't you connect both monitors to the Nvidia card ?

Does "lspci" show the Intel GPU ?
p.H
 
Posts: 1158
Joined: 2017-09-17 07:12

Re: how to use the intel graphic chipset driver,instead of n

Postby marietto » 2019-10-06 13:10

I have enabled the intel chipset on the BIOS,infact it works under Windows.

mario@DESKTOP-N9UN2H3:/home/mariozio# lspci

00:00.0 Host bridge: Intel Corporation 8th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] (rev 0d)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 0d)
----> 00:02.0 Display controller: Intel Corporation Device 3e98 (rev 02)
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation Z390 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU102 UCSI Controller (rev a1)
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: how to use the intel graphic chipset driver,instead of n

Postby marietto » 2019-10-06 13:13

yes,I can connect both monitors on the nvidia card,but what happens next ? I mean,can I use the nvidia card on host OS (debian 10) and also in the guest OS (windows 10) at the same time with the passthrough ?
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: how to use the intel graphic chipset driver,instead of n

Postby p.H » 2019-10-06 13:34

I'm afraid that the kernel 4.19 does not support this GPU. Does "lspci -k" report a module associated to it ?
p.H
 
Posts: 1158
Joined: 2017-09-17 07:12

Re: how to use the intel graphic chipset driver,instead of n

Postby marietto » 2019-10-06 13:53

no...

00:02.0 Display controller: Intel Corporation Device 3e98 (rev 02)
Subsystem: Gigabyte Technology Co., Ltd Device d000
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: how to use the intel graphic chipset driver,instead of n

Postby p.H » 2019-10-06 14:01

You may have better luck with a more recent kernel.
p.H
 
Posts: 1158
Joined: 2017-09-17 07:12

Re: how to use the intel graphic chipset driver,instead of n

Postby marietto » 2019-10-06 14:22

I've alreay tried to compile a newer kernel by myself. it's the 5.3.2. I used the default settings,without to modify anything. the problem is that with that kernel debian freezes on boot. beyond this point,my already little knowledge become nulled,since I'm not able to understand why a new kernel freezes and I don't know how to fix it. Can u give me detailed instructions about what to do ? Also,someone told me :

That is not possible (that kernel 4.19 does not support the intel gpu), there are two ways kernel level builtin modules and addon drivers loaded after ..

lspci | egrep -i '(intel|nvidia)'

Do you have both as presented to Debian.

If both are reflected, then you would need to use the graphical side and modprobe to load both graphics modules/drivers to activate both resources. Not sure whether Intel in addition to drivers for Linux has a toolset for Linux to handle multi monitor activation....
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: how to use the intel graphic chipset driver,instead of n

Postby p.H » 2019-10-06 14:42

marietto wrote:I've alreay tried to compile a newer kernel by myself. it's the 5.3.2.

What about trying the 5.2 kernel from buster-backports ?

marietto wrote:Also,someone told me :

In these words ? This is gibberish to me.
p.H
 
Posts: 1158
Joined: 2017-09-17 07:12

Re: how to use the intel graphic chipset driver,instead of n

Postby stevepusser » 2019-10-06 19:19

There is some critical information missing:

Your Intel GPU requires firmware-misc-nonfree to work correctly. Is that package installed?

Are you using the non-free Nvidia video driver, and if so, which version?

p.H. wrote

I'm afraid that the kernel 4.19 does not support this GPU. Does "lspci -k" report a module associated to it ?


Regardless of which GPU you mean, I'm sure the 4.19 kernel supports either one, assuming the non-free Nvidia driver is installed. What evidence do you have to back up your assertion? Did you mean the stock Buster nouveau drivers instead of the kernel?

FWIW, I''ve backported the 435.21 Nvidia driver and the 5.3.2 upstream Debian kernel for both a Stretch and Buster base
for MX 17 and 19, they are working well, and I'm willing to offer advice if you want to try it yourself. The kernel needs around 50 GB of free disk space to compile, though.
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 to use the intel graphic chipset driver,instead of n

Postby p.H » 2019-10-06 20:54

stevepusser wrote:Regardless of which GPU you mean, I'm sure the 4.19 kernel supports either one

I mean the integrated Intel GPU. Didn't you read the whole thread before replying ?

stevepusser wrote:What evidence do you have to back up your assertion?

- "lspci -k" does not report any kernel driver for the Intel GPU.
- "modinfo i915" does not report any module alias matching the Intel GPU PCI ID.

stevepusser wrote:Your Intel GPU requires firmware-misc-nonfree to work correctly

What evidence do you have to back up your assertion? Firmwares are useless without a kernel driver.
p.H
 
Posts: 1158
Joined: 2017-09-17 07:12

Re: how to use the intel graphic chipset driver,instead of n

Postby marietto » 2019-10-06 21:25

Your Intel GPU requires firmware-misc-nonfree to work correctly. Is that package installed ? yes

I've installed the nvidia driver with the command : apt install nvidia-driver

now it is 418.74-1.

no,I've installed the kernel 5.3.2 following this tutorial : https://www.cyberciti.biz/tips/compilin ... el-26.html
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: how to use the intel graphic chipset driver,instead of n

Postby marietto » 2019-10-06 21:27

can u explain how can I install the nvidia driver 435.21 and the kernel 5.3.2 for debian buster ?
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Re: how to use the intel graphic chipset driver,instead of n

Postby stevepusser » 2019-10-07 01:33

p.H wrote:
stevepusser wrote:Regardless of which GPU you mean, I'm sure the 4.19 kernel supports either one

I mean the integrated Intel GPU. Didn't you read the whole thread before replying ?

stevepusser wrote:What evidence do you have to back up your assertion?

- "lspci -k" does not report any kernel driver for the Intel GPU.
- "modinfo i915" does not report any module alias matching the Intel GPU PCI ID.

stevepusser wrote:Your Intel GPU requires firmware-misc-nonfree to work correctly

What evidence do you have to back up your assertion? Firmwares are useless without a kernel driver.


Hmmm--sorry, I saw his Intel hardware as 8th-gen by mistake instead of 9th gen. He very well may need a newer kernel and firmware-misc-nonfree. I base the need for firmware-misc-nonfree (as recent as they can get) on my own and everyone else's experience on this forum with 8th gen Intel GPUs. Maybe Intel doesn't require firmware with 9th-gen, but it really doesn't seem likely.

The 5.2 kernel backports may be new enough to support 9th gen Intel. I'm pretty sure the stock Buster Nvidia 418 driver supports the 2080, but you can check that online to make sure. There's a newer firmware-misc-nonfree in backports, also.

I just sent up the 5.3.2 kernel to the MX test repos this morning. Give Debian a few weeks, and it should be in buster-backports. One sticking point is that newer Intel hardware often needs a newer set of Mesa libraries, and that's not in MX 19 (yet, it's on my to-do list) or in buster-backports.

Also, as pointed out above, the Intel GPU may be have been automatically disabled--though lspci seeing it argues against that.

I did make a "newer hardware support" sort of PPA thingy on the openSUSE Build Service a while ago for Stretch--though I'm pretty busy with MX 19 right now, I could tear it down and rebuild it for Buster when I get time, with newer kernels, Mesa, firmware, Nvidia-drivers, and so on.
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 to use the intel graphic chipset driver,instead of n

Postby marietto » 2019-10-07 21:24

I did make some progress. I've installed the kernel 5.2.0 with these commands :

# as root
echo 'deb http://ftp.de.debian.org/debian buster-backports main' | tee -a /etc/apt/sources.list
apt update
apt policy linux-image-amd64
apt install linux-image-amd64=5.2+106~bpo10+1

since it gave this error :

root@DESKTOP-N9UN2H3:/home/mariozio# apt install linux-headers-5.2.0-0.bpo.2-amd64
Configurazione di linux-headers-5.2.0-0.bpo.2-amd64 (5.2.9-2~bpo10+1)...
/etc/kernel/header_postinst.d/dkms:
Error! Bad return status for module build on kernel: 5.2.0-0.bpo.2-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/418.74/build/make.log for more information.

I gave these commands :

sudo apt purge dkms

sudo apt autoremove

sudo apt autoclean

sudo apt install dkms

now it says : can't connect to Xorg when I'm on rescue mode. And it freezes when it says : "gnome desktop manager initialized" when I'm on the normale mode. Anyway this kernel is able to make work the intel graphic chipset embedded inside the mobo. Actually the monitor attached to the nvidia graphic card is turned off. The monitor attached to the intel graphic is turned on.
marietto
 
Posts: 52
Joined: 2014-07-13 16:30

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: arasuk and 10 guests

fashionable