Project

General

Profile

Emulator Issues #11099

Would it be possible to use KMS (kernel mode setting) to play dolphin-emu-nogui on a tty?

Added by i30817 almost 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
% Done:

0%

Operating system:
Linux
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Seems like a nice idea, if probably a bit too much work if the codebase just uses desktop resources without testing if they're available first.

History

#1 Updated by Helios almost 3 years ago

  • Issue type changed from Bug to Feature request
  • Priority changed from Normal to Low
  • Operating system Linux added
  • Operating system deleted (N/A)

#2 Updated by i30817 over 2 years ago

Interestingly, after some experimentation with retroarch and KMS i've reached a conclusion about this:

This could be a worthwhile project, but there the distros aren't there yet.

Namely kmscon and its older project systemd-consoled were killed around the time of the anti-systemd hysteria back in 2014. This is important for GUIs on KMS because of two reasons:

Since the linux kernel drivers are supposed to be simple to maintain, distros reacted by putting a lot of hardware quirks in userspace libraries for X11 and Wayland DEs. Namely the current holder of this 'mess' is libinput, that at least on weston/wayland attaches libinput to the compositor between it and udev. When you use KMS directly you get the hardware sending straight to edev, and naturally everything is screwed up (most notably touchpads).

Another complicated problem is GPU permissions. At least on retroarch it's very easy to force a crash by losing and (failing) to re-acquire the opengl context due to lack of 'returning' permissions.

I think for sure the first problem, and maybe the second problem could be dealt with if the tty console was a wayland compositor (like kmscon or systemd-consoled). But again these projects have been dead for years as far as i can tell. If you know of a current alternative please let me know.

Also available in: Atom PDF