! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Brief black screen when logging in with compositor
Status:
RESOLVED: MOVED

Comments

Description Abramov.Sergey.2001 2019-07-13 15:45:19 CEST
When I run Arch, a black screen appears for a second after LightDM. I have this trouble with only new versions xfwm4 (4.13.0-4.14pre2) and enabled compositing. I tried to change vblank_mode (GLX, Xpresent), but it is not work. If i use xfwm4 4.12.5 with patch (https://git.xfce.org/xfce/xfwm4/commit/?id=6caed779e627c368e2d3e578d1fad60cd7ef1d18) everything is work fine. I tested it on different computers with Arch and Ubuntu Test.
Comment 1 Git Bot editbugs 2019-07-15 21:38:43 CEST
Olivier Fourdan referenced this bugreport in commit 8041a3cf06749926e308708f76dfa7892c9bd69c

compositor: Enable root pixmap by default

https://git.xfce.org/xfce/xfwm4/commit?id=8041a3cf06749926e308708f76dfa7892c9bd69c
Comment 2 Olivier Fourdan editbugs 2019-07-15 21:39:17 CEST
Sure... No idea was it was not in master...
Comment 3 Abramov.Sergey.2001 2019-07-16 06:50:28 CEST
This trouble appeared after this commit (https://git.xfce.org/xfce/xfwm4/commit/?id=ae32b1c8dca527e117d3c373517a6941bd4c2e98).
Comment 4 Abramov.Sergey.2001 2019-07-16 06:58:10 CEST
(In reply to Git Bot from comment #1)
> Olivier Fourdan referenced this bugreport in commit
> 8041a3cf06749926e308708f76dfa7892c9bd69c
> 
> compositor: Enable root pixmap by default
> 
> https://git.xfce.org/xfce/xfwm4/
> commit?id=8041a3cf06749926e308708f76dfa7892c9bd69c

I tested all new version of xfwm4 (including git-version) with enabled root pixmap. It is not working.
Comment 5 Olivier Fourdan editbugs 2019-07-16 08:57:47 CEST
Thing is, when using a compositor, the root window is not painted anymore, the compositor is in charge or repainting the entire screen, and the previous (root) content is lost.

With `MONITOR_ROOT_PIXMAP` set, xfwm4 will use a pixmap if either `_XROOTPMAP_ID` or `_XSETROOT_ID` properties are set to the root window. If neither are set, a plain black color is used.

So maybe it's just that those properties aren't set?
Comment 6 Abramov.Sergey.2001 2019-07-16 09:19:57 CEST
(In reply to Olivier Fourdan from comment #5)

> With `MONITOR_ROOT_PIXMAP` set, xfwm4 will use a pixmap if either
> `_XROOTPMAP_ID` or `_XSETROOT_ID` properties are set to the root window. If
> neither are set, a plain black color is used.

Does xfwm4-4.12.5 work in the same way? Or has this changed in new versions? 

And new versions of xfwm4 work without brief black screen only with vblank_mode=off
Comment 7 Olivier Fourdan editbugs 2019-07-16 09:27:39 CEST
(In reply to Abramov.Sergey.2001 from comment #6)
> Does xfwm4-4.12.5 work in the same way? Or has this changed in new versions? 

Yes.

> And new versions of xfwm4 work without brief black screen only with
> vblank_mode=off

Ah, that's an important piece of information, the black screen you see is just the initial GL content (which is intentionally set to black) - Do you see it with "--vblank=xpresent" as well?
Comment 8 Abramov.Sergey.2001 2019-07-16 09:33:09 CEST
(In reply to Olivier Fourdan from comment #7)

> Ah, that's an important piece of information, the black screen you see is
> just the initial GL content (which is intentionally set to black) - Do you
> see it with "--vblank=xpresent" as well?

Yes
Comment 9 Abramov.Sergey.2001 2019-07-16 09:38:16 CEST
but black color is not on full screen
Comment 10 Git Bot editbugs 2020-05-29 12:27:48 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/339.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15709

Reported by:
Abramov.Sergey.2001
Reported on: 2019-07-13
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information