Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron apps freeze when full screen on Intel B580 #8538

Open
widlarizer opened this issue Jan 22, 2025 · 1 comment
Open

Electron apps freeze when full screen on Intel B580 #8538

widlarizer opened this issue Jan 22, 2025 · 1 comment
Labels
bug Not working as intended

Comments

@widlarizer
Copy link

Sounds like a wlroots issue but wlroots issue template told me to post on the WM issue tracker first so here you go!

Sway version 1.10
wlroots version 0.18.2
GPU: Intel B580 using the main DisplayPort output
Drivers: mesa, amdgpu loaded too though as I consider my Ryzen 7900X integrated graphics as a fallback
Kernel: 6.13.0, 6.12.8

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (BMG G21)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.3.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

The important part, coinciding with the time the freeze happens:

00:00:05.577 [DEBUG] [wlr] [render/gles2/renderer.c:158] Created GL FBO for buffer 2560x1440
00:00:05.580 [DEBUG] [wlr] [types/scene/wlr_scene.c:1858] Direct scan-out enabled
00:00:05.580 [ERROR] [wlr] [backend/drm/atomic.c:79] connector DP-4: Atomic commit failed: Invalid argument
00:00:05.580 [DEBUG] [wlr] [backend/drm/atomic.c:84] (Atomic commit flags: PAGE_FLIP_EVENT | ATOMIC_NONBLOCK)
00:00:05.580 [ERROR] [sway/desktop/output.c:317] Page-flip failed on output DP-4
00:00:05.584 [DEBUG] [wlr] [render/gles2/renderer.c:158] Created GL FBO for buffer 2560x1440
00:00:05.585 [ERROR] [wlr] [backend/drm/atomic.c:79] connector DP-4: Atomic commit failed: Invalid argument
00:00:05.585 [DEBUG] [wlr] [backend/drm/atomic.c:84] (Atomic commit flags: PAGE_FLIP_EVENT | ATOMIC_NONBLOCK)

this repeats until the fullscreen mode is left with a keyboard shortcut.

Possibly related to https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3928

  • Configuration File:
    all default except like keyboard settings or whatever

  • Reproduction:

    • Run VS Code or Discord
    • Enter full screen in any way or maximize a video
    • The screen freezes in 0-2 seconds

Somehow chromium is unaffected

@widlarizer widlarizer added the bug Not working as intended label Jan 22, 2025
@widlarizer
Copy link
Author

This problem went away when I disabled the CPU's integrated graphics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

1 participant