Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Wayfire: timed actions (screensaver, etc) do not activate

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

Wayfire: timed actions (screensaver, etc) do not activate

  • Quote

Post by mv » Thu Apr 29, 2021 6:36 am

I am using wayfire and realize that a lot of actions which should happen automatically after some time, often do not.

Examples:
  1. Screensaver (in my case only configured as dpms) often never happens until I change the configuration in ~/.config/wayfire. (Conversely, also being in fullscreen mode is sometimes not recognized, and the screensaver runs although it should not.)
  2. The mouse apparently should vanish after a few seconds. Often it does not. Moving the mouse pointer a bit and waiting again often helps.
  3. wf-shell is configured to vanish after 5 seconds. Often it does not vanish until I click with the mouse in the wf-shell bar.
All these issues appear unrelated, but they have in common that normally some autodetection should happen after a while which apparently very often does not happen but happens only when it is triggered by some random (in general unrelated) input device action.

Does somebody else have this problem?

It might of course be related with some of my kernel interrupt or scheduling settings, but I have no idea where to look for.
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Apr 29, 2021 2:18 pm

What version of wayfire and wlroots?

What does your wayfire config file look like? (at least the plugin and idle sections)

Anything in the log?
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Thu Apr 29, 2021 3:53 pm

wayfire-0.7.0
wlroots-0.12.0
~/.config/wayfire.ini wrote: ...
[core]
...
plugins = autostart command decoration idle move place resize switcher vswitch window-rules wm-actions
...
[idle]
cube_max_zoom = 1.500000
cube_rotate_speed = 1.000000
cube_zoom_speed = 1000
disable_on_fullscreen = true
dpms_timeout = 300
screensaver_timeout = -1
toggle = none
I have written a script which toggles the above values and
disable_on_fullscreen = false
dpms_timeout = 5
After sufficiently many toggles, it usually works (though sometimes still with the value of the previous toggle...).

I am not sure where to look for logs (I start it from sddm). Certainly, there is nothing related in syslog or ~/.local/share/sddm.

Probably not related: cube screensaver is always just a black screen for me (same for the cube plugin which just shows the background color fullscreen) - I guess this is some pure graphics problem since all other effects seemed to work (I switched them off anyway, because I want a working environment and not a blinking [/bug]game station).
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Apr 29, 2021 4:28 pm

There were some problems with 0.7.0 and old wlroots, both have been upgraded, 0.7.1 and 0.13.0 if I remember right, lots of fixes.
wlroots is in gentoo repo, but not the 7.1 ebuild, though the 7.0 one could be rebuild with a new number, nothings changed AFAIK.
I know they had a problem with the config file being updated properly, and I think the changes are in 0.7.1.

Most of the plugins I don't use, I have dpms set, and I like the windows to disappear in a blaze of glory :lol:

As far as output of wayfire, it does spew output, so sddm is probably throwing it away, you might try wayfire >[some file] 2>&1 instead of just wayfire for sddm to see if you get output, it also takes a -d to get more (debugging) output, though the messages are misleading at times.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Thu Apr 29, 2021 6:25 pm

I've had similar problem with screensaver.
It's because sometimes the mouse (trackball in my case) is left at the "boundary between two positions". Then the mouse constantly sends interrupts to the system to move the cursor one step back and forth.

So basically it's problem with mouse input movement sensitivity threshold with wayfire (or wlroots, or libinput)

This sometimes happens when one of my cats jumps on the table and then triggers this behavior and then then displays turn on and never turn off, unless I move the mouse.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Thu Apr 29, 2021 6:47 pm

Zucca wrote:It's because sometimes the mouse (trackball in my case) is left at the "boundary between two positions". Then the mouse constantly sends interrupts to the system to move the cursor one step back and forth.
I know this from X as well, but this is certainly not the case here. For instance, it can happen that the mouse pointer vanishes (hence the mouse was certainly not moved), but the screensaver does not start within 5 seconds when it is considered so.

I hope that it is fixed in wayfire-0.7.1; I will wait until the new version is in the gentoo repository. My reason to not upgrade wlroots to a newer version was an incompatbility (I forgot which one; maybe wayfire).
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Apr 29, 2021 7:04 pm

wayfire 0.7.0 needs wlroots 0.12.0, and associated wf* files
wayfire 0.7.1 will need wlroots 0.13.0 not sure if wfconfig stuff will change or not

given the bug report I saw on wayfire and wlroots, I'm not too sure they know what to do.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Mon May 10, 2021 4:24 pm

I think I stumbled into somewhat similar problem.

I was playing with idle -plugin. At some point my changes to the timeout just didn't had any effect. I could turn them off completely, but I couldn't change the intervals.

I think I'll set wayfire output it's debugging info to a file which I can then watch when/if it happens again.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic