Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Sway/Wayland black screen flickering #71

Closed
batGnat opened this issue Oct 19, 2019 · 4 comments
Closed

Sway/Wayland black screen flickering #71

batGnat opened this issue Oct 19, 2019 · 4 comments

Comments

@batGnat
Copy link

batGnat commented Oct 19, 2019

Probably a wayland related issue, Audio works fine, but window is black with some occasional flickering.
If I change to XFCE it works fine.
Any ideas on how to get it working?

Running Arch.

Name            : chiaki
Version         : 1.0.4-2
Description     : Free and Open Source PS4 Remote Play Client
Architecture    : x86_64
URL             : https://github.com/thestr4ng3r/chiaki
Licenses        : GPL
Groups          : None
Provides        : chiaki
Depends On      : qt5-multimedia  qt5-svg  ffmpeg  libopusenc  openssl>=1.1
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 693.00 KiB
Build Date      : Fri 18 Oct 2019 23:03:25 AEDT
Install Date    : Fri 18 Oct 2019 23:03:40 AEDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None
@batGnat
Copy link
Author

batGnat commented Oct 19, 2019

Sample of log while running:

[D] StreamConnection received audio header:
[D] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[D]      0 02 10 00 00 bb 80 00 00 01 e0 00 00 00 01       ..............  
[I] Audio Header:
[I]   channels = 2
[I]   bits = 16
[I]   rate = 48000
[I]   frame size = 480
[I]   unknown = 1
[I] ChiakiOpusDecoder initialized
[I] Audio Device alsa_output.pci-0000_00_1f.3.analog-stereo opened with 2 channels @ 48000 Hz, buffer size 9600
[I] Video Profiles:
[I]   0: 1920x1080
[V] Pushed seq num 0x6b39ce1d into Takion Send Buffer
[I] StreamConnection successfully received streaminfo
[V] Takion received data ack with cumulative_seq_num = 0x6b39ce1d, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[V] Acked seq num 0x6b39ce1d from Takion Send Buffer
[I] Switched to profile 0, resolution: 1920x1080
[h264 @ 0x563517cfe840] no frame!
[E] Failed to push frame: Invalid data found when processing input
QWaylandGLContext::makeCurrent: eglError: 3002, this: 0x5635181c9470 

QWaylandGLContext::makeCurrent: eglError: 3002, this: 0x5635181c9470 

QWaylandGLContext::makeCurrent: eglError: 3002, this: 0x5635181c9470 

QWaylandGLContext::makeCurrent: eglError: 3002, this: 0x5635181c9470

@batGnat
Copy link
Author

batGnat commented Oct 19, 2019

Found that the following will force QT5 to X11, and it works.
chiaki -platform xcb

Is the more permanent solution a chiaki issue, or a QT5 wayland upstream issue?

@lovenemesis
Copy link
Contributor

Under GNOME 3.36 with Wayland it's simply just black screen.

However, your tips to force Qt5 to X11 works.

@xerpi
Copy link

xerpi commented Apr 26, 2020

Also black screen on Weston (8.0.0) and GNOME 3.36 on Wayland. (chiaki 1.2.0)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants