I don't have a solution for you, but I wanted to say that I have been having a very similar situation. The only difference is when I run xset dpms force off my screens actually stay off and don't come back.
Similar to you xss-lock will not activate the screensaver. If I manually lock with xset s activate my dpms settings have no effect and the monitors will never turn off.
More details about my setup
Rootless X11 with autologin
No display manager
NVIDIA card with proprietary drivers
โ
However as I write this I tried to kill xss-lock and run my screen locker script directly. Lo and behold dpms started working immediately. Restarting the xss-lock program and disowning it is allowing dpms to continue to function.
Don't have time to dive in deeper but there is something up with the combination of X tools running in my .xprofile. I killed xssproxy too during this so maybe there is a new conflict there.
Not sure if any of that is helpful, but wanted to share in case it helps you or any onlookers with similar issues.
Also - if you're running on an ssd (and in 2023 I suspect you are) and you want fstrim to run - be sure to enable it in your boot args rd.luks.options=discard
I discovered I wasn't trimming my ssd for a year despite having the service enabled ๐ฌ
After reading another comment which mentioned checking if dpms force off worked (it did) I went and looked at systemd-inhibit --list I noticed VSCode and Slack. On a hunch I quit slack, and the screensaver/blanking began to work.
I've been having a very similar issue. I don't think it is xssโlock that is the problem, but the fact that the screensaver never actually is triggered (or in my case the screen never blanks)
I don't have any advice, just to say that I have been suffering the same problem for a while. I believe it started to happen after an update, so I wonder if there is a bug somewhere. I have not been able to spend the time installing old versions of the kernel or other software in order to see if it fixes it.
Interestingly, at least in my case, screen blinking does work until my computer goes to sleep (either triggered with xautolock or manually). After that it doesn't work until I restart my computer.
I'm using Nvidia drivers if that makes any difference.
I'll give that a shot, but looking at the arch wiki on the subject:
โ
Shrinks your initramfs to a smaller size by creating a whitelist of
modules from a scan of sysfs. Be sure to verify included modules are
correct and none are missing. This hook must be run before other
subsystem hooks in order to take advantage of auto-detection. Any hooks
placed before 'autodetect' will be installed in full.
My understanding is that if I place keyboard before autodetect will just include more modules, since autodetect just removes un-needed modules from what is currently installed on the system.
I have no problem with the boot sequence detecting my keyboard. The appears to be that it takes roughly 2 seconds before I can begin typing. Looking at the dmesg logs the timing seems to line up with when the keyboard is detected during USB enumeration. Though I admit I'm a little unsure.
Does this replace the need for using sbctl to create the UEFI Stub and instead sbctl could simply sign the resulting stub from the process outlined in the post?
I use BTRFS on my laptop on top of LUKS. I use a unified kernel image that is signed with sbctl which is booted using systemd-boot.
I'm evaluating BTRFS to use on my main desktop workstation, but I'm happy with the unified kernel image and using sbctl to sign enough to put it on my workstation once I get around to encrypting the boot drive.
You can also use a bind mount to mount /boot to be at the path /efi/boot and use a pacman hook in order to ensure kernels are backed up with snapshots.
This is first and foremost a workstation for software development, but yes I do also dual boot for games with windows. I'm 90% of the time in Linux though!
why do most Arch users display their specs and htop?
You mean on this sub? It's just for example. I only run htop when I need to, plus I didn't have any of the other "toy" shell scripts people use for eye candy in this sub, and I didn't feel like tracking them down. Needed to show something!
That's a pretty broad question, different window managers do different things. The one I'm using is a tiling window manager that tiles each window next to each other like you see in the second screenshot in my post.
I haven't used i3 because I really enjoy the binary partitioning of BSPWM (I came from kwm/chunkwm on macOS), but I basically have 4 workspaces that always hang around, and then create / destroy more when I need, for example working on my dots, or different projects.
I just like having one workspace on boot in case I want to do something different for that session.
This is after several years of using Arch on my desktop. All issues booting have been user error.
Other issues were with xorg starting due to configuration changes. Not a concern on a server.
I switched all my servers (local homelab and remote server) to Arch in December.
No problems here.
I don't have a solution for you, but I wanted to say that I have been having a very similar situation. The only difference is when I run
xset dpms force offmy screens actually stay off and don't come back.Similar to you
xss-lockwill not activate the screensaver. If I manually lock withxset s activatemydpmssettings have no effect and the monitors will never turn off.More details about my setup
โ
However as I write this I tried to kill
xss-lockand run my screen locker script directly. Lo and beholddpmsstarted working immediately. Restarting thexss-lockprogram and disowning it is allowingdpmsto continue to function.Don't have time to dive in deeper but there is something up with the combination of X tools running in my .xprofile. I killed
xssproxytoo during this so maybe there is a new conflict there.Not sure if any of that is helpful, but wanted to share in case it helps you or any onlookers with similar issues.
normal: family: Inconsolata style: Regular # Point size size: 18.0
Bold font face
bold: family: Inconsolata style: Semibold size: 18.0
Assuming the pastebin is exactly what your config file looks like on disk you have indentation issues. In YAML whitespace is significant.
Does trim need to be enabled on the lucks device still (which is what I'm suggesting)? I would expect so but honestly am curious
Also - if you're running on an ssd (and in 2023 I suspect you are) and you want fstrim to run - be sure to enable it in your boot args
rd.luks.options=discardI discovered I wasn't trimming my ssd for a year despite having the service enabled ๐ฌ
https://wiki.archlinux.org/title/Dm-crypt/Specialties#Discard/TRIM_support_for_solid_state_drives_(SSD)
I use gaps (with bspwm) because when else will I ever see my wallpaper? ๐
Wanted to post another update:
After reading another comment which mentioned checking if
dpms force offworked (it did) I went and looked atsystemd-inhibit --listI noticed VSCode and Slack. On a hunch I quit slack, and the screensaver/blanking began to work.Hope this helps someone in the future!
I've been having a very similar issue. I don't think it is xssโlock that is the problem, but the fact that the screensaver never actually is triggered (or in my case the screen never blanks)
I don't have any advice, just to say that I have been suffering the same problem for a while. I believe it started to happen after an update, so I wonder if there is a bug somewhere. I have not been able to spend the time installing old versions of the kernel or other software in order to see if it fixes it.
Interestingly, at least in my case, screen blinking does work until my computer goes to sleep (either triggered with xautolock or manually). After that it doesn't work until I restart my computer.
I'm using Nvidia drivers if that makes any difference.
How is river coming from bspwm? Do you feel you miss the tiling system?
That's one of the things holding me back from trying river.
I'll give that a shot, but looking at the arch wiki on the subject:
โ
My understanding is that if I place keyboard before autodetect will just include more modules, since autodetect just removes un-needed modules from what is currently installed on the system.
I have no problem with the boot sequence detecting my keyboard. The appears to be that it takes roughly 2 seconds before I can begin typing. Looking at the dmesg logs the timing seems to line up with when the keyboard is detected during USB enumeration. Though I admit I'm a little unsure.
The only modifications I made were
Everything else in the file is the standard mkinitcpio.conf
On my laptop I have the exact same modification made and it does not have any delay in the ability to type the passphrase.
Does this replace the need for using sbctl to create the UEFI Stub and instead sbctl could simply sign the resulting stub from the process outlined in the post?
I use BTRFS on my laptop on top of LUKS. I use a unified kernel image that is signed with sbctl which is booted using systemd-boot.
I'm evaluating BTRFS to use on my main desktop workstation, but I'm happy with the unified kernel image and using sbctl to sign enough to put it on my workstation once I get around to encrypting the boot drive.
You can also use a bind mount to mount
/bootto be at the path/efi/bootand use a pacman hook in order to ensure kernels are backed up with snapshots.you are likely running into this bug
Fresh boot! haha It's at 8GB right now with lots of browser tabs, VS Code, Slack, and other stuff open. Still way under 50% of 32GB though.
https://github.com/tryone144/compton
โ
Will likely switch to picom once it merges https://github.com/tryone144/compton/tree/feature/dual_kawase
urxvt wasn't handling my icon fonts how I wanted and no matter how much I would tinker with it I just couldn't get it to behave.
Termite worked with them out of the box.
I've read urxvt is faster due to the daemon but honestly termite feels just as fast.
There's https://github.com/ianyh/Amethyst as well, but I always preferred chunkwm, as it felt closer to bspwm and I liked the partitioning scheme.
Yabai came out just as I switched to Linux otherwise I probably would have switched to that.
1440p! I actually used to run a 4k monitor but sold it and kept my 1440p 144hz gaming monitor.
This is first and foremost a workstation for software development, but yes I do also dual boot for games with windows. I'm 90% of the time in Linux though!
You mean on this sub? It's just for example. I only run htop when I need to, plus I didn't have any of the other "toy" shell scripts people use for eye candy in this sub, and I didn't feel like tracking them down. Needed to show something!
I have my fontconfig in my dots, but it's Operator Mono SSm
That's a pretty broad question, different window managers do different things. The one I'm using is a tiling window manager that tiles each window next to each other like you see in the second screenshot in my post.
Here is a pretty good resource that describes different kinds of window managers https://wiki.archlinux.org/index.php/window_manager
I haven't used i3 because I really enjoy the binary partitioning of BSPWM (I came from kwm/chunkwm on macOS), but I basically have 4 workspaces that always hang around, and then create / destroy more when I need, for example working on my dots, or different projects.
I just like having one workspace on boot in case I want to do something different for that session.
Dunno. It fits my workflow.