Fedora 39 defaulted to the wrong graphics card causing many apps to not function #7

Open
opened 2024-09-30 17:51:01 +00:00 by humaton · 0 comments
Member

I installed a fresh copy of Fedora 39 on my friend's gaming PC which had an AMD Ryzen 7 770X CPU with integrated graphics, as well as a discrete AMD GPU (Radeon RX5700XT) and MSI B650-p WiFi motherboard. The Wayland session did mostly work, however, Steam would display an invisible window, some apps incorrectly rendered, and so would Wine apps in Bottle for example. At the time, I could not figure out why his apps and games would be displaying an invisible, non-rendered window, but it was basically unusable as he is a gamer. I installed F38 instead, only for Steam to have the same issue. I edited the desktop config file and removed the lines telling it to use the non-default GPU, this is the default .desktop file configuration. I removed these lines: PrefersNonDefaultGPU=true X-KDE-RunOnDiscreteGpu=true This fixed the issue, but I found it odd that fedora was deciding to not use the primary graphics card. While Steam was broken on F38, it was not as broken as it at least showed the update window. Bottles did work correctly on this older version of Fedora. It seems that Fedora may be defaulting to the integrated GPU on certain configurations now, rather than using the primary graphics card. His motherboard is a newer MSI Zen 5 board. We eventually found that we could disable the iGPU in the BIOS, though not all motherboards may support this, and it was unclear to the user that this could be the problem. Reproducible: Always Steps to Reproduce: 1. Use an AMD Zen 5 motherboard with a CPU that has integrated graphics, and use a discrete AMD GPU for your primary GPU 2. Install Fedora 39 3. Try opening and signing in to Steam on the Wayland session, or attempt to run Windows software like Genshin Impact in Bottles. Actual Results: You will see invisible app windows, not even a border or drop shadow will be visible, but it will exist in the dock and the program will not throw errors. Expected Results: The operating system should use the discrete GPU to render windows, not the integrated graphics chip. I didn't do much more testing because my friend needed his PC. I'm lucky I found the workaround with Steam, because otherwise he would have been unable to play any of his games. Hardware specifics: CPU: AMD Ryzen 7 770X GPU: AMD Radeon RX 5700XT MB: MSI B650-p WiFi (on v1.1 & on latest BIOS versions)

I installed a fresh copy of Fedora 39 on my friend's gaming PC which had an AMD Ryzen 7 770X CPU with integrated graphics, as well as a discrete AMD GPU (Radeon RX5700XT) and MSI B650-p WiFi motherboard. The Wayland session did mostly work, however, Steam would display an invisible window, some apps incorrectly rendered, and so would Wine apps in Bottle for example. At the time, I could not figure out why his apps and games would be displaying an invisible, non-rendered window, but it was basically unusable as he is a gamer. I installed F38 instead, only for Steam to have the same issue. I edited the desktop config file and removed the lines telling it to use the non-default GPU, this is the default .desktop file configuration. I removed these lines: PrefersNonDefaultGPU=true X-KDE-RunOnDiscreteGpu=true This fixed the issue, but I found it odd that fedora was deciding to not use the primary graphics card. While Steam was broken on F38, it was not as broken as it at least showed the update window. Bottles did work correctly on this older version of Fedora. It seems that Fedora may be defaulting to the integrated GPU on certain configurations now, rather than using the primary graphics card. His motherboard is a newer MSI Zen 5 board. We eventually found that we could disable the iGPU in the BIOS, though not all motherboards may support this, and it was unclear to the user that this could be the problem. Reproducible: Always Steps to Reproduce: 1. Use an AMD Zen 5 motherboard with a CPU that has integrated graphics, and use a discrete AMD GPU for your primary GPU 2. Install Fedora 39 3. Try opening and signing in to Steam on the Wayland session, or attempt to run Windows software like Genshin Impact in Bottles. Actual Results: You will see invisible app windows, not even a border or drop shadow will be visible, but it will exist in the dock and the program will not throw errors. Expected Results: The operating system should use the discrete GPU to render windows, not the integrated graphics chip. I didn't do much more testing because my friend needed his PC. I'm lucky I found the workaround with Steam, because otherwise he would have been unable to play any of his games. Hardware specifics: CPU: AMD Ryzen 7 770X GPU: AMD Radeon RX 5700XT MB: MSI B650-p WiFi (on v1.1 & on latest BIOS versions)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rpms/mesa#7
No description provided.