Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Intel Arc A770 seemingly using wrong drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wolly01
n00b
n00b


Joined: 22 Jul 2017
Posts: 35

PostPosted: Wed Jun 12, 2024 1:59 am    Post subject: [Solved] Intel Arc A770 seemingly using wrong drivers Reply with quote

Hi Gentoo forum,

I'm currently trying to fix an issue with a steam game not loading, and that got me to using this intel tool to check some properties of my a770 graphics card.

It currently shows the following:

Code:
   GNU nano 8.0                                                                                                                                             localhost.txt                                                                                                                                                       
# SSU Scan Information
Scan Info:
     Version:"1.0.0.0"
     Scan Date:"2024/06/12"
     Scan Time:"02:42:47"

## Scanned Hardware
Computer:
          BaseBoard Manufacturer:"ASUSTeK COMPUTER INC."
          Bios Mode:"UEFI"
          Bios Version/Date:"Not Available"
          CD or DVD:"Not Available"
          Platform Role:"Linux localhost 6.9.3-gentoo #1 SMP PREEMPT_DYNAMIC Sat Jun  1 12:46:39 BST 2024 x86_64 AMD Ryzen 9 7950X 16-Core Processor AuthenticAMD GNU/Linux"
          Processor:"AMD Ryzen 9 7950X 16-Core Processor"
          Serial Number:"Not Available"
          SMBIOS Version:"Not Available"
          Sound Cards:"USB-Audio - Blue Microphones"
          Sound Cards:"6a"
          System Manufacturer:"Not Available"
          System Model:"Not Available"
          System Type:"x64-based PC"
          - Display
               - "Intel Corporation DG2 [Arc A770] (rev 08) (prog-if 00 [VGA controller])"
                    Adapter RAM:"size=16G"
                    Capabilities:"[40] Vendor Specific Information: Len=0c <?>"
                    Capabilities:"[70] Express Endpoint, IntMsgNum 0"
                    Capabilities:"[ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+"
                    Capabilities:"[d0] Power Management version 3"
                    Capabilities:"[100] Alternative Routing-ID Interpretation (ARI)"
                    Capabilities:"[420] Physical Resizable BAR"
                    Capabilities:"[400] Latency Tolerance Reporting"
                    Caption:"Intel Corporation DG2 [Arc A770] (rev 08) (prog-if 00 [VGA controller])"
                    Device ID:"8086:1020"
                    Device ID:"1043:8877"
                    Driver:"amdgpu"
                    Driver Path:"/lib/modules/6.9.3-gentoo/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko"
                    Driver Provider:"AMD linux driver team"
                    Driver Version:""
                    Flags:"bus master, fast devsel, latency 0, IRQ 115, IOMMU group 14"
                    Flags:"bus master, fast devsel, latency 0, IRQ 96, IOMMU group 23"
                    I/O Ports:"I/O ports at f000 [size=256]"
                    Location:"Not Available"
                    Manufacturer:"Not Available"
                    Power Management Capabilities:"Power Management version 3"
                    Refresh Rate - Current:"Not Available"
                    Resolution:"Not Available"
               - "Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c1) (prog-if 00 [VGA controller])"
                    Adapter RAM:"size=256M"
                    Adapter RAM:"size=2M"
                    Capabilities:"[48] Vendor Specific Information: Len=08 <?>"
                    Capabilities:"[50] Power Management version 3"
                    Capabilities:"[64] Express Legacy Endpoint, IntMsgNum 0"
                    Capabilities:"[a0] MSI: Enable- Count=1/4 Maskable- 64bit+"
                    Capabilities:"[c0] MSI-X: Enable+ Count=4 Masked-"
                    Capabilities:"[100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>"
                    Capabilities:"[270] Secondary PCI Express"
                    Capabilities:"[2a0] Access Control Services"
                    Capabilities:"[2b0] Address Translation Service (ATS)"
                    Capabilities:"[2c0] Page Request Interface (PRI)"
                    Capabilities:"[2d0] Process Address Space ID (PASID)"
                    Capabilities:"[410] Physical Layer 16.0 GT/s <?>"
                    Capabilities:"[450] Lane Margining at the Receiver"
                    Caption:"Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c1) (prog-if 00 [VGA controller])"
                    Device ID:"8086:1020"
                    Device ID:"1043:8877"
                    Driver:"amdgpu"
                    Driver Path:"/lib/modules/6.9.3-gentoo/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko"
                    Driver Provider:"AMD linux driver team"
                    Driver Version:""
                    Flags:"bus master, fast devsel, latency 0, IRQ 115, IOMMU group 14"
                    Flags:"bus master, fast devsel, latency 0, IRQ 96, IOMMU group 23"
                    I/O Ports:"I/O ports at f000 [size=256]"
                    Location:"Not Available"
                    Manufacturer:"Not Available"
                    Power Management Capabilities:"Power Management version 3"
                    Refresh Rate - Current:"Not Available"
                    Resolution:"Not Available"
          - Memory
               Physical Memory (Available):"57046 MB"
               Physical Memory (Installed):"63434 MB"
               Physical Memory (Total):"63434 MB"
          - Motherboard
               Manufacturer:"Not Available"
               Product:"Not Available"
               Serial Number:"Not Available"
               Serial Number:"Not Available"
          - Networking
               Interface eno1:"Not Available"
               Interface sit0:"Not Available"
          - Operating System
               Boot Device:"/dev/nvme0n1p2"
               Last Reset:"up  3:21"
               Locale:"en_GB"
               OS Manufacturer:"This is \n (\s \m \r) \t"
               OS Name:"This is \n (\s \m \r) \t"
               Page File:"Not Available"
               Page File Space (Available):"Not Available"
               Page File Space (Used):"Not Available"
               Physical Memory (Available):"57049 MB"
               Physical Memory (Installed):"63434 MB"
               Physical Memory (Total):"63434 MB"
               Version:"6.9.3-gentoo GNU/Linux"
               Virtual Memory (Available):"0"
               Virtual Memory (Total):"64957364"
          - Processor
               - "AMD Ryzen 9 7950X 16-Core Processor"
                    Architecture:"x86_64"
                    Available:"Offline"
                    Byte Order:"Little Endian"
                    Cache Size:"1024 KB"
                    Caption:"AMD Ryzen 9 7950X 16-Core Processor"
                    Characteristics:"Not Available"
                    CPU Speed (Minimum):"3115.981"
                    CPU Speed (Maximum):"Not Available"
                    Current Voltage:"Not Available"
                    External Clock:"Not Available"
                    Family:"Not Available"
                    Flags:"Not Available"
                    ID:"Not Available"
                    Level 1 Cache:"fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1>
512 KiB (16 instances)"
                    Level 2 Cache:"16 MiB (16 instances)"
                    Level 3 Cache:"fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1>
64 MiB (2 instances)"
                    Load:"load average: 0.44, 0.47, 0.51"
                    Manufacturer:"Not Available"
                    Model:"97"
                    Name:"Not Available"
                    Number of Cores:"Not Available"
                    Number of Cores - Enabled:"Not Available"
                    Part Number:"Not Available"
                    Socket Designation:"Not Available"
                    Status:"Not Available"
                    Version:"Not Available"
                    Voltage:"Not Available"
                    Virtualization:"Not Available"
          - Storage


Note that it is using the amdgpu drivers for my a770. I'm unsure if this is a new issue or an old one, as I have been having some odd graphics since moving to the 6.9.3 kernel (where it was working near flawlessly beforehand), but I do distinctly remember having trouble getting my X working for the i915 drivers and needing to build the modules before it would work, and at the time some utility (I forget which) calming the usage of i915 drivers . However in any case I didn't really understand all that was happening, and there was a lot of talk about mode-setting which I don't really understand.

what steps should I undertake to rectify this issue?


Last edited by wolly01 on Sun Jun 16, 2024 5:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Wed Jun 12, 2024 4:43 pm    Post subject: Re: Intel Arc A770 seemingly using wrong drivers Reply with quote

wolly01 wrote:
I'm currently trying to fix an issue with a steam game not loading, [...]

Do you have only problems with this steam game, or with X.11 at whole ?

wolly01 wrote:
what steps should I undertake to rectify this issue?

Because you are on 6.9.x you could try this (I am unsure if the A770 is a XE card):
Code:
Device Drivers  --->
    Graphics support  --->
        <M> Intel Xe Graphics
        [*]   Enable display support

(Maybe it is necessary to disable AMD GPU; have a backup kernel if you get no output with new settings)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
wolly01
n00b
n00b


Joined: 22 Jul 2017
Posts: 35

PostPosted: Wed Jun 12, 2024 10:09 pm    Post subject: Reply with quote

Thanks pietinger.

By the way I moved to kernel 6.9.4 this morning with no issue.
I am currently also posting on an intel forum thread about this issue. After my original post I checked using lspci -nnk and saw that it reports that my a770 is correctly using i1915 so I believe there is a strong chance that there is a problem with the intel report utility rather then my kernel setup, which I have let intel know about. For reference this is my other post.

I will nonetheless check my kernel settings and try disabling amdgpu drivers.
It looks like someone from intel takes about half a week on average to reply to a forum post, so I might wait 3-4 days to see what they come back with before I post an update here.

Luckily my X11 is working fine it is just a steam game (Starfield) that will launch to menus but not actually launch the game proper - which is not a critical issue as its just one game.
Back to top
View user's profile Send private message
wolly01
n00b
n00b


Joined: 22 Jul 2017
Posts: 35

PostPosted: Sun Jun 16, 2024 5:28 pm    Post subject: Reply with quote

I'm still waiting on a reply from intel, but as part of partially related tinkering i decided to just try blacklisting the i915 driver in my modprobe conf and seeing what happened. Lo and behold all stopped working graphically. I am now 99.9999% sure that this is just a problem with Intel's diagnostic utilities so consider this matter solved.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Mon Jun 17, 2024 12:56 pm    Post subject: Reply with quote

wolly01 wrote:
[...] Lo and behold all stopped working graphically. I am now 99.9999% sure that this is just a problem with Intel's diagnostic utilities so consider this matter solved.

Thank you for your feedback/report. Yes, if there is only one application affected I also would think there is a problem with this game.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Wed Jun 19, 2024 7:59 pm    Post subject: Reply with quote

I have the feeling that XE is not yet fully developed ...

https://www.phoronix.com/news/Intel-Battlemage-Linux-6.11
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 429
Location: Nijmegen

PostPosted: Thu Jun 20, 2024 12:17 pm    Post subject: Reply with quote

Quote:
Because you are on 6.9.x you could try this (I am unsure if the A770 is a XE card):


For this card the i915 driver is still the default, it is confusing because the code names for the card do mention Xe. You can use the Xe driver here, but only by force_probe disabling i915 and enabling Xe. The Xe driver will be the default only for the next generation (i.e Xe2).

I have the same card and I tried to use the Xe driver some time ago, but could not get a graphical session up and running. It might work better with the 6.9 kernel series though.

Regarding your issue with starfield, I see that this is an XeSS enabled game. Such games have issues when they find that there is an intel card and expect to be able to use XeSS, this will not work since XeSS is proprietary and native Windows only. You might have more luck launching the game with the 'force_vk_vendor="-1"' environment variable.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum