• 3 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
  • https://lemmy.one/post/151466 - This post may help you with issues you face with launching steam.

    I too have have an amd+amd laptop(MSI bravo 15 with 5600h+5500m) and I don’t have any issues with switching from integrated graphics to dedicated graphics. The kernel decides itself(with help from the program running I am guessing) whether the iGPU or dGPU needs to be used. I face absolutely no freezing issues or issues in general related to graphics switching.

    What might be possibly causing your random freezes and stutters is the AMD fTPM. It’s random number generator function is known to cause stuttering and freezing on both windows and Linux. AMD made several futile attempts at solving the issue before Linus ranted about it and then AMD disabled the RNG functionality. But almost all these patches are part of kernel 6.x series so maybe they have not made it downstream to the lts kernel you are running on(not surprising considering how much of a burden it seems supporting old kernels is). If possible, you could disable fTPM from the bios and see if that fixes your general freezing issues. Though I have to warn you that TPM is needed for secure boot(I think) and is used by some password managers for secure password storage so you might lose functionality by turning off the fTPM. Moving to a more modern distro which uses a newer kernel(6.4.7 and above iirc) may also help.

    Also out of curiosity, why is your GPU being shown as 5600 or 5600xt. I am assuming that you have a 5600m



  • Please also mention that the reason the Nouveau is slow is not because of incompetence rather it is because nvidia only allows drivers signed by them to be able the change clocks of their GPUs(at least the fairly modern ones) and hence Nouveau can only run the GPU at base clock. This is being rectified now(after like almost a decade iirc) as nvidia is adding their proprietary firmware to the kernal which will then allow Nouveau to control the GPU clockspeed. Also NVK is being developed to provide vulkan support for nvidia GPUs through the open source driver(Nouveau)












  • I am stumped. How can steam/the system exhibit different behaviour when we are executing similar commands. Maybe it is because I have an amd+amd laptop so it automatically dumps the graphically intensive application to the dGPU. Or maybe because in a desktop, the dGPU is connected directly to the display, it not switching to the dGPU automatically as the user had specified the use of the iGPU. In my laptop(which has no mux switch), the iGPU will draw the frame on the screen even if it the dGPU which determines what is to be drawn


  • Odd. I am guessing that use integrated graphics option from the Gnome DE forces the use of the iGPU for everything steam launches. Do you also require to use the DRI_PRIME=1 command if you launch steam through the terminal in which case it automatically switches to the iGPU for the steam client because I sure did not when I was launching steam from the terminal to circumnagivate the issue

    I used the workarounds mentioned in this post’s comments to resolve the issue https://lemmy.one/post/151466. With this workaround there no need to use the DRI_PRIME=1 modifier for the games(atleast in my experience)

    Edit : does somebody know to link the post in a way such that it opens within the app you are currently using(voyager for me) and does not open a new lemmy.one tab in the browser