You are not logged in.

#1 2021-09-28 11:21:57

nikolov3591
Member
Registered: 2021-09-28
Posts: 1

Plasma 5.22 - Steam native games black screen after start up

Hello everyone, my first post on this forum, so please bear with me. When I run a steam native game as soon as it game loads it goes to black screen the cursor is not visible but I can tell the game is running actually can hear sounds and when I alt+tab the game menus would show for a brief period and then it goes to black screen again in rare occasions after some alt+tabbing the game UI would render and will be playable. I've spend many hours trying to figure out what is going on but I am not sure entirely. My guess it's something to do with Xorg/Plasma or Vulkan.  Issue happens for the following games - Dota2, Dota Underlords, GS:GO with steam-runtime. Steam in game overlay is disabled, proton is not installed.

There are a few errors in the steam logs but they are not causing the issue - determined that after a lot of DD. Any help is welcome, will try to provide as much information as possible if you need any additional outputs please do let me know.

The issue occurred after a fresh install of Arch with KDE+SDDM. Everything on the system is installed as per Arch Wikis.

For the sake of example I will use Dota2 but I think the issue is somewhere in plasma, If you look at Dota2 files there is a touch file using_vulkan - removing that file would allow to start the game in OpenGl mode but the same issue happens, making me think it has something to do with window management. Tried starting the game in windowed mode, full screen, by setting launch options but nothing works.

Kernel params - `nvidia-drm.modeset=1`
For vulkan I have the following packages installed:

nvidia-utils
   vulkan-icd-loader
   lib32-vulkan-icd-loader

Vulkaninfo is working.


Dota 2 logs
Last boot log
Xorg log

Linux workstation 5.14.8-arch1-1 #1 SMP PREEMPT Sun, 26 Sep 2021 19:36:15 +0000 x86_64 GNU/Linux

qdbus org.kde.KWin /KWin supportInformation

==========================

Version
=======
KWin version: 5.22.90
Qt Version: 5.15.2
Qt compile version: 5.15.2
XCB compile version: 1.14

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_GBM: yes
HAVE_EGL_STREAMS: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12013000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
Blur: 0
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: KWin::X11StandalonePlatform

Cursor
======
themeName: breeze_cursors
themeSize: 24

Options
=======
focusPolicy: 0
xwaylandCrashPolicy: 
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 99
glPlatformInterface: 1
windowsBlockCompositing: true
latencyPolicy: 
renderTimeEstimator: 

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  yes
Number of Screens: 1

Screen 0:
---------
Name: DP-0
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 144000

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2
OpenGL version string: 4.6.0 NVIDIA 470.74
OpenGL platform interface: GLX
OpenGL shading language version string: 4.60 NVIDIA
Driver: NVIDIA
Driver version: 470.74
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
X server version: 1.20.13
Linux kernel version: 5.14.8
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
zoom
kwin4_effect_dialogparent
kwin4_effect_fade
kwin4_effect_fadingpopups
kwin4_effect_maximize
kwin4_effect_frozenapp
kwin4_effect_morphingpopups
kwin4_effect_login
kwin4_effect_sessionquit
kwin4_effect_windowaperture
kwin4_effect_logout
kwin4_effect_squash
slidingpopups
slide
screenshot
desktopgrid
colorpicker
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

kwin4_effect_fade:
pluginId: kwin4_effect_fade
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
pluginId: kwin4_effect_fadingpopups
isActiveFullScreenEffect: false

kwin4_effect_maximize:
pluginId: kwin4_effect_maximize
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
pluginId: kwin4_effect_morphingpopups
isActiveFullScreenEffect: false

kwin4_effect_login:
pluginId: kwin4_effect_login
isActiveFullScreenEffect: false

kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

kwin4_effect_windowaperture:
pluginId: kwin4_effect_windowaperture
isActiveFullScreenEffect: false

kwin4_effect_logout:
pluginId: kwin4_effect_logout
isActiveFullScreenEffect: false

kwin4_effect_squash:
pluginId: kwin4_effect_squash
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

slide:
duration: 500
horizontalGap: 45
verticalGap: 20
slideDocks: false
slideBackground: true

screenshot:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

colorpicker:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: true
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:


Loaded Plugins:
---------------
kwin5_plugin_krunner
kwin5_plugin_nightcolor

Available Plugins:
------------------
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor

Edit: Just tried switching to GNOME to see how it behaves there - same issue but the mouse pointer triggers it e.g when you click and the game UI will eventually show up again - guess I have messed something up earlier but not sure what.

Last edited by nikolov3591 (2021-09-28 11:46:39)

Offline

#2 2021-09-28 12:29:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,331

Re: Plasma 5.22 - Steam native games black screen after start up

Afaik there's a bug with the current nvidia driver and gsync, if you have that enabled try to disable that, alternatively downgrade the nvidia drivers one version (... install linux-headers and pick the matching nvidia-dkms/nvidia-utils/lib32-nvidia-utils set) https://wiki.archlinux.org/title/Arch_Linux_Archive

Offline

Board footer

Powered by FluxBB