Comments (11)
I've been using -threaded -with-rtsopts=-V0
to make xmobar/xmonad less watt-hungry for a few years. I'm not sure how safe this is and I'd be hesitant to just put it into xmobar.cabal
, but I've had it there for years and it hasn't caused problems. But it's kind of sad that this is still a problem with GHC 8. :-/
from xmobar.
However installing xmobar with cabal install xmobar
--ghc-options=-threaded doesn't make a difference - xmobar still
produces around 75 wakups/s.
Does giving cabal install the with_threaded flag solve the issue?
cabal install xmobar --flags=with_threaded
from xmobar.
Not any better here with 7.6.2, compiled with '--flags="with_mpd with_dbus with_inotify with_utf8 with_xft with_threaded"' and with '--ghc-options="-threaded"', too. Around 100 events per second, according to powertop. :(
from xmobar.
this is with the git version of xmobar, right? does is happen with 0.16?
from xmobar.
The actual command I issued to get xmobar was: 'cabal install xmobar --flags="with_mpd with_xft with_utf8 with_dbus with_inotify with_threaded" --ghc-options="-threaded"', so no, not the git version. ;)
from xmobar.
Ubuntu 12.04/amd64 (ghc-7.4.1-1ubuntu2), I've recopiled xmobar with 'cabal install xmobar --ghc-options="-threaded', restarted, and wakeups/s dropped from 30 to 10 both in xmobar and xmonad.
from xmobar.
from xmobar.
Perhaps. But then haven't been any reports of too many wakeups for the last 2 years (mostly because intel realized software developers are idiots and managed to fix this in the hardware) so maybe not worth the trouble. :-)
from xmobar.
I'm using xmobar 0.24.3 compiled using ghc 8.0.2. I set the threaded flag to default True, cabal installed, (checked that sha1sum $(which xmobar)
changed), still lots of wakeups (~100/s). Nothing unusual in xmobarrc..
from xmobar.
from xmobar.
this change is in 0.24.4 and it works for me, so i'm closing the bug. feel free to reopen as needed.
from xmobar.
Related Issues (20)
- Advanced color name parsing HOT 2
- xmobar: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by xmobar) HOT 2
- Feature request: hex colors with alpha channel. HOT 2
- DiskIO plugin randomly stopped working HOT 21
- xmobar stopped working: error while loading shared libraries HOT 6
- Proper Transparency
- MultiCoreTemp plugin fails when hwmon directory is numbered higher than 9 HOT 1
- xmobar to build with ghc-9.2.2
- Volume plugin not working when using pipewire HOT 2
- Weather plugin breaks StdinReader HOT 2
- Feature request: custom memory unit size HOT 2
- Battery power calculation gives wrong unit HOT 1
- Release supporting GHC 9.2.2 HOT 2
- Alsa plugin coredump on first run HOT 7
- Network Plugin -W option (Prelude.!!: index too large) HOT 11
- Unable to toggle visibility of xmobar by dbus after xmonad --recompile; xmonad --restart HOT 1
- Volume (and Alsa) plugin fails to recognize some options HOT 2
- WeatherX plugin displays <Waiting...> HOT 1
- Move out of GitHub HOT 3
- chrome mpris HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmobar.