gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

GAMESCOPE + TTY + NVIDIA = Failed to initialize output

Open miramax001 opened this issue 1 year ago • 4 comments

Hi,

I'm trying to launch STEAM from TTY

CMD:

STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W 1920 -H 1080 -r 60 -e --prefer-vk-device 10de:24e0 --xwayland-count 2
-- steam -gamepadui -steamdeck

OUT:

vblank: Using timerfd.
wlserver: [backend/headless/backend.c:67] Creating headless backend
wlserver: [libseat] [libseat/libseat.c:62] Seat opened with backend 'logind'
wlserver: [backend/session/session.c:109] Successfully loaded libseat session
vulkan: selecting physical device 'NVIDIA GeForce RTX 3070 Ti Laptop GPU': queue family 2
vulkan: physical device supports DRM format modifiers
drm: opening DRM node '/dev/dri/card0'
drm: Immediate flips are not supported by the KMS driver
drm: Connectors:
drm:   eDP-1 (disconnected)
drm:   HDMI-A-1 (disconnected)
drm:   DP-2 (disconnected)
drm:   DP-1 (disconnected)
drm: cannot find any connected connector!
drm: Failed to find a primary plane
Failed to initialize output
  • gamescope: gamescope-nvidia:3.14.0-1
  • NVIDIA: 550.40.07 (tkg version)
  • Kernel parameters: nvidia-drm.modeset=1 nvidia_drm.fbdev=1

Anyone know out do I fix this?

Regards

miramax001 avatar Feb 08 '24 20:02 miramax001

nvidia-drm.modeset must be set as a kernel launch parameter, not a sysctl.d thing.

You should also probably remove nvidia_drm.fbdev=1. IDK what that is meant to do but it sounds like it could conflict.

(also isn't the module prefix nvidia-drm and not nvidia_drm, its probably not doing anything anyway...?)

misyltoad avatar Feb 09 '24 03:02 misyltoad

hi,

It's as kernel launch parameter:

cat /proc/cmdline

BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=xxxxxxx rw rootflags=subvol=@ quiet loglevel=3 nvidia-drm.modeset=1 nvidia_drm.fbdev=1 ibt=off

miramax001 avatar Feb 09 '24 12:02 miramax001

I'm facing this issue on 535.43.25 vulkan beta

anthr76 avatar Feb 13 '24 03:02 anthr76

I'm having this issue on Arch Linux with a Framework 16 (AMD GPU). Most things just work on this computer, with this notable exception.

rothn avatar Jun 07 '24 00:06 rothn