Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce4 session logout instant logout if compositing disabled
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Sat Jan 01, 2022 9:53 am    Post subject: xfce4 session logout instant logout if compositing disabled Reply with quote

Weird...can people replicate this:
If I have xfce4 compositing disabled, whenever I logout, xfce4-session-logout will instantly logout and will not give a popup box allowing reboot, suspend, sleep, hibernate, etc.

Unfortunately compositing makes my laptop slow...

Anyone seen this? Can I get functionality without having to enable compositing?

I think this is what's happening: it's trying to dim the session/background when popping up the dialog box to offer choices of logout. When compositing is disabled, it can't do this and simply logs out...

This is improper behavior I think... ?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 534
Location: New Zealand

PostPosted: Sat Jan 01, 2022 9:02 pm    Post subject: Reply with quote

Yes, that looks like improper behaviour...but no, I can't replicate it. My XFCE logs out correctly (displaying the dialog with options like logout/reboot/shutdown) even when I disable compositing. I wonder if you could fix it by not merely disabling compositing via xfwm4-tweaks-settings, but actually removing that code (rebuilding with -xcomposite in USE)?

If that doesn't work, maybe it's a video driver bug (I'm using nvidia-drivers 470.94)?
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sun Jan 02, 2022 4:33 am    Post subject: Reply with quote

I don't think any packages currently support that USE flag.
Code:
$ euse -i xcomposite
global use flags (searching: xcomposite)
************************************************************
[-      ] xcomposite - Enable support for the Xorg composite extension

local use flags (searching: xcomposite)
************************************************************
no matching entries found

_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 534
Location: New Zealand

PostPosted: Sun Jan 02, 2022 5:06 am    Post subject: Reply with quote

Well, this is from the xfwm4 (4.16.1-r1) ebuild:
Code:
    xcomposite? (
        x11-libs/libXcomposite
        x11-libs/libXdamage
        x11-libs/libXfixes
    )

A pretend emerge with USE="-xcomposite" reports a changed flag (-xcomposite*) too, so I'd have assumed the xcomposite flag to be having an impact, no matter what euse claims.


Last edited by psycho on Sun Jan 02, 2022 5:13 am; edited 1 time in total
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sun Jan 02, 2022 5:12 am    Post subject: Reply with quote

That's distressing. Thanks for the correction.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 534
Location: New Zealand

PostPosted: Sun Jan 02, 2022 5:14 am    Post subject: Reply with quote

It's odd...I thought euse was meant to work as you've used it there...so maybe it's a bug?

[edit]Actually I see it works for euse -I xcomposite (capital i for installed stuff)...but seems to be broken for the global search. I get the same output for euse -i (claiming that no packages use it at all), despite euse -I reporting two *installed* packages making use of it.[/edit]
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Sun Jan 02, 2022 5:33 am    Post subject: Reply with quote

Very possible with a video driver bug, it's the Radeon R200 driver, not sure if it's a driver bug or perhaps my R200 has had it. glxgears does not render properly anymore, but I think I've seen some other of my R200's fail as well...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Sun Jan 02, 2022 6:56 am    Post subject: Reply with quote

figueroa wrote:
That's distressing. Thanks for the correction.

I far prefer equery for flag wrangling
Code:
ian@gw-01 ~ $ equery h xcomposite
 * Searching for USE flag xcomposite ...
[IP-] [  ] xfce-base/xfwm4-4.16.1-r1:0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum