You are not logged in.

#1 2024-12-29 13:54:29

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Forced to use Intagrated graphics for some reason (when playing games)

When playing games I am forced to use Integrated Graphics instead of my GPU. I proved this was the case by disabling the Integrated graphics in bios and then booting up a game, and it ran smooth.
I don't find it ideal to disable to my Integrated Graphics, so trying to find a solution.


         

                                                                
DRI_PRIME=1 glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.59, 6.12.7-arch1-1) (0x747e)
    Version: 24.3.2
    Accelerated: yes
    Video memory: 12288MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 12029 MB, largest block: 12029 MB
    VBO free aux. memory - total: 31713 MB, largest block: 31713 MB
    Texture free memory - total: 12029 MB, largest block: 12029 MB
    Texture free aux. memory - total: 31713 MB, largest block: 31713 MB
    Renderbuffer free memory - total: 12029 MB, largest block: 12029 MB
    Renderbuffer free aux. memory - total: 31713 MB, largest block: 31713 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 12288 MB
    Total available memory: 44040 MB
    Currently available dedicated video memory: 12029 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.59, 6.12.7-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.2-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.3.2-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.3.2-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Last edited by Brandon_Edwards (2024-12-30 13:59:03)

Offline

#2 2024-12-29 14:18:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,038

Re: Forced to use Intagrated graphics for some reason (when playing games)

Please edit your post to use code tags for such output .
See https://wiki.archlinux.org/title/Genera … s_and_code and https://bbs.archlinux.org/help.php#bbcode

A big part of the amdgpu drivers in linux is in the kernel, for userspace mesa is the typical/best  choice, NOT amdgpu_pro .

Why do you think you need amdgpu-pro-installer ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-12-29 14:30:14

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Re: Forced to use Intagrated graphics for some reason (when playing games)

I don't think I actually need amdgpu-pro.
I just couldn't figure it out so I started throwing spaghetti at the wall hoping something would stick.
Is there a reason I can't find anything about amdgpu?

Last edited by Brandon_Edwards (2024-12-29 14:31:35)

Offline

#4 2024-12-29 14:36:58

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,038

Re: Forced to use Intagrated graphics for some reason (when playing games)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-12-29 14:55:42

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Re: Forced to use Intagrated graphics for some reason (when playing games)

I have been looking at that exact link for hours, and still can't figure it out.

Offline

#6 2024-12-29 15:06:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,038

Re: Forced to use Intagrated graphics for some reason (when playing games)

Every time you run pacman -Syu all packages from offical repos are updated, this includes stuff that matters for graphics like the amdgpu kernel module and mesa .

Only things installed from other sources (typically with makepkg or aur helpers) need to be updated manually by you.

This is beginning to look like an X_Y problem, let's try to clarify.


What do you want to achieve with 'updating the gpu drivers' ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2024-12-29 16:48:53

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Re: Forced to use Intagrated graphics for some reason (when playing games)

Games are running like doodoo
Okay after playing around with settings and things in the Bios I learned alot more info.
My GPU is up to date. (Drivers Isn't the issue)
I went into bios and disable the Integrated graphics and that fixed the problem. (not an ideal solution tho)

So my issue seems to be that games are trying to use the integrated graphics over the GPU... So my new question would be how do I fix that lol.

Offline

#8 2024-12-30 10:52:24

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,038

Re: Forced to use Intagrated graphics for some reason (when playing games)

That depends on many factors, one of which is your hardware.

Are those games run through proton / wine or native linux games ?

Are you using X or wayland ?
What WM, DE , wayland compositor ?

re-enable the integrated gpu , reboot and post the output of lspci -knn .

As root / with root rights run journalctl -b | curl -F 'file=@-' 0x0.st  .
It wull upload your journal to a public texthosting site, post the link it outputs .

Also please change the thread title (edit first post) to reflect the real issue.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2024-12-30 13:55:01

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Re: Forced to use Intagrated graphics for some reason (when playing games)

Most games run on Proton
And I do use wayland

And as far as this question goes I don't even know what those are.
"What WM, DE , wayland compositor ?"

http://0x0.st/8sE8.txt


output of lspci -knn

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex [1022:14d8]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU [1022:14d9]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge [1022:14db]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge [1022:14db]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: pcieport
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge [1022:14db]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge [1022:14da]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A] [1022:14dd]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A] [1022:14dd]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0 [1022:14e0]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1 [1022:14e1]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2 [1022:14e2]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3 [1022:14e3]
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4 [1022:14e4]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5 [1022:14e5]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6 [1022:14e6]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7 [1022:14e7]
01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev 11)
        Kernel driver in use: pcieport
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479] (rev 11)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
        Kernel driver in use: pcieport
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev ff)
        Subsystem: ASRock Incorporation Device [1849:5323]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio [1002:ab30]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio [1002:ab30]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
04:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port [1022:43f4] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
05:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
05:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
05:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
05:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
05:0b.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
05:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
05:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:3328]
        Kernel driver in use: pcieport
09:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03)
        DeviceName: Intel I225-V LAN
        Subsystem: ASUSTeK Computer Inc. Device [1043:87d2]
        Kernel driver in use: igc
        Kernel modules: igc
0a:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
        Subsystem: Foxconn International, Inc. Device [105b:e0cd]
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e
0b:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset USB 3.2 Controller [1022:43f7] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:1142]
        Kernel driver in use: xhci_hcd
0c:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller [1022:43f6] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:1062]
        Kernel driver in use: ahci
0d:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller PM9C1a (DRAM-less) [144d:a80d]
        Subsystem: Samsung Electronics Co Ltd Device [144d:a801]
        Kernel driver in use: nvme
        Kernel modules: nvme
0e:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev cb)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
0e:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
0e:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: ccp
        Kernel modules: ccp
0e:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI [1022:15b6]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: xhci_hcd
0e:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI [1022:15b7]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: xhci_hcd
0f:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]
        Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
        Kernel driver in use: xhci_hcd

Last edited by Brandon_Edwards (2024-12-30 14:16:07)

Offline

#10 2024-12-30 14:19:04

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Forced to use Intagrated graphics for some reason (when playing games)

Brandon_Edwards wrote:

And as far as this question goes I don't even know what those are.
"What WM, DE , wayland compositor ?"

Which desktop are you using? GNOME? Plasma? Xfce? Sway? Hyprland? Openbox/tint2? Something else? Also share exactly how you launch the desktop -- do you use a display manager? If so, which one? GDM? LightDM? lf? Or is this a console login? If so then please share your ~/.xinitrc. Thanks.

Was your dGPU ever used? I have similar hardware and my dGPU is used automagically by all Vulkan & OpenGL games under GNOME, Sway and openbox/tint2.

Have you tried https://archlinux.org/packages/extra/x8 … o-control/? Enable & start switcheroo-control.service to gain a right-click menu option to launch applications with the dGPU.


Jin, Jîyan, Azadî

Offline

#11 2024-12-30 14:36:54

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Re: Forced to use Intagrated graphics for some reason (when playing games)

My desktop is Plasma
I don't know what you mean by how I launch into my desktop. When my computer boots up it has a black screen that has a few text option like "Arch Linux" or "Reboot into firmware interface" and I click Arch Linux or leave it alone and it auto does Arch Linux.
Then I am prompted with my password.

I feel like my dGPU works for a few games like for example Elden ring runs smooth and that requires alot.

I also have never tried https://archlinux.org/packages/extra/x8 … o-control/ before. I can give it a shot. couldn't hurt

Last edited by Brandon_Edwards (2024-12-30 15:10:08)

Offline

#12 2024-12-30 14:49:51

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Re: Forced to use Intagrated graphics for some reason (when playing games)

Figured I would post more info

output of lspci -k -d ::03xx

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] (rev ff)
        Subsystem: ASRock Incorporation Device 5323
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
0e:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev cb)
        Subsystem: ASUSTeK Computer Inc. Device 8877
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

Offline

#13 2024-12-30 15:54:24

cryptearth
Member
Registered: 2024-02-03
Posts: 2,159

Re: Forced to use Intagrated graphics for some reason (when playing games)

why is disabling the igpu not an option?
do you have a sprcific need for using the igpu?
why you chose a cpu with igpu in the first place if you planed to use a dgpu anyway?

Offline

#14 2024-12-31 09:43:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,652

Re: Forced to use Intagrated graphics for some reason (when playing games)

DRI_PRIME=1 glxinfo -B
    Device: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.59, 6.12.7-arch1-1) (0x747e)

That's not the APU, so where's the problem here?

Most games run on Proton
And I do use wayland

You might, but proton will run on xwayland. And it actually doesn't matter - you're OP shows that you can control the device

Are you running into https://wiki.archlinux.org/title/Steam/ … _emulation ?
What makes you believe to be using the APU itfp?

Games are running like doodoo

You'll have to quantify that, maybe you just suck and get fragged so much that the respawns make it look like the output is frozen…
Does one of your games list the render device its using?

Offline

#15 2024-12-31 19:07:23

Brandon_Edwards
Member
Registered: 2024-12-29
Posts: 8

Re: Forced to use Intagrated graphics for some reason (when playing games)

seth wrote:

Games are running like doodoo

You'll have to quantify that, maybe you just suck and get fragged so much that the respawns make it look like the output is frozen…
Does one of your games list the render device its using?

When the integrated GPU is enabled I run at 5 FPS not even an exaggeration, once disabled I run at 120 FPS. It doesn't take a genus to be able to tell that the problem has something to do with the integrated GPU.

Offline

#16 2024-12-31 19:21:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,652

Re: Forced to use Intagrated graphics for some reason (when playing games)

So, do you prime run steam, proton or the games? How?
Does any of the games allow you to print out the used renderer?
You might be facing a prime-sync issue where the framebuffer rarely gets copied to the APU, but w/o any details on how you even approach to run the games on prime that's impossible to tell.
From your OP, DRI_PRIME principally works, though.

Offline

#17 2024-12-31 19:44:37

cryptearth
Member
Registered: 2024-02-03
Posts: 2,159

Re: Forced to use Intagrated graphics for some reason (when playing games)

Brandon_Edwards wrote:

It doesn't take a genus to be able to tell that the problem has something to do with the integrated GPU.

it also doesn't require one to tell you to just disable it - hence my question: why isn't that an option for you? what is your specific usecase to keep it enabled - or, to get the whole story, why did you even got a cpu with igpu when using a dgpu anyway?

Offline

Board footer

Powered by FluxBB