From a5b86b599fda45e686461d10f24fdf2caf35f620 Mon Sep 17 00:00:00 2001 From: defanor Date: Sat, 23 Dec 2017 03:34:00 +0300 Subject: Set link color and experiment with nvidia settings --- .emacs.d/blueish-theme.el | 1 + .xmonad/xmonad.hs | 40 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/.emacs.d/blueish-theme.el b/.emacs.d/blueish-theme.el index 7d30cc0..02a19dd 100644 --- a/.emacs.d/blueish-theme.el +++ b/.emacs.d/blueish-theme.el @@ -30,6 +30,7 @@ ;; ----------------- Frame stuff -------------------- '(default ((((type graphic)) (:background "#091419" :foreground "#c0d0d6")))) + '(link ((t (:foreground "DarkSlateGray3")))) '(cursor ((t (:background "#F8F8F0")))) '(hl-line ((t (:background "#666666")))) '(modeline ((t (:background "#183c66" :foreground "white")))) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index cec291c..ddae622 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -46,8 +46,8 @@ with vsync enabled in nvidia-settings: flashing - compton --backend xrender --vsync opengl --paint-on-overlay: same - compton --backend xrender --vsync opengl --dbe: same -- compton --backend xrender -cf: eliminates the white flash, though a - bit slower; same as without -cf otherwise +- compton --backend xrender -cf: hides (smoothes) the white flash, + though a bit slower; same as without -cf otherwise - with --vsync drm: "VBlank ioctl did not work, unimplemented in this drmver?" @@ -71,9 +71,43 @@ do much of versioning or releases, or of other conventional things, but the package update date is 2014-10-16). I still don't see why this happens (would probably have to debug, or at least to try a newer version), but it does. + + +With "Full Composition Pipeline" enabled in nvidia-settings: + +Occasionally some kind of a phantom mouse cursor appears and blinks on +top of emacs window now; can be erased by moving a real cursor through +it. Sometimes it vanishes on its own. Happens with or without compton. + +- no compton: white flashes when switching to FF, fine otherwise (no + screen tearing in FF) +- compton --backend xrender: same as without compton +- compton --backend xrender -cf: hides (smoothes) the flashes. +- compton --backend glx: no flashes, but screen tearing in emacs +- compton --backend glx --paint-on-overlay: same (maybe the tearing + gets visible faster -- that is, worse) +- compton --backend glx --vsync opengl: same +- compton --backend glx --vsync opengl --paint-on-overlay: same +- compton --backend glx --vsync opengl-swc --sw-opti: maybe slightly + better, but essentially the same + +A summary of the more common issues: + +@ +| issue / backend | xrender | glx | +|-------------------------+-------------+--------| +| screen tearing in FF | without FCP | never | +| screen tearing in emacs | never | always | +| phantom cursor | with FCP | ? | +| white flashes in FF | always | never | +@ + + + -} -runCompton = spawnOnce "compton --backend xrender -cf" +-- for some reason this doesn't seem to work anymore +runCompton = spawnOnce "compton --backend xrender -cf" main = do -- This is awkward, but apparently there's no better standard way to -- cgit v1.2.3