Retroarch on DRM/KMS doesn't work anymore

So, I’ve been using Retroarch nightlies on Linux for a while, and DRM/KMS mode used to work perfectly. But today I’m unable to launch it, I get no error message on the terminal, nothing, and Retroarch does not launch. Is this a known issue ? I’m on Intel modesetting driver.

Edit : just tested with Retroarch 1.5.1 and the issue is still there.

I just had someone test with their Intel GPU and they didn’t have any problems. Can you try moving/deleting your retroarch.cfg from ~/.config/retroarch and see if it changes anything?

You have to back to the old mesa driver 13.4x.

I have had the same issue last week. I just did that then it works again.

I use Archlinux.

Thanks. Unfortunately I have tried that and it did not change anything.

Thanks for the answer ! I’m glad it’s not a problem on my end. I’ll try to downgrade to an older version of Mesa. I’m on Archlinux too.

Yeah, try it I’m sure it will work.

But I don’t know how to revert to an old Mesa on Arch (it’s not in the official repos).

look overhere

I mean, I know how to downgrade package, but I don’t know where I can find an older Mesa for Arch… But thanks anyway ! :slight_smile:

For information, since I can’t use DRM/KMS I used Vulkan in a Gnome Wayland session and the performance is really good ; much better than with Plasma on X.org, and almost what I get on KMS. :slight_smile:

yeah! Vulkan with Wayland is a great, convenient alternative to KMS.

Indeed ; @Brunnis should benchmark the input lag. :stuck_out_tongue:

Hi ! I’m kinda pulling my hair out on this subject !

In my experience : using Lakka / KMS with an Intel integrated GPU gives a really low input lag. (even better with double buffering and frame delay)

Using any DE (KDE in my case), under X, with double buffering gives an OK experience but I can feel a slight lag.

Lag is horrible on a Raspberry Pi IMHO. (except if one uses dispmanx and frame delay but it looks horrible then).

As I have a machine with a good Nvidia GPU but also a correct Intel integrated GPU, which one should I use ? It’s tricky because…

  • the Nvidia blobs supposedly support KMS but Retroarch segfaults when starting it from the console (it was also behaving strangely with Intel when started from the Ubuntu console and not Lakka)

  • I could use Lakka but it doesn’t come with the nvidia proprietary drivers so it means I’d have to drop my nvidia card and use the intel gpu instead

  • I could use Wayland but it seems there are politics involved regarding Wayland, KDE/kwin & nvidia blobs and I don’t really want to switch to GNOME.

  • Could I could continue to use KDE/kwin over X with my nvidia card and make Lakka use the intel chipset ?

It seems difficult to combine all the advantages (keep KDE, keep my nvidia card and have a low input lag).

What do you think ?

The Wayland context has some of the same advantages as KMS and “feels” almost as snappy in subjective testing (no one has done any objective tests of it vs KMS and/or X AFAIK).

I think Lakka typically has issues with Optimus GPU switching and defaults to the Intel GPU anyway(?), so if that’s the case and you’re dual-booting, I think that should get you covered. You won’t be able to run the most demanding shaders, obviously, but anything after Sandy Bridge HD3000 should handle most of them just fine.

1 Like

Hi ! Thanks for the reply ! Hmm, yeah dual boot would be a satisfying compromise, then. (or downgrade to Intel-only and use it under KDE in the wayland session).

My only concern is that the nvidia gpu overheats if Lakka doesn’t disable it.

thanks for the replies ! :slight_smile:

Oh, BTW, I’m getting quite offtopic, but as we are assessing the option to reduce input lag… Does the Vulkan output improve the situation, even over an X session ? I tried to switch to Vulkan, (X/KDE/Nvidia) but it always segfaults…

Edit : I opened a distinct topic about this segfault. After comparing performance with the nvidia & intel gpus, I decided to settle with the nvidia, as the intel one chokes with big shaders.

Hunterk: I’m googling quite a lot and didn’t manage to figure out if the recent NVIDIA proprietary drivers are supposed to work with retroarch in kms mode (and/or Vulkan).

Can anyone enlighten me ?

I’m pretty sure they don’t. I believe you still have to use nouveau for it.

Yes for now you have to use open source driver so nouveau. The support of DRM/KMS in nvidia driver is still premature.

Okay, thank you both ! At least, it’s promising for the future. Thanks !

Oh, do your comments also apply to the Vulkan API (segfault in my case) ? At least this would enable to switch to double buffering…