Hello, i don’t know if you know, but Valve is soon releasing their new VR headset called Steam Frame and this headset supports running games on it natively and it uses a ARM processor. And because of that and also because Valve wants to conquer ARM platforms in the future Valve is adding ARM (AArch64) support to Proton compatibility layer by adapting the FEX emulator. And recently a project called Armada was released. It’s a Linux distribution that brings SteamOS like experience to some Android devices. It’s just android based gaming handhelds running Snapdragon SoCs but it got me thinking. Do you think it would somehow be possible to get Steam and Proton running on SailfishOS ? From what i have seen FEX needs a Vulkan support and kernel 5.15 or newer. And SailfishOS should be running on a newer kernel right ? Does it support Vulkan tho ? I mean if it does i guess some missing libraries and dependencies would be the problem but i really don’t know. Is there somebody well learned enough in the way of Linux to know ?
Depends on the device. Murray and Zambezi and Miami run kernel 5.4, but older devices go as far back as kernel 3.1 I think. There’s one or two still running 3.0 with patched glibc.
Unlike desktop Linux it’s very hard/impossible to keep the kernel up to date unless you use mainline, most of the time we’re stuck using more or less whatever kernel the device manufacturer shipped with for Android.
I’m not qualified to answer this bit, but I suspect this is your biggest hurdle. Even on a modern device with a modern kernel, Sailfish’s graphics stack is quite old, Wayland being old on SFOS for example is a fairly common limitation when it comes to running just any other Linux app AFAIK.
$ pkcon search vulkan
...
Available libhybris-libvulkan-0.0.5.58-1.13.1.jolla.aarch64 (adaptation0) Vulkan support helpers for libhybris
Available mesa-llvmpipe-vulkan-drivers-24.1.3+git1-1.9.6.jolla.aarch64 (jolla) Mesa vulkan drivers
Available mpv-0.35.1+git1-1.1.2.bso.aarch64 (sailfishos-chum) Movie player playing most video formats and DVDs
Available vulkan-headers-1.3.277+git1-1.2.3.jolla.noarch (jolla) Vulkan Header files and API registry
Available vulkan-loader-1.3.277+git1-1.2.5.jolla.aarch64 (jolla) Vulkan ICD desktop loader
Available vulkan-loader-debuginfo-1.3.277+git1-1.2.5.jolla.aarch64 (jolla) Debug information for package vulkan-loader
Available vulkan-loader-debugsource-1.3.277+git1-1.2.5.jolla.aarch64 (jolla) Debug sources for package vulkan-loader
Available vulkan-loader-devel-1.3.277+git1-1.2.5.jolla.aarch64 (jolla) Development files for vulkan-loader
I’m guessing the answer is “yes.”
Vulkan is over 10 years old at this point and is made to support hardware that’s almost 15 years old.
Vulkan works, but my experience with retroarch running on vulkan was that it is running rather terribly. I guess it is a combination of the not very strong iGPU on the Mediatek Dimensity 7100 and a lack of optimisation, together qith the tendency of pukse audio to stutter when the gardware struggles.
So the new jolla phone (Mine just arived in our country, don’t have it yet) should be actually powerful enough right?
Well i mean who knows. The SoC it has is nothing to write home about. It is new but pretty low end, roughly comparable to first gen Google Tensor or second gen Snapdragon 7s. But maybe lighter games like idk Terraria could run and i mean it would be just a fun experiment.
Hm So Probably just the new Jolla phone has a chance i guess but Vulkan is there too huh. I guess MediaTek chips don’t have as good device specific support ? Tbh i don’t know anything about this but i know there are like drivers for each SoC gpu, like there is Turnip for Adreno or Vortek which is universal. There are also different DirectX wrappers but on Linux i guess that should be handled by proton ? Maybe those drivers are also just for android tbh, i am not sure. Buuut still i get from this that it can be still theoretically possible
i guess it depends on if valve compiles games for aarch64 and which games. in flightgear i got the highest fps on xperia 10v, higher than on jp2, so i guess it has more promising hardware for gaming.
Valve actually doesn’t need to compile anything even though if they did it would be better of course. It would be the same principle as on linux, where they have the proton translation layer. They want to expand it for arm devices by using the FEX emulator.
And it’s curious that Xperia 10 V is more powerful in your experience. On paper Jolla phone’s SoC should be pretty comparable if not slightly better and it has more memory. So i guess it’s about drivers or optimization.