dolphin icon indicating copy to clipboard operation
dolphin copied to clipboard

Implement loading custom drivers on Android

Open K0bin opened this issue 1 year ago • 6 comments

I had experimented with this months ago but wasn't confident with shipping it. Now that Yuzu has successfully demonstrated that shipping libadrenotools on the Play Store is fine, I decided to finish it.

The necessary changes to shared C++ code are thankfully fairly unintrusive.

The UI is heavily inspired by Yuzus implementation rather than the one in Skyline, simply because it's simpler and less work. Screenshot_2023-06-01-16-28-23-61_cf67db6494b18582489a109fa6c1616d

Big thanks to @bylaws.

K0bin avatar Jun 01 '23 14:06 K0bin

For a future progress report:

Old 2020 Qualcomm proprietary driver: image

Turnip 23.1: image

K0bin avatar Jun 01 '23 21:06 K0bin

This is actually interesting on my Pixel 3a. Vulkan in general is just improved versus my default driver, but vs OpenGL it varies.

I know that doesn't matter, but games like Super Mario Galaxy are just much faster, but some simpler games are still slower than OpenGL. The biggest benefit is just having a driver I kind of trust versus my default driver.

JMC47 avatar Jun 03 '23 03:06 JMC47

@JMC47 OpenGL is not impacted at all. It only replaces the Vulkan driver.

K0bin avatar Jun 03 '23 08:06 K0bin

Go home FIFOCI, you're drunk.

K0bin avatar Jun 10 '23 17:06 K0bin

Tested and working, and has reviews. FifoCI is unrelated.

JMC47 avatar Jun 10 '23 17:06 JMC47

Screenshot_20230610-130749_Vulkan Caps Viewer Screenshot_20230610-131529_Dolphin Debug

Hello, I've been testing for a few days and this AMDvlk driver works great for me with dolphin

brujo5 avatar Jun 10 '23 20:06 brujo5

this is another nice fuck you to anyone with mali gpus. pixel 6 users like myself cannot benefit from this pr at all.

AlexS2412 avatar Jun 11 '23 20:06 AlexS2412

@AlexS2412 There's nothing preventing this from working on Mali GPUs aside from the fact that nobody has written an open source Vulkan driver for those GPUs.

Besides that, Mali GPUs are simply missing a lot of hardware and driver features that emulators need.

K0bin avatar Jun 11 '23 20:06 K0bin