protonscr

Steam gamepadui does not render on discrete gpu

steamclosed Distro Family: FedoraFlathub-provided steam package
ValveSoftware/steam-for-linux#8984 · opened 2022-12-12 by koresh-krasa · updated 2023-04-28 · 1 comments · github
Kkoresh-krasa 2022-12-12 github

Your system information

  • Steam client version (build number or date): Dec 10 2022 at 02:13:15
  • Distribution (e.g. Ubuntu): Fedora Silverblue 37
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Steam gamepadui does not work with switcherooctl on AMD laptop. If launched with integrated gpu everything works, but when run on discrete gpu it renders black screen and goes into boot loop.

I am using Steam flatpak (commit c67a900e23d514cb308148c24638cb7316a20643c32049b0a8e2818ed1d4f62c) with Mesa 22.2.4.

gpus:

Device: 0
  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Cezanne
  Default:     yes
  Environment: DRI_PRIME=pci-0000_07_00_0

Device: 1
  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M]
  Default:     no
  Environment: DRI_PRIME=pci-0000_03_00_0

Steps for reproducing this issue:

  1. Run switcherooctl launch -g # com.valvesoftware.Steam -gamepadui # - device number of discrete gpu
Kkoresh-krasa 2023-04-28 github