holoiso-eol/holoiso

Only 640x480 resolution is available in steamdeck gui

Gavus opened this issue · 3 comments

Your Issue:

The "steamdeck" guide starts in  640x480 resolution, when I try to change the resolution only 640x480 is listed.

Going to desktop had the same issue. I managed to set a resolution using xrandr and updating ~/.xprofile. But I have no idea on how to make it work for the "steamdeck" gui which starts automatically.

I use a displayport to vga adapter if that matters. I'm using a thick crt.

I tried updating /etc/default/grub and grub-steamos to include "video=DP-1:1600x1200@87", with the same resolution that works on desktop mode. But no change.

I currently have no idea on where I should try to edit a config to include my "special" resolution.

Your device's full specs

CPU: lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         43 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  12
  On-line CPU(s) list:   0-11
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 5 3600 6-Core Processor
    CPU family:          23
    Model:               113
    Thread(s) per core:  2
    Core(s) per socket:  6
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU(s) scaling MHz:  86%
    CPU max MHz:         4208.2031
    CPU min MHz:         2200.0000
    BogoMIPS:            7186.61
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
                          clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp
                          lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf
                          rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt a
                         es xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_leg amd ryzen 5 3600 6-core processoracy abm 
                         sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr
                         _core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate s
                         sbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdsee
                         d adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 cqm_llc cqm_o
                         ccup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbn
                         oinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid
                          decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec
                         _ctrl umip rdpid overflow_recov succor smca sev sev_es
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   192 KiB (6 instances)
  L1i:                   192 KiB (6 instances)
  L2:                    3 MiB (6 instances)
  L3:                    32 MiB (2 instances)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-11
Vulnerabilities:         
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Mitigation; untrained return thunk; SMT enabled with STIBP protection
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, STIBP always-on, RSB filling,
                          PBRSB-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected

GPU:  glxinfo -B
glxinfo -B
name of display: :2
display: :2  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 5700 XT (navi10, LLVM 15.0.7, DRM 3.52, 6.3.7-zen1-1-zen) (0x731f)
    Version: 23.1.2
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 7646 MB, largest block: 7646 MB
    VBO free aux. memory - total: 15891 MB, largest block: 15891 MB
    Texture free memory - total: 7646 MB, largest block: 7646 MB
    Texture free aux. memory - total: 15891 MB, largest block: 15891 MB
    Renderbuffer free memory - total: 7646 MB, largest block: 7646 MB
    Renderbuffer free aux. memory - total: 15891 MB, largest block: 15891 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 24210 MB
    Currently available dedicated video memory: 7646 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5700 XT (navi10, LLVM 15.0.7, DRM 3.52, 6.3.7-zen1-1-zen)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.2
OpenGL core profile shading lan*Please put anything here if you tried to launch session separately*guage version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Your OS version (cat /etc/os-release | grep VARIANT_ID | cut -d '"' -f 2):

snapshot20230823.1454

Please put anything here if you tried to launch session separately

(Only for SteamOS Session loading issues) Have you tried launching gamescope-session from terminal? If yes, provide a log.

Making Gamescope Mode Save file at "/home/gavus/.config/gamescope/modes.cfg"
Making Gamescope patched edid at "/home/gavus/.config/gamescope/edid.bin"
!! Failed to claim global gamescope stats session
Skipping any device quirks, as device-specific quirks weren't set.
/usr/bin/gamescope-session: line 220: /home/gustajo/holois-gamescope-blabla: No such file or directory
wlserver: [backend/headless/backend.c:68] Creating headless backend
wlserver: [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
wlserver: [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
wlserver: [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
wlserver: [backend/session/session.c:109] Successfully loaded libseat session
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
drm: warning: picking an arbitrary DRM device
drm: Immediate flips are not supported by the KMS driver
drm: found new connector 'HDMI-A-1'
drm: found new connector 'DP-3'
drm: found new connector 'DP-2'
drm: found new connector 'DP-1'
drm: CRTC 77 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 80 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 83 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 86 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 89 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 92 has no VALVE1_CRTC_REGAMMA_TF support
drm: Connectors:
drm:   HDMI-A-1 (disconnected)
drm:   DP-3 (disconnected)
drm:   DP-2 (connected)
drm:   DP-1 (disconnected)
drm: selecting connector DP-2
drm: selecting mode 640x480@60Hz
vulkan: selecting physical device 'AMD Radeon RX 5700 XT (RADV NAVI10)': queue family 1
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan:   AR24 (0x34325241)
vulkan:   XR24 (0x34325258)
vulkan:   AB24 (0x34324241)
vulkan:   XB24 (0x34324258)
vulkan:   NV12 (0x3231564E)
vulkan:   AB4H (0x48344241)
vulkan:   XB4H (0x48344258)
vulkan:   AB48 (0x38344241)
vulkan:   XB48 (0x38344258)
vulkan:   AB30 (0x30334241)
vulkan:   XB30 (0x30334258)
vulkan:   AR30 (0x30335241)
vulkan:   XR30 (0x30335258)
vulkan: 1310720 vs 1310720!
vulkan: 1310720 vs 1310720!
vulkan: 1310720 vs 1310720!
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:16] Starting headless backend
wlserver: [backend/libinput/backend.c:87] Starting libinput backend
wlserver: [backend/libinput/events.c:70] Adding Power Button [0:1]
wlserver: [backend/libinput/events.c:70] Adding Power Button [0:1]
wlserver: [backend/libinput/events.c:70] Adding Valve Software Steam Controller [10462:4418]
wlserver: [backend/libinput/events.c:70] Adding QMK USB to USB Converter [65261:91]
wlserver: [backend/libinput/events.c:70] Adding QMK USB to USB Converter System Control [65261:91]
wlserver: [backend/libinput/events.c:70] Adding QMK USB to USB Converter Consumer Control [65261:91]
wlserver: [backend/libinput/events.c:70] Adding Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) [1118:57]
wlserver: [backend/libinput/backend.c:128] libinput successfully initialized
wlserver: [xwayland/server.c:108] Starting Xwayland on :0
wlserver: [xwayland/server.c:108] Starting Xwayland on :1
wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x5569e96894a0 (res 0x5569e96e52a0)
wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x5569e92b0660 (res 0x5569e9799dc0)
wlserver: [xwayland/server.c:273] Xserver is ready
wlserver: [xwayland/server.c:273] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 66
wlserver: Updating mode for xwayland server #0: 640x480@60
vulkan: 1310720 vs 1310720!*Please put anything here if you tried to launch session separately*
vulkan: 1310720 vs 1310720!
vulkan: 1310720 vs 1310720!
pipewire: renegotiating stream params (size: 640x480)
Error : /etc/xbindkeysrc not found or reading not allowed.
please, create one with 'xbindkeys --defaults > /etc/xbindkeysrc'.
or, if you want scheme configuration style,
with 'xbindkeys --defaults-guile > /home/gavus/.xbindkeysrc.scm'.
/usr/bin/gamescope-session: line 251: /usr/bin/ibus-daemon: No such file or directory
+ systemctl reload --no-block --state=active 'steamos-automount@*'
Failed to acquire service name: File exists
Is a notification daemon already running?
wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x5569e93063d0 (res 0x5569e9796580)
[2023-12-23 22:59:10.477] [info] [config.cpp:123] parsing config: '/tmp/mangohud.EE0GsdVy'
[2023-12-23 22:59:10.496] [info] [overlay.cpp:815] Uploading is disabled (permit_upload = 0)
xwm: Rejecting WM_CHANGE_STATE to ICONIC for window 0x400007
steam.sh[6423]: Running Steam on steamos rolling 64-bit
steam.sh[6423]: STEAM_RUNTIME is enabled automatically
setup.sh[6531]: Steam runtime environment up-to-date!
steam.sh[6423]: Steam client's requirements are satisfied
gamescope: received kill signal, terminating!
(EE) failed to read Wayland events: Broken pipe
(EE) failed to read Wayland events: Broken pipe
drm: drmModeRmFB failed: Bad file descriptor
drm: drmModeRmFB failed: Bad file descriptor
drm: drmModeRmFB failed: Bad file descriptor
drm: drmModeRmFB failed: Bad file descriptor
drm: drmModeRmFB failed: Bad file descriptor
drm: drmModeRmFB failed: Bad file descriptor
gamescope-session: unexpected background pid 6409 at teardown: 
    PID TTY          TIME CMD
   6409 tty4     00:00:00 gamescope-sessi
gamescope-session: unexpected background pid 6422 at teardown: 
    PID TTY          TIME CMD
   6422 tty4     00:00:00 mangoapp
/usr/bin/gamescope-session: line 324:  6409 Killed                  ( while true; do
    /usr/lib/holoiso-hwsupport/power-button-handler.py;
done )
/usr/bin/gamescope-session: line 338:  6422 Killed                  mangoapp
/usr/bin/gamescope-session: line 338:  6571 Killed                  sleep 5

Have you updated your installation recently?

I installed holoiso today 2023-12-23.

I just saw that gamescope-session line:
drm: DP-2 (connected)
So I changed the /etc/default/grub configs from DP-1 to DP-2 and now it works...

Any way to make this easier for the next person in the future?

what gpu are you using

It’s specified. AMD Radeon RX 5700 XT