12 ms·
Raspberry Pi 4 achieves Vulkan 1.1 conformance, gets GPU performance boost
- rixrax 5y agoWhat’s the test software / benchmark I should use on Linux nowadays to measure (and compare) shader and raw GPU performance? That would ideally run under both X and Wayland?
- arminiusreturns 5y agoI have always tended towards Phoronixs test suite (https://www.phoronix-test-suite.com/ https://www.phoronix-test-suite.com/) but Im sure there are a few specific to Vulkan around. Not sure about wayland.
- fulafel 5y agoThe application(s) you want to run is the best benchmark.
- rixrax 5y agoProblem with this is that the application I have in mind doesn't provide anything but perceptual feedback. I'd rather have some cold numbers that are to some degree reproducible and would give at least rough idea of the performance of given HW+drivers+other-settings combination.
- fulafel 5y agoMaybe the mesa fps overlays (no app modification needed) described here can help? https://gazoche.xyz/fps-overlays-on-linux.html https://gazoche.xyz/fps-overlays-on-linux.html
- rixrax 5y agoThank You! That, and especially MangoHUD which that page links to look really promising. Thank You again!
- ncmncm 5y agoI guess this means you can use Kompute (kompute.cc) on RPi 4, now?
- lucb1e 5y ago(A GPGPU framework, to save others a click.)
- ncmncm 5y agoExcept not a framework, it's just a library. You can use it to do any of the stuff you would do with CUDA, about as fast, but portably. #include it to accelerate your game's physics engine, or whatever. It doesn't say so at kompute.cc, but I found that it depends on Vulkan 1.1.
- pengaru 5y agoin TFA: s/Iglia/Igalia/
- prox 5y agoI wonder if a Raspberry GPU board (low cost graphics performance) is possible. For light Blender work and maybe simple games.
- my123 5y agoIt’s better even in GPU perf/$ to buy a Jetson Nano 2GB, the RPi4 GPU is really small (and not that well featured).
- krallja 5y agoThe Jetson Nano uses a very similar SoC to the Nintendo Switch, so you can expect similar performance.
- JustFinishedBSG 5y agoIt uses half a switch SoC GPU wise
- GhettoComputers 5y agoAll versions? Would be cool to use a hacked switch running linux instead of Jetson if the performance was that much better.
- my123 5y ago921.6MHz is the GPU clock on Jetson Nano (at MAXN). For the Switch: > The GPU cores are clocked at 768 MHz when the device is docked, and in handheld mode, fluctuating between the following speeds: 307.2 MHz, 384 MHz, and 460 MHz
- amelius 5y agoBut you can only run one flavor of Linux on it, since NVidia keeps the specs closed.
- 5y ago
- marcodiego 5y agoNow combine this with Zink and boom! We get OpenGL 4.6 for free: https://www.phoronix.com/scan.php?page=news_item&px=Zink-Closer-To-4.6-Conformance https://www.phoronix.com/scan.php?page=news_item&px=Zink-Clo... . Vulkan is too low level, but AFAICS it is not something one use directly, instead a library which uses it as a back-end should be used.
- my123 5y ago> Now combine this with Zink and boom! We get OpenGL 4.6 for free For the RPi4 specifically: That GPU has hardware limitations that make it unable of OpenGL 3.0. However, it supports GLES 3.2. If you want GL desktop minus the unsupported features by the hardware, you can set MESA_GL_VERSION_OVERRIDE=3.3 for example. That will however never be compliant. Vulkan has many extensions to allow it to work on hardware which doesn’t support the full feature set. (by not implementing them, instead of having only version numbers)
- Factorium 5y agoCould we see a portable Epic Games console, pugged directly into their store? Like the Steam Deck, but better, since developers will get 88% of revenue instead of 65% on Steam.
- fortyseven 5y ago*slurp*
- smoldesu 5y agoYou can download EGS games on Linux just fine, so ostensibly you could build one of these right now. Of course, you probably wouldn't want to use ARM for a PC game console, but you're welcome to try it.
- LeoPanthera 5y agoThe Steam Deck is a generic PC. It's not locked to the Steam store. It's not even locked to the OS it comes with. You can install the Epic store, or any other store, on it right now. If you have one, anyway.
- ArtWomb 5y agoCongrats! Huge effort. Full spec of Broadcomm GPU (24 GFLOPS) https://forums.raspberrypi.com/viewtopic.php?t=244519 https://forums.raspberrypi.com/viewtopic.php?t=244519
- StreamBright 5y agoThis is great for many reasons. https://www.reddit.com/r/MachineLearning/comments/ilcw2f/p_vulkan_as_an_alternative_to_cuda_in_scientific/ https://www.reddit.com/r/MachineLearning/comments/ilcw2f/p_v...
- exabrial 5y agough, now if I could only buy a few haha
- boromi 5y agoSeriously I had to pay 75$ to get one recently, which was painful but I needed it.
- juanse 5y agoSame here but with 10 units. Almost 100$ each.
- GhettoComputers 5y agoWhat for? I'm sure you have some older computers that run much better that you already have in your house. An APU would trounce it. Pi feel like netbooks of desktop computers, the new ones get extremely hot, I would expect it to require a heavy heatsink and constantly spinning fan if you tried this.
- lytedev 5y agoBetter power efficiency
- handrous 5y agoJust checked, looks like Vulcan under DRM on the Pi4 works, and at least some people in the Libretro ecosystem have already messed around with it, so this could benefit Lakka. Awesome. Maybe this'll mean getting to play with some decent CRT shaders on the Pi without an unacceptable performance hit, and/or getting to make better use of Retroarch's advanced input lag reduction features.
- willis936 5y agoCRT Royale running 60 fps in a sub 15 W machine would be impressive. 1080p would be nice, 1440p would be great, and 4K would be best. The pi4 can output 4K60, but I really doubt it can shove through that many simulated pixels.
- klysm 5y agoIt’s still pretty astonishing to me that it can squeeze 4K60 out at all.
- mewse-hn 5y agoIf this could get playstation emulators using vulkan running at decent frame rates that would be really, really awesome
- handrous 5y agoI had decent success with PS1 games on the Pi2, which surprised me. Most games I tried ran well. I haven't tried on the Pi4 but I assume it's really good, based on that. PS2 might even work well, there. N64 was another story, but N64 emulators have improved a bunch since last time I tried. I think the only game I found that played acceptably on the Pi2 was Mario64. Most of the rest were slideshows or didn't run at all.
- account42 5y ago> Maybe this'll mean getting to play with some decent CRT shaders on the Pi without an unacceptable performance hit Vulkan is mainly about reducing CPU overhead, don't expect it to do much for complex shaders or other things that are already GPU-bound.
- hesdeadjim 5y agoIf only there was a world where Apple would sell M1 chips separately from their walled garden.
- JiNCMG 5y agoWhy? Apple has always stated they don't want to be in an enterprise like market. It stifles innovation. While you can keeps adding features to your product you can never take away from it. Ex: x86 and Windows. Meanwhile Apple has removed entire CPU functionality from their chips since the release of the iPhone 4S. This was easy because they only had to deal with their own developers. This keeps them agile and able to change from 1 release to another.
- smoldesu 5y agoAlso accepted would be a world where they just add Vulkan support to their APUs already.
- WithinReason 5y agoHow about MoltenVK? https://github.com/KhronosGroup/MoltenVK https://github.com/KhronosGroup/MoltenVK
- smoldesu 5y agoIt's fine, but it's frankly silly that you're forced to translate a free and open graphics API into a more proprietary one. Compare that to something like DXVK, which exists because Linux users cannot license DirectX on their systems. MoltenVK exists simply because Apple thought "let's not adopt the industry-wide standard for CG graphics on our newer machines". Again, not bad, but a bit of a sticky situation that is entirely predicated by technology politics, not what's actually possible on these GPUs.
- bzzzt 5y agoMetal was released a year before Vulkan. Apple just didn't want to wait and decided to design their own better than OpenGL API.
- causi 5y agoI wonder if we'll see any impacts from this on the Pi 4 applications that are presently borderline when it comes to performance, like N64 emulation.
- StillBored 5y agoThis is raspberrypi OS only right? Aren't the normal linux drivers still broken for 3d?
- fulafel 5y agoNo and no. "driver changes for Vulkan 1.1 conformance have already been merged in the upstream v3dv Mesa driver"
- Decabytes 5y agoA project I dream about but have neither the skills to implement nor the discipline. An entire OS written just for the RPI4. With code making use of the fact that we are running on known hardware, so we can optimize it rigorously. If you focused on supporting the official raspberry pi keyboard, mouse, and touchscreen you could circumvent a lot of the pains around driver issues. Then people could actually get up and running with your OS with real hardware, and you could start dogfooding it. I’ve heard people say that the software we use is up to 100 times slower than it needs to be. So my hypothesis is that if the software was written smarter, and used the fact that we know the hardware ahead of time, we should easily hit a 100 times performance increase across the OS. Also if it were possible, it would be cool if this OS supported a minimal boot mode, that could be configured to only run the bare minimum amount of apps required for a certain piece of software. So for example a game mode that ran the game, and the bare minimum amount of OS the game needed to run. And since we are in full on fantasy land we can take this one step further. Same basic concept, but with a RISC-V SBC, with an open GPU. Bonus points if you can get up and running with a touchscreen, keyboard, mouse, case, and SD card for $150
- mkl 5y agoMouse and keyboard are as standard and supported as they can possibly be, and the official Raspberry Pi ones are ordinary USB ones supported everywhere. Touchscreens supported in Linux are supported well out of the box as well (e.g. my Dell ones). "100 times slower" sounds like nonsense to me; huge numbers of people are motivated to make software faster, so if there was that much room to improve, it mostly would have happened already.
- mysterydip 5y agoYes, I recently was investigating USB keyboard/mouse usage on a microcontroller and found out it's not too difficult to implement: https://www.networktechinc.com/usb-prots.html https://www.networktechinc.com/usb-prots.html
- ComodoHacker 5y ago>code making use of the fact that we are running on known hardware >you focused on supporting the official raspberry pi keyboard, mouse, and touchscreen you could circumvent a lot of the pains around driver issues I'm afraid that's how closed, non-extensible systems are born, and later inevitably die.