Vulkan Khronos Video 3D driver on pi4
-
@mitu watch this video, the increment gived by Vulkan / mesa driver speed up is About of 40% and more...without overclock your pi4..
-
@giandeejay said in Vulkan Khronos Video 3D driver on pi4:
About of 40% and more...without overclock your pi4..
That's not very convincing - it's testing OpenGL (which is 'emulated' on a Pi) with Vulkan. I'd like to see some OpenGL ES vs. Vulkan tests, Q3 is supposed to run better when using OpenGL ES (see for instance https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=198680 which is touting > 100fps on a Pi3 @ 720p).
-
@mitu said in Vulkan Khronos Video 3D driver on pi4:
@giandeejay said in Vulkan Khronos Video 3D driver on pi4:
About of 40% and more...without overclock your pi4..
That's not very convincing - it's testing OpenGL (which is 'emulated' on a Pi) with Vulkan. I'd like to see some OpenGL ES vs. Vulkan tests, Q3 is supposed to run better when using OpenGL ES (see for instance https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=198680 which is touting > 100fps on a Pi3 @ 720p).
OpenGL is emulated?
FWIW, I ran a custom timedemo where Vulkan had improved performance over its OGL counterpart in vkQ3. I saw about 6 (stock) and 8 (OC) higher avg FPS @ 1080p.
-
@bluestang said in Vulkan Khronos Video 3D driver on pi4:
OpenGL is emulated?
Yes, it's implemented on-top of GLES, because this is what the hardware supports. Similar to how Zink is now implemented in Mesa.
I saw about 6 (stock) and 8 (OC) higher avg FPS @ 1080p.
Good to have some numbers to compare.
-
@mitu watch my solution:
I have integrated some emulators lr-ppsspp and Duckstation with vulkan driver on Retropie
Thanks to pikiss and editing the es_systems.cfg
With xinit command before running emulators script of ppsspp to initialize pixeldesktop environment in background and other vulkandriver supported systems preinstalled by pikiss, integrated in Emulationstation.
Yes it's a Hybrid solution but now psp emulator and ps1 emulator works with vulkandrivers and you can see a great improovement on graphics and Fps of the games...
-
@giandeejay very shaky video, can barely see what's being shown.
One advice, since it caught my eye - don't run the emulators through
sudo
, it will mess up your file permissions. -
@mitu ok...but emulators works...(lr-ppsspp with Vulkan Drivers) i don't know if xinit command can be exceuted without sudo prefix...maybe only sudoers users can launch xinit... I will try..
-
If you're launching the emulators from a desktop session, you don't need
xinit
.sudo
should never be used to start an emulator.Otherwise, if you'd like an emulator to start a Xorg/desktop session before launch then prefix the emulator entry with
XINIT:
in theemulators.cfg
file where the emulator is defined (see minecraft for an example). -
@mitu and if I haven't file config of emulator ?
My solution is to edit in retropie the es_systems.cfg changing the line between <command> </command>
This is the command in my youtube video:
From minute 8:10 to 9:00:
<command>cd /home/pi/games/ppsspp sudo xinit ./ppssppsdl %ROM%</command>
Now I will try to replace "sudo xinit" to
XINIT: ...leaving the rest of the command unchanged... -
@giandeejay said in Vulkan Khronos Video 3D driver on pi4:
@mitu and if I haven't file config of emulator ?
Install the emulator included RetroPie-Setup and that file will be automatically created; you don't need to modify
es_systems.cfg
. Add an entry for your Vulkan-enabled version inemulators.cfg
(prefixed withXINIT:
if needed) and you'll be able to choose between the 2 versions from the runcommand launch menu. -
@mitu
Tried but If I Replace "sudo xinit" with
XINIT:
this command not exist on retropie...My emulators like Sega Supermodel3 and ppssppsdl runs under emulationstation only with "sudo xinit" ...and the rest of the command...
-
@giandeejay said in Vulkan Khronos Video 3D driver on pi4:
@mitu XINIT: this command not exist on retropie..
It's not a command, it's an option for
runcommand
telling it to run the program in a desktop/Xorg session. -
@mitu maybe we talk of 2 different things...
The emulator /ppssppsdl that support vulkan driver isn"t present in retropie setup...
This special emulator is installed by pikiss...not by retropie...
So i have Created a new system in es_systems.cfg
Otherwise is impossible to launch it on emulationstation ... -
@giandeejay said in Vulkan Khronos Video 3D driver on pi4:
@mitu maybe we talk of 2 different things...
Almost. You don't seem to be familiar with how RetroPie configures emulators, though.
The emulator /ppssppsdl that support vulkan driver isn"t present in retropie setup...
Yes, that's why I said earlier:
Add an entry for your Vulkan-enabled version in emulators.cfg (prefixed with XINIT: if needed) and you'll be able to choose between the 2 versions from the runcommand launch menu.
Installing the RetroPie entry for
ppsspp
will create theemulators.cfg
, which you can modify an add your own entry (for the Vulkan enabled PPSSPP):ppsspp-vulkan=XINIT:/home/pi/games/ppsspp/ppssppsdl %ROM%
You can then, as said earlier:
..you'll be able to choose between the 2 versions from the runcommand launch menu.
-
@mitu I don't know how to install a retropie entry for vulkan...
Where can I install a Retropie Entry ? -
@giandeejay said in Vulkan Khronos Video 3D driver on pi4:
@mitu I don't know how to install a retropie entry for vulkan...
Install the
ppsspp
emulator included in RetroPie (it's in the optional package section), just like any other emulators you install from RetroPie-Setup - https://retropie.org.uk/docs/Updating-RetroPie/#manage-packages. -
@mitu yes I have already installed ppsspp emulator on retropie..
Now how I can configure runcommand to say "ehi runcommand it's ok I have 2 ppsspp emulators let me choose between first or second to launch"
The first one is ppsspp , the second one is ppssppsdl...
In the configuration file of first one
Can I add the line posted by you ?
Seems simple to do, I try...
xxxxxxxxxxxxxxxxxxxxxxxx
Added this line to psp emulators.cfgppsspp-vulkan = "XINIT:/home/pi/games/ppsspp/ppssppsdl %ROM% --fullscreen"
Ok solved YES IT Works...
xxxxxxxxxxxxxxxxxxxxxxxx
Now runcommand let me choose what version of ppsspp to use...
And added ppsspp-vulkan to runcommand menu...
Thank you very much...
There's always something to learn!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.