I guess this commit is also important then since cat /run/libreelec/xorg-settings.conf fails to find i915 on Atom/Celeron systems?
retroarch: default to kms if xorg uses modesetting driver · escalade/LibreELEC.tv@54fc379 · GitHub
So test for i915 (i3 and above) and run in KMS mode if no nokms file is found
Test Xorg.log for kms (Atom/Celeron) and run in KMS mode if no nokms file is found
-> is that what it shoudl actually do? Because the latter didn't work for me.
i3-6100
Xorg.0.log
[ 7.423] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20180308
retroarch.log
[INFO] [GL]: Found GL context: kms
j3455
Xorg.0.log
[ 15.006] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
retroarch.log
[INFO] [GL]: Found GL context: x
The i3 KMS detection works fine and the j3455 uses the modesetting driver as intented but still starts RA with x context.
If I change -o to | | it works. I guess it's intended to be an or. Isn't it?
if grep -q i915 /run/libreelec/xorg-settings.conf || grep -q kms /var/log/Xorg.0.log && [ ! -f /storage/.config/retroarch/nokms ]; then
I compiled the HW variant and it got distorted video output right out of the box so I guess it starts with opengl/vulkan context if it's available & not disabled at least thats what the RA log stated.
Some work some don't but you're right it's not a reliable way to determine if something is messed up.
Yes I've read something about that, also he tried my RA binary before you've updated to the latest version.
Anyway thx for your help -> much appreciated!
What kind of CPU is installed in your notebook?