Steam games not detecting discrete AMD 7900XT | Fedora 40 KDE |

Can someone please guide me through the trouble shooting process?

I see many people are successfully gaming on fedora. However, my steam games are unplayable after a fresh install of fedora 40.

Specs
Os: fedora 40
Kernel: 6.8.11-300.fc40.x86_64
De: kde (x11)
Cpu: Intel 13700k
Gpu: Amd 7900XT
Ram: 32gb
Storage: 2Tb nvme
Monitor: connected to a 4k tv via hdmi
Steam package: flatpak
Proton: experimental

Games I have tried:
Cyberpunk, The last of Us 1, Xcom 2, Untitled goose Game.

Goose game runs at 25 fps at 1080p. ;(
Minecraft runs at 130fps, so I think it is a steam issue.

What I have tried so far:

Using feral gamemode

All combinations of
kde, gnome, x11, wayland, flatpak steam, and rpm fusion.

I have only been using linux for a few months so I apologize in advance for asking the wrong questions or asking in the wrong places.

Thank you for any and all help.

Can you post inxi -Fzxx here in </> preformatted text.

Also, What version of Proton are you running in Steam ?

Check :


Just noticed :

Can you try and check if the AMD card is being used? It “feels” like the gpu on the Intel is what’s running. the results of inxi will tell give us more info.

Trying to figure out preformated text, here is this in the meantime.

I have tried proton experimental and the latest stable.

Thank you for the speedy reply .


System:
  Kernel: 6.8.11-300.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Console: pty pts/3 DM: SDDM Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Mini-pc System: Intel Client Systems product: NUC13RNGi7
    v: M58740-302 serial: <superuser required>
    Chassis: Intel Corporation type: 35 v: 2.0
    serial: <superuser required>
  Mobo: Intel model: NUC13SBBi7 v: M89885-302
    serial: <superuser required> part-nu: RNUC13RNGi70001 UEFI: Intel
    v: SBRPL579.0047.2022.1006.1728 date: 10/06/2022
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse
    serial: <filter> charge: 50% (should be ignored) status: N/A
CPU:
  Info: 16-core (8-mt/8-st) model: 13th Gen Intel Core i7-13700K
    bits: 64 type: MST AMCP arch: Raptor Lake rev: 1 cache: L1: 1.4 MiB
    L2: 24 MiB L3: 30 MiB
  Speed (MHz): avg: 901 high: 1271 min/max: 800/5300:5400:4200
    cores: 1: 1271 2: 800 3: 1226 4: 800 5: 1179 6: 800 7: 800 8: 800
    9: 800 10: 800 11: 1261 12: 800 13: 800 14: 800 15: 800 16: 1056
    17: 800 18: 800 19: 800 20: 800 21: 800 22: 800 23: 800 24: 1236
    bogomips: 164044
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] driver: i915
    v: kernel arch: Gen-13 ports: active: none empty: DP-1, DP-2,
    HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:a780
  Device-2: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16
    ports: active: HDMI-A-4 empty: DP-3, DP-4, DP-5, Writeback-1
    bus-ID: 03:00.0 chip-ID: 1002:744c
  Display: server: X.org v: 1.20.14 with: Xwayland v: 24.1.0
    compositor: kwin_x11 driver: X: loaded: modesetting
    alternate: fbdev,vesa dri: radeonsi,iris gpu: amdgpu tty: 72x34
  Monitor-1: HDMI-A-4 model: Sony TV 30 res: 3840x2160 dpi: 68
    diag: 1651mm (65")
  API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1
    drv: radeonsi device: 2 drv: swrast surfaceless: drv: iris
    inactive: gbm,wayland,x11
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.1.1
    note: console (EGL sourced) renderer: Mesa Intel Graphics (RPL-S),
    AMD Radeon RX 7900 XT (radeonsi navi31 LLVM 18.1.6 DRM 3.57
    6.8.11-300.fc40.x86_64), llvmpipe (LLVM 18.1.6 256 bits)
  API: Vulkan v: 1.3.283 surfaces: N/A device: 0 type: discrete-gpu
    driver: N/A device-ID: 1002:744c device: 1 type: integrated-gpu
    driver: N/A device-ID: 8086:a780 device: 2 type: cpu driver: N/A
    device-ID: 10005:0000
Audio:
  Device-1: Intel Alder Lake-S HD Audio driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:7ad0
  Device-2: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 03:00.1
    chip-ID: 1002:ab30
  Device-3: Realtek USB Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-8:10 chip-ID: 0bda:4c60
  API: ALSA v: k6.8.11-300.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active (process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi vendor: Rivet Networks
    driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:7af0
  IF: wlp0s20f3 state: down mac: <filter>
  Device-2: Aquantia AQC113C NBase-T/IEEE 802.3an Ethernet [Marvell
    Scalable mGig] vendor: Intel driver: atlantic v: kernel pcie:
    speed: 8 GT/s lanes: 2 port: N/A bus-ID: 06:00.0
    chip-ID: 1d6a:14c0 temp: 81.0 C
  IF: enp6s0 state: up speed: 10000 Mbps duplex: full mac: <filter>
  Device-3: Intel Ethernet I226-V driver: igc v: kernel pcie:
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 07:00.0 chip-ID: 8086:125c
  IF: enp7s0 state: down mac: <filter>
  Device-4: Microsoft Xbox Wireless Adapter for Windows
    driver: mt76x2u type: USB rev: 2.1 speed: 480 Mb/s lanes: 1
    bus-ID: 1-1.1:4 chip-ID: 045e:02e6
  IF: wlp0s20f0u1u1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-14:12 chip-ID: 8087:0033
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 5.3 lmp-v: 12
Drives:
  Local Storage: total: 5.46 TiB used: 155.38 GiB (2.8%)
  ID-1: /dev/nvme0n1 vendor: Western Digital
    model: WD BLACK SN850X 2000GB size: 1.82 TiB speed: 63.2 Gb/s
    lanes: 4 serial: <filter> temp: 39.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 PRO 2TB
    size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter>
    temp: 41.9 C
  ID-3: /dev/nvme2n1 vendor: Western Digital model: WD BLACK SN850X
    HS 2000GB size: 1.82 TiB speed: 63.2 Gb/s lanes: 4
    serial: <filter> temp: 48.9 C
  ID-4: /dev/sda vendor: SanDisk model: Cruzer size: 3.74 GiB
    type: USB rev: 2.0 spd: 480 Mb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 1.82 TiB used: 155.03 GiB (8.3%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-eaa896b2-ab66-4ee3-bc2f-74c14974516f
  ID-2: /boot size: 973.4 MiB used: 335.5 MiB (34.5%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-4: /home size: 1.82 TiB used: 155.03 GiB (8.3%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-eaa896b2-ab66-4ee3-bc2f-74c14974516f
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 1.8 MiB (0.0%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 47.0 C
    mem: 61.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB note: est. available: 30.91 GiB
    used: 7.19 GiB (23.3%)
  Processes: 798 Power: uptime: 4h 48m wakeups: 0 Init: systemd
    v: 255 target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 18 Compilers: N/A Shell: Bash
    v: 5.2.26 running-in: pty pts/3 inxi: 3.3.34

Device 1 SHOULD Be the AMD GPU not the Intel one. While I did show you a screenshot of Steam, I don’t have any games installed at the moment. I would try to force the use of the AMD Card maybe DRI_PRIME=1 somehow. I also am not on KDE. . .

Is “DRI_PRIME=1” a command, config file, or a steam launch option?

So this would be a Steam launch option. and my apologies it would be DRI_PRIME=2 since your gpu is Device 2.

Sorry I had to move location earlier.


Future edit here. . .

I’m looking into this but it’s possible you could make use of PRIME and set an environment variable to make use of it when the applications that need it make use of it.
What are the results of :

glxinfo | grep 'OpenGL renderer'
&
DRI_PRIME=pci-0000_06_00_0 glxinfo | grep 'OpenGL renderer'

Give me a few more minutes to see what more I can help with. I also have a build with discrete and intergrated gpu’s , but laptop and Nvidia drivers have this kind of built in.

Added f40, steam and removed gnome

Thanks for the help, I have to go afk for a few hours.

1 Like

I am surprised the intel GPU is not disabled by the BIOS when you boot up.

You may find that in the BIOS there is an option to disable the intel GPU which should make things simpler.

Edit NUC is not the intel small PC but a full desktop.

glxinfo | grep 'OpenGL renderer' gives:
OpenGL renderer string: AMD Radeon RX 7900 XT (radeonsi, navi31, LLVM 18.1.6, DRM 3.57, 6.8.11-300.fc40.x86_64
)

DRI_PRIME=pci-0000_06_00_0 glxinfo | grep 'OpenGL renderer' gives:
OpenGL renderer string: AMD Radeon RX 7900 XT (radeonsi, navi31, LLVM 18.1.6, DRM 3.57, 6.8.11-300.fc40.x86_64)

same output

“Edit NUC is not the intel small PC but a full desktop.” - the “NUC 13 Extreme” was a wierd 3L sff that intel made. I wish I had just gone with a mini itx, but i’m stuck with it now.

ill reboot and look in the bios next.

Disabled igpu in the bios, but steam games are still running poorly.

I’m at a loss.

Please provide a new inxi -Fzxx report so we can see how that change manifested.

disabled igpu and switched back to wayland

System:
  Kernel: 6.8.11-300.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Mini-pc System: Intel Client Systems product: NUC13RNGi7 v: M58740-302
    serial: <superuser required> Chassis: Intel Corporation type: 35 v: 2.0
    serial: <superuser required>
  Mobo: Intel model: NUC13SBBi7 v: M89885-302 serial: <superuser required>
    part-nu: RNUC13RNGi70001 UEFI: Intel v: SBRPL579.0047.2022.1006.1728
    date: 10/06/2022
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
    charge: 55% (should be ignored) status: discharging
CPU:
  Info: 16-core (8-mt/8-st) model: 13th Gen Intel Core i7-13700K bits: 64
    type: MST AMCP arch: Raptor Lake rev: 1 cache: L1: 1.4 MiB L2: 24 MiB
    L3: 30 MiB
  Speed (MHz): avg: 918 high: 1400 min/max: 800/5300:5400:4200 cores: 1: 800
    2: 800 3: 800 4: 800 5: 1400 6: 800 7: 800 8: 800 9: 1275 10: 800 11: 800
    12: 800 13: 800 14: 800 15: 1400 16: 1177 17: 1195 18: 800 19: 800 20: 800
    21: 800 22: 1200 23: 800 24: 800 bogomips: 164044
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] driver: amdgpu
    v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DP-1, DP-2, DP-3, Writeback-1 bus-ID: 03:00.0
    chip-ID: 1002:744c
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: HDMI-A-1 res: 1280x720 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    surfaceless: drv: radeonsi wayland: drv: radeonsi x11: drv: radeonsi
    inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.1 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon RX 7900 XT (radeonsi navi31 LLVM
    18.1.6 DRM 3.57 6.8.11-300.fc40.x86_64) device-ID: 1002:744c
    display-ID: :0.0
  API: Vulkan v: 1.3.283 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 1002:744c device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel Alder Lake-S HD Audio driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7ad0
  Device-2: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30
  Device-3: Realtek USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-8:9 chip-ID: 0bda:4c60
  API: ALSA v: k6.8.11-300.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi vendor: Rivet Networks
    driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:7af0
  IF: wlp0s20f3 state: down mac: <filter>
  Device-2: Aquantia AQC113C NBase-T/IEEE 802.3an Ethernet [Marvell
    Scalable mGig] vendor: Intel driver: atlantic v: kernel pcie:
    speed: 8 GT/s lanes: 2 port: N/A bus-ID: 06:00.0 chip-ID: 1d6a:14c0
    temp: 83.0 C
  IF: enp6s0 state: up speed: 10000 Mbps duplex: full mac: <filter>
  Device-3: Intel Ethernet I226-V driver: igc v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: N/A bus-ID: 07:00.0 chip-ID: 8086:125c
  IF: enp7s0 state: down mac: <filter>
  Device-4: Microsoft Xbox Wireless Adapter for Windows driver: mt76x2u
    type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-1.1:4
    chip-ID: 045e:02e6
  IF: wlp0s20f0u1u1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-14:11 chip-ID: 8087:0033
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 5.46 TiB used: 242.88 GiB (4.3%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN850X 2000GB
    size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 42.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 46.9 C
  ID-3: /dev/nvme2n1 vendor: Western Digital model: WD BLACK SN850X HS
    2000GB size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter>
    temp: 49.9 C
Partition:
  ID-1: / size: 1.82 TiB used: 242.54 GiB (13.0%) fs: btrfs dev: /dev/dm-0
    mapped: luks-eaa896b2-ab66-4ee3-bc2f-74c14974516f
  ID-2: /boot size: 973.4 MiB used: 335.5 MiB (34.5%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-4: /home size: 1.82 TiB used: 242.54 GiB (13.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-eaa896b2-ab66-4ee3-bc2f-74c14974516f
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 51.0 C mem: 64.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 501
Info:
  Memory: total: 32 GiB note: est. available: 30.91 GiB used: 3.5 GiB (11.3%)
  Processes: 561 Power: uptime: 1m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 18 Compilers: N/A Shell: Bash v: 5.2.26
    running-in: konsole inxi: 3.3.34

That is very close to my setup. I have a 7800 and use steam from rpmfusion. Games run well.

I wonder if a config file recorded your old intel gpu somewhere?

You could try creating a new user, login to steam, install one game and see if it works.

If it does work then there is a config file in your $HOME somewhere with a bad setting.

So disabled the iGPU and you are still seeing bad performance in games :thinking: could you try the launch option of DRI_PRIME=1! %command%

Screenshot from 2024-06-16 15-27-41

Thanks for trying to help guys. How do I close this thread?

Closing is automatic. If there was a solution for a thread then you could have set that with button.

I never did find a solution, I’ll dual boot for now and try again in a few months.