Bug 1216686 - Steam deck external monitor wake up issues.
Summary: Steam deck external monitor wake up issues.
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-30 02:55 UTC by ted chang
Modified: 2023-10-30 03:02 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
gnome ksm debug enabled. jounalctl. (1.77 MB, text/plain)
2023-10-30 02:55 UTC, ted chang
Details
Another broken wake up (272.09 KB, text/plain)
2023-10-30 02:56 UTC, ted chang
Details
working journal with kms debug enabled. (103.20 KB, text/plain)
2023-10-30 03:00 UTC, ted chang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ted chang 2023-10-30 02:55:21 UTC
Created attachment 870503 [details]
gnome ksm debug enabled. jounalctl.

zypper info kernel-default
Loading repository data...
Reading installed packages...


Information for package kernel-default:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : kernel-default
Version        : 6.5.9-1.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 248.4 MiB
Installed      : Yes
Status         : out-of-date (version 6.5.8-1.1 installed)
Source package : kernel-default-6.5.9-1.2.nosrc
Upstream URL   : https://www.kernel.org/
Summary        : The Standard Kernel
Description    : 
    The standard kernel for both uniprocessor and multiprocessor systems.


    Source Timestamp: 2023-10-25 10:31:37 +0000
    GIT Revision: 29edc7cd9a87ec6d4ca952c6a054bd93cbd5cce6
    GIT Branch: stable


lsb_release -a
LSB Version:	n/a
Distributor ID:	openSUSE
Description:	openSUSE Tumbleweed
Release:	20231026
Codename:	n/a

    description: Portable Computer
    product: Jupiter
    vendor: Valve
    version: 1
    serial: FVAA22201030
    width: 64 bits
    capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
    configuration: boot=normal chassis=portable family=Aerith
  *-core
       description: Motherboard
       product: Jupiter
       vendor: Valve
       physical id: 0
       serial: MEBR20710027
     *-firmware
          description: BIOS
          vendor: Valve
          physical id: 0
          version: F7A0118
          date: 07/28/2023
          size: 128KiB
          capacity: 16MiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi


steam deck dock. Firmware 0.13.15.120

Steam deck

Information for package gnome-shell:
------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : gnome-shell
Version        : 45.0-4.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 8.4 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : gnome-shell-45.0-4.1.src
Upstream URL   : https://wiki.gnome.org/Projects/GnomeShell
Summary        : GNOME Shell
Description    : 
    The GNOME Shell redefines user interactions with the GNOME desktop. In
    particular, it offers new paradigms for launching applications, accessing
    documents, and organizing open windows in GNOME.

Loading repository data...
Reading installed packages...


Information for package mutter:
-------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : mutter
Version        : 45.0+45-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 4.7 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : mutter-45.0+45-1.1.src
Upstream URL   : https://www.gnome.org
Summary        : Window and compositing manager based on Clutter
Description    : 
    Mutter is a window and compositing manager based on Clutter, forked
    from Metacity.

    Dedicated video memory: 2048 MB
    Total available memory: 8951 MB
    Currently available dedicated video memory: 1741 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Custom GPU 0405 (vangogh, LLVM 17.0.2, DRM 3.54, 6.5.8-1-default)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile




Steps to reproduce the problem

1. Connect to steam deck dock. Firmware 0.13.15.120
2. Connect to an external monitor - Sony KDL-46Z5100
3. Wait until the deck screen sleep with the screen off and the display goes standby from the lack of signal
4. Press the power button to wake up

Observation

The screen never turns back on. I have to force shutoff. 

This error always show

Oct 29 18:03:07 localhost.localdomain gnome-shell[1639]: amdgpu: The CS has been rejected (-16). Recreate the context.


Expected behavior. I can wake up the display too.
Comment 1 ted chang 2023-10-30 02:56:39 UTC
Created attachment 870504 [details]
Another broken wake up

Oct 29 17:44:21 localhost.localdomain kernel: amdgpu 0000:04:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
Oct 29 18:03:07 localhost.localdomain gnome-shell[1639]: amdgpu: The CS has been rejected (-16). Recreate the context.
Oct 29 18:03:07 localhost.localdomain gnome-shell[1639]: amdgpu: The CS has been rejected (-125). Recreate the context.
Oct 29 18:03:07 localhost.localdomain gnome-shell[1639]: amdgpu: The CS has been rejected (-125). Recreate the context.
Oct 29 18:03:07 localhost.localdomain gnome-shell[1639]: amdgpu: The CS has been rejected (-125). Recreate the context.
Oct 29 18:03:07 localhost.localdomain gnome-shell[1639]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed


The error is a bit different from this log. This log does not have KMS debug enabled.
Comment 2 ted chang 2023-10-30 03:00:34 UTC
Created attachment 870505 [details]
working journal with kms debug enabled.

This log is created by pressing the power button. This dmesg shows a working sleep wakeup. The internal screen display a grey screen.
Comment 3 ted chang 2023-10-30 03:02:13 UTC
I wonder whether this bug is related to this other similar bug

https://gitlab.gnome.org/GNOME/mutter/-/issues/2604