https://bugs.kde.org/show_bug.cgi?id=461565
Bug ID: 461565
Summary: kwin_wayland doesn't appear to display anything on a
simpledrm device
Classification: Plasma
Product: kwin
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: platform-drm
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
It appears that kwin doesn't draw anything to the screen on simpledrm anymore,
I am not sure when this started, but this build of kwin was built on 2022-11-03
STEPS TO REPRODUCE
1. Ensure you are using simpledrm, if your kernel was built with it enabled,
you can actually use it with the nomodeset option. It could also be a module
you need to load, although distros that enable it don't seem to be enabling it
as a module.
2. start `kwin_xwayland --xwayland xterm`
3. Observe the blank screen
OBSERVED RESULT
exporting QT_LOGGING_RULES=*=true and then running kwin, and then grepping
`drm` in the log output
```
No backend specified, automatically choosing drm
kwin_wayland_drm: adding GPU /dev/dri/card0
kwin_wayland_drm: drmModeAddFB2WithModifiers is supported on GPU
"/dev/dri/card0"
kwin_wayland_drm: Using Atomic Mode Setting on gpu "/dev/dri/card0"
kwin_wayland_drm: Number of planes on GPU "/dev/dri/card0" : 1
kwin_wayland_drm: Plane 32 has properties type=Primary, SRC_X=0, SRC_Y=0,
SRC_W=1024, SRC_H=768, CRTC_X=0, CRTC_Y=0, CRTC_W=1024, CRTC_H=768, FB_ID=0,
CRTC_ID=0, rotation not found, IN_FORMATS=33
kwin_wayland_drm: Crtc 34 has properties MODE_ID=0, ACTIVE=0, VRR_ENABLED=0,
GAMMA_LUT not found, GAMMA_LUT_SIZE not found
kwin_wayland_drm: Could not find edid for connector DrmConnector(id=31,
gpu=KWin::DrmGpu(0x5613bf542c80), name="Unknown-1-unknown",
connection="Connected", countMode=1)
kwin_wayland_drm: Connector 31 has properties CRTC_ID=0, non-desktop=0, DPMS=3,
EDID=0, overscan not found, vrr_capable not found, underscan not found,
underscan vborder not found, underscan hborder not found, Broadcast RGB not
found, max bpc not found, link-status=Good, content type not found
kwin_wayland_drm: New output on GPU /dev/dri/card0: Unknown-1-unknown
kwin_wayland_drm: Failed to create framebuffer: Invalid argument
kwin_wayland_drm: Failed to create gamma blob! Invalid argument
```
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.0.7
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100
Qt Version: 5.15
ADDITIONAL INFORMATION
It's not a crash, so I have no stack trace to give
drm_info: https://drmdb.emersion.fr/snapshots/4aae6a4ad7d3
Mesa is also pretty recent
--
You are receiving this mail because:
You are watching all bug changes.