batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2.01k stars 515 forks source link

Radeon Drivers not loaded v35 beta #6984

Closed 376shovel closed 1 year ago

376shovel commented 2 years ago

Lenovo thinkcentre V35 beta, 9/5/2022

I7-7700 Radeon RX6400

System boots up no problem, but the mesa drivers load, and most systems are unplayable.

Is this card supported?

dmanlfc commented 2 years ago

What is shown under system information. Also check the wiki on how to provide logs.

376shovel commented 2 years ago

What is shown under system information. Also check the wiki on how to provide logs.

Thanks for the reply. I will do that and provide more info tomorrow.

I do remember in system information it showed the card as AMD Beige_Goby, and it showed the driver info as Mesa, which i believe is the generic driver. I remember seeing that on an old nvidia card with an earlier version of batocera when the Nvidia drivers were not loaded.

More tomorrow.

376shovel commented 2 years ago

Under system info: OPENGL: 4.6 core profile Mesa 22.1.4

Graphics API: OpenGL ES 2.0 Vendor: AMD Renderer: AMD BEIGE_GOBY (LLVM 13.0.1, DRM 3.46, 5.18.12) VERSION: OpenGL ES 3.2 Mesa 22.1.4 Shaders: OpenGL ES GLSL ES 3.20

dmanlfc commented 2 years ago

Yeah we'd need to see the logs specifically the dmesg log.

376shovel commented 2 years ago

I will attempt to do that tomorrow. How do i get you that log?

dmanlfc commented 2 years ago

As per earlier post, it's on the wiki

https://wiki.batocera.org/troubleshooting

376shovel commented 2 years ago

I see it under "create a Support file", Thanks buddy.

dmanlfc commented 2 years ago

As requested, please link the file

376shovel commented 2 years ago

https://filebin.net/znbw6mnhy25g4j6f/dmesg.txt

dmanlfc commented 2 years ago

What's the output of xrandr --listproviders

dmanlfc commented 2 years ago

Also, try this manual upgrade here...

https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=sharing

376shovel commented 2 years ago

That update didn't fix it, but it changed the following:

Mesa 22.1.4 changed to Mesa 22.1.7

Under renderer it changed from AMD BEIGE_GOBY (LLVM 13.0.1, DRM 3.46, 5.18.12) To AMD BEIGE_GOBY (LLVM 13.0.1, DRM 3.46, 5.18.19)

What is it supposed to show when it has the correct AMD drivers loaded?

dmanlfc commented 2 years ago

It's showing correctly - the driver is loading. Please provide output of the other question.

376shovel commented 2 years ago

It says "can't open display"

dmanlfc commented 2 years ago

Hit F1, Applications, Terminal then run the command

376shovel commented 2 years ago

Providers : number : 2 Provider 0: id: 0x52 cap: 0xf, Source Output, sink Output, source offload, sink offload crtcs: 2 outputs: 2 associated providers: 1 name: unknown AMD Radeon GPU @ PCI:0000:03:00.0

Provider 1: id: 0x93 cap: 0xf, Source Output, sink Output, source offload, sink offload crtcs: 3 outputs: 5 associated providers: 1 name: modesetting

376shovel commented 2 years ago

Also, just to note i tried the following emulators:

Yuzu: works Xbox: sound but no video Rpcs3: no sound, nothing after menu.

This is contrasting with the nvidia card i typically use, where every one of these systems work.

dmanlfc commented 2 years ago

yuzu isn't a supported emulator... sounds like you're patching something...? try different graphics api's

376shovel commented 2 years ago

Just the standard supported emulators, yuzu is just one add on. I have been trying vulkan, i could try OpenGL. Is there a way to get into the xbox emulator settings?

Just to clarify, the drivers drivers from AMD are not used, but instead the Mesa open source drivers are?

I heard Mesa version 22.3 supports vulkan?

dmanlfc commented 2 years ago

Yes we use Mesa which has had support for RDNA2 for a while. There are AMD Vulkan drivers already in Mesa. 22.3 will probably bring some maturity but it's not released yet. That will be in v36 of Batocera. OpenGL is mature. You can access Xbox settings via F1 -> Applications.

376shovel commented 2 years ago

You have been a tremendous help. Many thanks to you, sir. Any idea on when 35 stable will be released? Should i update to that when available?

I didnt think i saw the xbox emulator in applications?

dmanlfc commented 2 years ago

In the next couple of weeks, & yes you should update. Then follow v36 beta ;-)

376shovel commented 2 years ago

Heads up: The xbox settings (xemu) aren't available in applications.