Project

General

Profile

Actions

Emulator Issues #11099

closed

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

Added by i30817 over 6 years ago. Updated about 2 years ago.

Status:
Invalid
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.

Actions #1

Updated by Helios over 6 years ago

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

Updated by i30817 over 6 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.

Actions #3

Updated by JMC4789 about 2 years ago

  • Status changed from New to Invalid

I don't know if things have changed, but this issue has been just sitting on the tracker for years. If someone wants to do it, it'll likely be a passion project rather than someone scanning the issue tracker looking for bugs/features.

Actions

Also available in: Atom PDF