Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application may not be hardware accelerated on AMD RX 7900 XTX #9077

Closed
danielgarciagarcia opened this issue Jan 7, 2023 · 5 comments
Closed

Comments

@danielgarciagarcia
Copy link

danielgarciagarcia commented Jan 7, 2023

Your system information

  • Steam client version (build number or date): Built Dec. 15 2022, at 21:27:15
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Steam logs show that the bundled LLVM version of the runtime is unable to recognize the recently released AMD RX 7900 XTX GPU as a target.

Installing breakpad exception handler for appid(steam)/version(1671236931)
'gfx1100' is not a recognized processor for this target (ignoring processor)
'gfx1100' is not a recognized processor for this target (ignoring processor)
amd: LLVM doesn't support gfx1100, bailing out...
libGL error: glx: failed to create dri3 screen

I can confirm that this also happens for any application that run on a setup where one of the following conditions is not true:

  • Mesa is version 22.2.0+
  • LLVM version 15.0+
  • Mesa built against that version of LLVM

This may be preventing Steam application to be hardware accelerated, as the runtime cannot use the GPU properly. This can also be seen while monitoring the CPU usage. When Steam starts the CPU usage goes crazy high and keeps to that level.

I don't know if games are affected.

Steps for reproducing this issue:

  1. Have an AMD RX 7900 XTX
  2. Start Steam from the terminal
  3. Check the logging
  4. Check how the CPU usage is very high while using Steam
@danielgarciagarcia
Copy link
Author

Accidentally published the same issue twice. #9078 is the correct one.

@kisak-valve
Copy link
Member

Hello @danielgarciagarcia, the older issue report takes priority.

@kisak-valve kisak-valve reopened this Jan 7, 2023
@danielgarciagarcia
Copy link
Author

@kisak-valve No problem, thanks for reopening and sorry for the confusion!

@kisak-valve
Copy link
Member

kisak-valve commented Jan 7, 2023

Looking this over, it looks like an system packaging issue, not a Steam client issue. The video driver from the host system takes priority over any part of the LD_* Steam runtime and that includes using the system install of llvm for mesa/radeonsi. Last I heard, Arch's mesa 22.3.2 builds were built against llvm 14. If you've done a custom system install, then have you also taken care of lib32-llvm-libs and lib32-mesa for the 32 bit render path which Steam uses?

Please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

@danielgarciagarcia
Copy link
Author

You are right. I forgot Steam uses 32-bit libraries. Doing for the 32-bit versions the same procedure I did for the 64-bit LLVM and mesa packages fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants