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

GDM fades to black when closing #52

Closed
Irkam opened this issue Mar 12, 2018 · 8 comments
Closed

GDM fades to black when closing #52

Irkam opened this issue Mar 12, 2018 · 8 comments
Labels

Comments

@Irkam
Copy link

Irkam commented Mar 12, 2018

Closing the window on Fedora 27 (Linux 4.15.6-300.fc27.x86_64) makes Gnome slowly fade to black, then lock the screen. Target device is a Nexus 6P on Android 7.1.2.

$ uname -sr
Linux 4.15.6-300.fc27.x86_64

$ gdm --version
GDM 3.26.2.1

$ scrcpy -v
scrcpy v1.0

dependencies:
 - SDL 2.0.7
 - libavcodec 57.89.100
 - libavformat 57.71.100
 - libavutil 55.58.100

This can be reproduced by running scrcpy and closing the window.

@rom1v rom1v added the bug label Mar 12, 2018
@rom1v
Copy link
Collaborator

rom1v commented Mar 12, 2018

makes Gnome slowly fade to black, then lock the screen

Wow.

Does scrcpy print something in the console in that case?

@Irkam
Copy link
Author

Irkam commented Mar 12, 2018

Nothing out of the ordinary. This is my zsh output:

➜  ~ scrcpy 
/usr/local/share/scrcpy/scrcpy-server....shed. 2.9 MB/s (19038 bytes in 0.006s)
INFO: Initial texture: 1440x2560
➜  ~ 

Also:

➜  ~ gdm --version
GDM 3.26.2.1

@rom1v
Copy link
Collaborator

rom1v commented Apr 5, 2018

Maybe related to #114.

In particular, this mail:

SDL sets a hint to disable the compositor for better performance and KWin honors this.

Maybe gdm handles that hint in a weird way.

@danpozmanter
Copy link

Possibly related - closing the scrcpy window will crash my X Server entirely. Doesn't matter what desktop environment I'm using.

@rom1v
Copy link
Collaborator

rom1v commented Jun 22, 2018

@danpozmanter Could you try with current master, please? I just fixed a bug that might explain the issue: 1a01393

@rom1v
Copy link
Collaborator

rom1v commented Jun 22, 2018

@Irkam When scrcpy is running, could you post the result of the command:

ps xao pid,ppid,pgid,sid,comm | grep 'dm\|scrcpy'

@rom1v
Copy link
Collaborator

rom1v commented Jun 26, 2018

@Irkam Could you test the current master, please?

@rom1v
Copy link
Collaborator

rom1v commented Sep 24, 2018

I guess it is fixed (#52 (comment)). If it is not, please reopen.

@rom1v rom1v closed this as completed Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants