A few hours ago I upgraded my old 32 bit laptop from 13.2 to Tumblweed.
Unfortunately I notice the following problems:
redshift which used to start normally at login in XFCE now says:
Gamma ramp size too small: 0
Failed to start adjustment method randr.
I tried all the other video modes for it but nothing works.
All video playback lags terribly included those who previously played in 13.2 flawlessly. I always use smplayer. I tried also the “Videos” application however it gives only sound output.
acpid seems not to work properly
I have these settings/scripts which previously hibernated automatically when power is disconnected while the lid is closed.
# cat /etc/acpi/actions/hibernate.sh
#!/bin/bash
lockfile='/tmp/hibernation_started.lock'
/usr/bin/logger 'AC power is off.'
# Is hibernation already started?
if -f "$lockfile" ]
then
/usr/bin/logger 'Hibernation already started.'
exit 0
fi
/usr/bin/touch $lockfile
# Wait a bit (it may be just a short power off)
sleep 30
# Is AC power still off?
grep -q "off-line" /proc/acpi/ac_adapter/ADP1/state
if $? = 0 ]
then
# Power is still off. Now check if laptop lid is closed
grep -q closed /proc/acpi/button/lid/LID0/state
if $? = 0 ]
then
/usr/bin/logger 'Initiating closed lid hibernation...'
/usr/bin/rm $lockfile
/usr/sbin/pm-hibernate
fi
fi
# cat /etc/acpi/actions/online.sh
#!/bin/bash
lockfile='/tmp/hibernation_started.lock'
/usr/bin/logger 'AC power is on.'
# Is hibernation already started?
if -f "$lockfile" ]
then
/usr/bin/logger 'Cancelling closed lid hibernation.'
/usr/bin/rm $lockfile
fi
# cat /etc/acpi/events/ac_power_off
event=ac_adapter ACPI0003:00 00000080 00000000
action=/etc/acpi/actions/hibernate.sh
# cat /etc/acpi/events/ac_power_on
event=ac_adapter ACPI0003:00 00000080 00000001
action=/etc/acpi/actions/online.sh
But now ‘journalctl -f’ is showing me a weird message when testing:
Jan 17 01:01:27 acer.group systemd-logind[909]: Lid closed.
Jan 17 01:01:35 acer.group root[3562]: AC power is off.
**Jan 17 01:01:35 acer.group systemd-udevd[3576]: Process '/usr/sbin/tlp auto' failed with exit code 4.**
**Jan 17 01:02:46 acer.group systemd-udevd[3644]: Process '/usr/sbin/tlp auto' failed with exit code 4.**
(.... and the system doesn't hibernate... so I turn the power on again)
Jan 17 01:02:46 acer.group root[3658]: AC power is on.
Jan 17 01:02:46 acer.group root[3659]: Cancelling closed lid hibernation.
Jan 17 01:02:52 acer.group root[3703]: AC power is off.
**Jan 17 01:02:52 acer.group systemd-udevd[3730]: Process '/usr/sbin/tlp auto' failed with exit code 4.**
And again - hibernation doesn’t work. The bolded lines are something new (after upgrading to Tumbleweed). In 13.2 there were no such errors.
Another attempt with acpid after rebooting (again) gives:
Jan 17 01:38:17 acer.group root[2070]: AC power is off.
**(... no error like before but still not hibernating)**
Jan 17 01:39:22 acer.group root[2145]: AC power is on.
Jan 17 01:39:22 acer.group root[2147]: Cancelling closed lid hibernation.
All video playback lags terribly included those who previously played in 13.2 flawlessly. I always use smplayer. I tried also the “Videos” application however it gives only sound output.
Graphics hardware details?
acpid seems not to work properly
I have these settings/scripts which previously hibernated automatically when power is disconnected while the lid is closed.
Do you really need acpid/tlp? Is systemd not able to correctly handle power management for your laptop?
BTW, you’re best advised to split some of these issues up in to separate threads IMHO…
Do you really need acpid/tlp? Is systemd not able to correctly handle power management for your laptop?
I have no idea what tlp is. I use acpid because the behavior I am looking for seems not to work through xfce. Also acpid has always worked the way I want in 13.2 (including in console mode ‘init 3’).
BTW, you’re best advised to split some of these issues up in to separate threads IMHO…
Redshift (this may be related to your graphics)
Graphics
Hibernation
I decided to post in one single thread because all 3 are related to one single cause - the upgrade of the OS.
I have no idea what tlp is. I use acpid because the behavior I am looking for seems not to work through xfce. Also acpid has always worked the way I want in 13.2 (including in console mode ‘init 3’).
I’ll let others advise further on this. However, in general when using systemd it should not be required, and I’d be inclined to test without it.
I am using acpid because previously (quite some time ago) someone here advised on that and it worked very well since then. Sadly 13.2 has reached the end of its life, so I was forced to update to Tumblweed and now these problems…
I decided to post in one single thread because all 3 are related to one single cause - the upgrade of the OS.
That’s not a good reason to bring all the issues in a single thread like this. Trying to discuss all these issues will likely lead to a very convoluted/confusing discussion. I strongly recommend you split them out with descriptive titles rather than one like this which doesn’t really describe the issue or help attract the volunteer attention required.
Your point of view might not be the point of view of those that browse these forums. They may not find the general title “Problems with applications after upgrading from 13.2 to Tumbleweed” attractive enough to open the thread, while they might be lured to open one of the individual threads because e.g. the word Redshift draws their attention.
IMHO you forget that you are the one that should maximize the chance that someone opens your thread. You can not force the others here to open threads with unattractive titles in the limited spare time they want to spent on the forums.
You must advertize your problems
Just my two cents.
EDIT: Sorry, I missed that this is already done with. For get the above.