Skip to content

u/ortango

In this archive from May 2013 to May 2018

5
posts
812
comments
0
media
2.3k
score

i don't mind at all.

i was tempted when libopenshot got patched to post the good news about ffmpeg4 (hey now it's even out of staging & testing!). was watching that todo checklist patiently.

1 points

It is surprising that your system tries to load nouveau though - the nvidia package contains a file which blacklists the nouveau module.

that is just part of the xorg auto-configure. in the end it won't use that driver. specifying a driver in xorg.conf will skip this stage starting xserver.

3 points

Build Operating System: Linux 4.15.6-1-ARCH x86_64

Also the kernel version doesn't match your screenfetch. Check your /var/log/pacman.log for errors.

is that what you are referring to? that is not the kernel op is running, it is the kernel xorg-server was built on.

i think that 390 drivers are what he downgraded to.

3 points

but now for some reason when my computer boots it goes straight to tty1. If I login, it starts this xorg desktop environment,

did you enable getty@tty1?

i'm not familiar with lightdm, but that sounds like the problem


did not realize you had posted a journal.

May 08 00:22:40 titan systemd[1]: Started Getty on tty1. May 08 00:22:40 titan systemd[1]: Reached target Login Prompts.

conflicts,after

2 points

just use kill instead, it will work at this stage.

#!/bin/sh

termite -e "$HOME/.local/bin/fs_pipes.sh" &
xtrlock

# Close the active window
# (the terminal with the pipes we spawned before)
kill $!
2 points

I wasn't able to close the active window with wmctrl -c

using -f to fork xtrlock is causing problems. wmctrl -c :ACTIVE: will get run immediately after xtrlock starts, not when it ends.

i think if you want xtrlock to fork you will end up polling pids for that functionality(closing pipes at exit).

1 points

xss-lock also sets the idle hint

oh that would be a nice thing. i've been meaning to switch from xidle to xss-lock, but never got around to it this looks like a really good motivator.


ok i messed around a bit. xss-lock is working mostly for me with logind. first thing i learned was that idlesincehint* is only valid when idlehint=true (and something updating the hint).

i never got to see the dbus mesgs through snooping (and the paths are plain as day in xss-lock's source) but i didn't try very hard, and the idlehint was breaking(?) and getting locked at either value - seemed it happened during monitoring.

xss-lock, i like most stuff about it more then xidle/xautolock, but...

  • i wish it triggered at idle and then again at resume, because my scripts are cleaner that way
  • xss-lock was only getting in session scope if i started it in xinitrc so it was a pita to debug and change on the fly (due to my term emulator running as a user service and being lazy.)
  • i ended up with some weird traps in my dim script so that it would exit cleanly with xss-lock
  • the idlehint only kicks when the cycle timer hits. all i wanted was a dimmer, so i was using xset s 100 0 xss-lock -n dim.sh :& and getting confused why it stopped working (this might be when i started to think idlehint was breaking)
  • i am kind of worried that idle inhibitors will be more trouble then they are worth (some web page thinking it is v important)

one final note on this rambling thing:

xss-lock or logind idlehint, one or both are just not meant for me.

i just do not understand why xss-lock works the way it does.

if i do this: xset s 120 60 dpms 180 180 180 that would make the cycle timer and dpms match up, so it will go from dim to black. if i use no cycle timer the effect is the same, but no idle hint. what totally baffles me is if you do sync up dpms and cycle like that: no idlehint is triggered! WTF. if i do xset s 10 5 dpms 16 16 16 everything is fine (so it isn't dpms itself). but then you get a 1 second blink of backlight in between full dim and backlight off.

back to xidle. already need to keep acpid to fill in the clunky logind lidswitch/docking options. all in all i think logind's extra features totally suck.

2 points

no real help, but,

is there actually a newline after nmi_watchdog=0 on options? that probably doesn't work. (this fix seems to be for macbook not dropping into low power modes, not gpe storm)

also in that medium article the systemd service to disable gpe06 is missing a quote. maybe you copy/pasted it like that and it isn't actually disabling? (arch wiki says you can disable like this on the kernel line acpi_mask_gpe=0x17 fwiw). they also say a symptom of this problem is a single core pegged at 100% (kworker thread or something) - are you still seeing that?

i'd think either dmesg or journal is yelling about a acpi storm, have you checked if there is any other details there?

2 points

one thing that will reset the idlesince hint is ending and starting a new session (makes sense) - like logout-login

IdleHint=yes IdleSinceHint=0

is still confusing, but i wouldn't think about it too much


i had a thought, it's pretty stupid but, maybe it would work (probably not worth doing). use systemd-inhibit "command that does nothing but stays alive" in xinitrc, and than use xss-lock to kill that program when it goes idle. then run systemd-inhibit upon resume (i think xss-lock runs twice like xautolock or xidle?)

2 points

you could try something like dbus-monitor --system path="/org/freedesktop/login1/session/$XDG_SESSION_ID" and watch for something setting idlesince.

i'm just guessing, but maybe monotonic is idlehint, but with boot time as 0. (idlehint is in microseconds).

right now my system is at idlesince=bootuptime idlesincemono=0, which makes sense, but i've had different values before, so something must update that value sometimes, but i've never watched to see.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.