LMDE V5 and Intel gpu a780

Questions about hardware and drivers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

LMDE V5 and Intel gpu a780

Post by magifix »

Hi all,
I have installed LMDE V5 Elsie on a brand new hw. The motherboard is an asus rog strix z690-f and an Intel I7-13700k cpu. The gpu on the board is an Intel a780. unfortunately the resolution is very low (VGA). I don't know how to solve this situation, Intel doesn't seem to provide a driver. Is there a guide somewhere to try to solve this problem?

Code: Select all

lspci -v |grep -A8 VGA
00:02.0 VGA compatible controller: Intel Corporation Device [b]a780[/b] (rev 04) (prog-if 00 [VGA controller])
	DeviceName: Onboard - Video
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Flags: bus master, fast devsel, latency 0, IRQ 255, IOMMU group 1
	Memory at 6002000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 4000000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>

Thanks in advance for any suggestions
Last edited by LockBot on Tue May 23, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

after investigating and looking around, I found 2 interesting links:

https://www.intel.com/content/www/us/en ... phics.html

and for Ubuntu 22.04:

https://dgpu-docs.intel.com/installatio ... y-arc.html

I don't know if it's possible to apply the Ubuntu solution under LMDE V5, I don't want to break my OS? And is it a good idea to install a new kernel under LMDE V5? I would be grateful if someone can help me because I don't much knowledge in this area.
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

magifix wrote: Thu Nov 24, 2022 10:33 amI don't know if it's possible to apply the Ubuntu solution under LMDE V5
Welcome to the forum, magifix.

LMDE5 is based on Debian and not Ubuntu, so, no, you can not install an Ubuntu OEM kernel on your LMDE5 install.

You bought the very latest hardware and then installed an operating system which is not meant for the latest hardware. While it is possible to backport a newer kernel to LMDE5, I would not recommend doing that for a 13th-gen Intel CPU. You would be backporting just the kernel and still having the rest of the software be the much older versions. Your system not only needs the newest of what is available, it probably also needs what is not even available yet.

If you want Linux Mint, then install Linux Mint 21 and then upgrade to the 6.0-oem kernel which is available in Synaptic Package Manager.

The Intel graphics drivers are in the kernel and once you have a new enough kernel installed, the drivers will load automatically.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

Thank you for your answer. I chose LMDE because I like the idea that it is based directly on Debian rather than on an intermediate version of Linux. I wish there was a solution.
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

magifix wrote: Thu Nov 24, 2022 11:25 amI wish there was a solution.
I think you may have to use an unstable version of Debian in order to get the support you need for that hardware, but I do not know for sure.

You can try backporting a newer kernel to see if that works for you Installing a newer kernel on LMDE 5. That may provide the graphics drivers you need, but I don't know how well it will work with the rest of the system software.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

Many thanks for your help, it gives me a good start point.

I'm considering 3 solutions, the easiest one would be to plug an old graphic card until the support will be added in LMDE. the next would be to try to build a new kernel as I just started to install and have not much to loose. And the last try would be to investigate if this debian package xserver-xorg-video-intel could be of any help. It seems that some Intel drivers are integrated since 2017 in v6.x kernels:

https://sources.debian.org/src/linux/6. ... ce_info.h/

I'll keep informed if I ever got a solution
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

magifix wrote: Fri Nov 25, 2022 5:04 amI'm considering 3 solutions, the easiest one would be to plug an old graphic card until the support will be added in LMDE.
There are actually two main issues with your situation. One is the lack of a graphics driver. The second is getting support for you quite new CPU. You would need a newer kernel even if you put in an older GPU because your computer's CPU needs the newer kernel.
magifix wrote: Fri Nov 25, 2022 5:04 am And the last try would be to investigate if this debian package xserver-xorg-video-intel could be of any help. It seems that some Intel drivers are integrated since 2017 in v6.x kernels:

https://sources.debian.org/src/linux/6. ... ce_info.h/
I'm not sure why you are mentioning that package. I do not see it mentioned in the file.

The xserver-xorg-video-intel package is for older Intel graphics (from more than 10 years ago). It uses the "intel" display driver which is not the one for your GPU. The newer Intel display driver is "modesetting" and you would also be using the i915 kernel driver (which is mentioned in the file you linked).
Image
A woman typing on a laptop with LM20.3 Cinnamon.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

I thank you for your judicious remarks, without you I was going in the wrong way. Let's see what appends with a new kernel.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

Good news, backport has done the job. I'm now having:

#1 SMP PREEMPT_DYNAMIC Debian 6.0.3-1~bpo11+1 (2022-10-29)

Everything is as expected! Thanks again for your help
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

magifix wrote: Sat Nov 26, 2022 12:12 am Good news, backport has done the job. I'm now having:

#1 SMP PREEMPT_DYNAMIC Debian 6.0.3-1~bpo11+1 (2022-10-29)

Everything is as expected! Thanks again for your help
You can check the output of inxi -Gx to verify the graphics driver loaded.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

And just to complete compare to my previous post, I have these gpu driver informations now:

Code: Select all

$ lspci -v |grep -A8 VGA
00:02.0 VGA compatible controller: Intel Corporation Device a780 (rev 04) (prog-if 00 [VGA controller])
	DeviceName: Onboard - Video
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Flags: bus master, fast devsel, latency 0, IRQ 179, IOMMU group 1
	Memory at 6002000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 4000000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>

Code: Select all

$ inxi -Fxz
...
Graphics:  Device-1: Intel vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa 
           resolution: 1680x1050~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.5 direct render: Yes 
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

magifix wrote: Sat Nov 26, 2022 12:25 am$ inxi -Fxz
...
Graphics: Device-1: Intel vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa
resolution: 1680x1050~60Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.5 direct render: Yes
The parts in blue are good. The part in red is not. Are you getting a pop-up message message when you boot saying to check your drivers?

X Server runs the graphics in Linux Mint. Please use this command in a terminal to upload the X Server log file to termbin:

Code: Select all

cat /var/log/Xorg.0.log | nc termbin.com 9999
It will return with a url address that you can post in your next reply. I'll see if there are any messages about why llvmpipe showed up in the output.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

Code: Select all

$ cat /var/log/Xorg.0.log | nc termbin.com 9999
https://termbin.com/tg7j
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

The system does not even try to load the hardware acceleration and the initialization fails.

Code: Select all

[     4.123] (II) Loading sub module "glamoregl"
[     4.123] (II) LoadModule: "glamoregl"
[     4.123] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     4.125] (II) Module glamoregl: vendor="X.Org Foundation"
[     4.125] 	compiled for 1.20.11, module version = 1.0.1
[     4.125] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     4.180] (II) modeset(0): Refusing to try glamor on llvmpipe
[     4.181] (EE) modeset(0): glamor initialization failed
In the past I've seen this issue related to Nvidia graphics. Usually, re-installing the driver works. However, the Intel driver is in the kernel so there is nothing which we can "re-install". Not sure if this is an issue because the LMDE5 other files are too old or there is something special about the a780 which is still an issue.

Let's try checking a different log. What is the output of the below?

Code: Select all

journalctl -b | grep -i "drm\|i915\|00:02.0"
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
MiZoG
Level 8
Level 8
Posts: 2380
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: LMDE V5 and Intel gpu a780

Post by MiZoG »

Mesa 20.3.5
New kernel, old mesa stack. It is dead-end with Debian stable.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

Code: Select all

$ journalctl -b | grep -i "drm\|i915\|00:02.0"
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: [8086:a780] type 00 class 0x030000
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: reg 0x10: [mem 0x6002000000-0x6002ffffff 64bit]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: reg 0x18: [mem 0x4000000000-0x400fffffff 64bit pref]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: reg 0x20: [io  0x5000-0x503f]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: BAR 2: assigned to efifb
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: reg 0x344: [mem 0x00000000-0x00ffffff 64bit]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: VF(n) BAR0 space: [mem 0x00000000-0x06ffffff 64bit] (contains BAR0 for 7 VFs)
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: reg 0x34c: [mem 0x00000000-0x1fffffff 64bit pref]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: VF(n) BAR2 space: [mem 0x00000000-0xdfffffff 64bit pref] (contains BAR2 for 7 VFs)
nov 26 16:47:50 astor kernel: pci 0000:02:00.0: [15b7:5011] type 00 class 0x010802
nov 26 16:47:50 astor kernel: pci 0000:02:00.0: reg 0x10: [mem 0x84e00000-0x84e03fff 64bit]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: vgaarb: setting as boot VGA device
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: vgaarb: bridge control possible
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
nov 26 16:47:50 astor kernel: pnp 00:03: disabling [mem 0xc0000000-0xcfffffff] because it overlaps 0000:00:02.0 BAR 9 [mem 0x00000000-0xdfffffff 64bit pref]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: BAR 9: assigned [mem 0x4020000000-0x40ffffffff 64bit pref]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: BAR 7: assigned [mem 0x4010000000-0x4016ffffff 64bit]
nov 26 16:47:50 astor kernel: pci 0000:00:02.0: Adding to iommu group 1
nov 26 16:47:50 astor kernel: pci 0000:02:00.0: Adding to iommu group 14
nov 26 16:47:50 astor kernel: ACPI: bus type drm_connector registered
nov 26 16:47:50 astor kernel: nvme 0000:02:00.0: platform quirk: setting simple suspend
nov 26 16:47:50 astor kernel: nvme nvme0: pci function 0000:02:00.0
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
nov 26 16:47:50 astor kernel: fb0: switching to i915 from EFI VGA
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] Using Transparent Hugepages
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: direct-loading firmware i915/adls_dmc_ver2_01.bin
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_70.1.1.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_70.1.1.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_69.0.3.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_69.0.3.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: GuC firmware i915/tgl_guc_70.1.1.bin: fetch failed with error -2
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: Please file a bug on drm/i915; see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin version 0.0
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: GuC initialization failed -2
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: Enabling uc failed (-5)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_init+0xb6/0x310 [i915]
nov 26 16:47:50 astor kernel: ata6.00: supports DRM functions and may not be fully accessible
nov 26 16:47:50 astor kernel: ata6.00: supports DRM functions and may not be fully accessible
nov 26 16:47:50 astor kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
nov 26 16:47:50 astor kernel: fbcon: i915drmfb (fb0) is primary device
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
nov 26 16:47:50 astor systemd[1]: Starting Load Kernel Module drm...
nov 26 16:47:50 astor systemd[1]: modprobe@drm.service: Succeeded.
nov 26 16:47:50 astor systemd[1]: Finished Load Kernel Module drm.
nov 26 16:47:51 astor kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
nov 26 16:47:56 astor kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

The firmware did not load. The last line I included below indicates the GPU is wedged.

Code: Select all

$ journalctl -b | grep -i "drm\|i915\|00:02.0"
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: direct-loading firmware i915/adls_dmc_ver2_01.bin
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_70.1.1.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_70.1.1.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_69.0.3.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_69.0.3.bin (-2)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: GuC firmware i915/tgl_guc_70.1.1.bin: fetch failed with error -2
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: Please file a bug on drm/i915; see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin version 0.0
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: GuC initialization failed -2
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: Enabling uc failed (-5)
nov 26 16:47:50 astor kernel: i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!
There may or may not be a place you can get the firmware within the Debian repositories.

I've gone through a similar exercise with someone who had a very new AMD GPU and it just never worked right even after they were able to get the firmware. It's an uphill climb trying to get very new hardware working on the older graphics stack (as MiZoG has indicated). The person with the AMD GPU ended up installing the latest version of Linux Mint (Ubuntu based) so they could get all the proper files.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

Thanks so much for your help. I have contacted Asus last week, and they told me that I have to see with Intel. I'll let you know if I get any hint there.
magifix
Level 1
Level 1
Posts: 37
Joined: Wed Nov 23, 2022 12:08 pm

Re: LMDE V5 and Intel gpu a780

Post by magifix »

I have up to now no answer from Intel. But in the mean time, I saw this on /var/log/messages:

Code: Select all

   1.405540] i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_70.1.1.bin (-2)
[    1.405545] i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_70.1.1.bin (-2)
[    1.405548] i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_69.0.3.bin (-2)
[    1.405551] i915 0000:00:02.0: firmware: failed to load i915/tgl_guc_69.0.3.bin (-2)
[    1.405552] i915 0000:00:02.0: GuC firmware i915/tgl_guc_70.1.1.bin: fetch failed with error -2
[    1.477488] i915 0000:00:02.0: GuC initialization failed -2
[    1.477490] i915 0000:00:02.0: Enabling uc failed (-5)
If I check on my system, I only have these firmware versions:

Code: Select all

ls -l /lib/firmware/i915/tgl_guc_*
-rw-r--r-- 1 root root 417728 25 jui  2021 /lib/firmware/i915/tgl_guc_35.2.0.bin
-rw-r--r-- 1 root root 321792 25 jui  2021 /lib/firmware/i915/tgl_guc_49.0.1.bin
As you already stated, this would probably be updated on futures OS versions. No idea if we could take the required file from another OS release?
User avatar
SMG
Level 25
Level 25
Posts: 31958
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LMDE V5 and Intel gpu a780

Post by SMG »

magifix wrote: Wed Nov 30, 2022 4:07 amAs you already stated, this would probably be updated on futures OS versions. No idea if we could take the required file from another OS release?
I do not know if it is currently available in any Debian release. It might be, but I am not familiar enough with all the Debian repos to know.

As far as taking the required file from another OS release--do you really want a Frankenstein install on your brand new equipment?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Hardware Support”