Skip to content

KMSDRM not working mainline git #1824

@praxis88

Description

@praxis88

Describe the bug
The KMSDRM driver is claimed to be not available by SDL_INIT, the master sharing seems to be not working.

Steps to reproduce
Build off git
QT_SCALE_FACTOR=2 VULKAN_IS_SLOW=1 GL_IS_SLOW=1 moonlight

Affected games
all streaming with kmsdrm

Other Moonlight clients
I dont know, I dont git build for android or ios.

Moonlight settings (please complete the following information)
50mbps 1440p h265 (hdr/nohdr doesnt matter)

Client PC details (please complete the following information)

  • OS: Arch
  • Moonlight Version: git
  • GPU: Intel-media-driver(iHD) - Intel Corporation Alder Lake-N [UHD Graphics]

Server PC details (please complete the following information)

  • OS: Windows 11
  • Sunshine or GeForce Experience version: Sunshine
  • GPU: AMD
  • GPU driver: 26.1.1

Moonlight Logs (please attach)
00:00:00 - SDL Error (0): Failed to restore master to Qt DRM FD: 16
00:00:00 - SDL Error (0): Failed to restore CRTC state to Qt DRM FD: 13
00:00:17 - SDL Error (0): SDL_InitSubSystem(SDL_INIT_VIDEO) failed: kmsdrm not available

moonlight.txt

Additional context
This is regressed, when we did the overhaul for HDR and master sharing approx a month ago, this wasn't happening, and i was using arch then as well

Fwiw this is not a problem after loading it up on debian, but if it's broke in arch, it will probably be broken in debian "shortly"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions