Problems with applications after upgrading from 13.2 to Tumbleweed

A few hours ago I upgraded my old 32 bit laptop from 13.2 to Tumblweed.

Unfortunately I notice the following problems:

  1. 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.

  1. 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.

  2. 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.

How can I fix these problems please?

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.

:frowning:

What is the make/model of the laptop?

  1. 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?

  1. 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…

  1. Redshift (this may be related to your graphics)
  2. Graphics
  3. Hibernation

Acer TravelMate 2410:

http://www.laptopdirect.co.za/download/acer-travelmate-2410-series.php

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…

  1. Redshift (this may be related to your graphics)
  2. Graphics
  3. Hibernation

I decided to post in one single thread because all 3 are related to one single cause - the upgrade of the OS.

Use one of these commands to get graphics chipset and driver details

/sbin/lspci -nnk|  egrep 'VGA|3D|Display' -A3
/usr/sbin/hwinfo --gfxcard

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 thought the link has that info but anyway here is the output:


acer:~ # /sbin/lspci -nnk|  egrep 'VGA|3D|Display' -A3
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:006a]
        Kernel modules: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2792] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:006a]
00:1d.0 USB controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:006a]
acer:~ # /usr/sbin/hwinfo --gfxcard
16: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.378]
  Unique ID: _Znp.EtexH6ajTw4
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel 915 GM"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2592 "915 GM"
  SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
  SubDevice: pci 0x006a 
  Revision: 0x03
  Memory Range: 0xb0080000-0xb00fffff (rw,non-prefetchable)
  I/O Ports: 0x1800-0x1807 (rw)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  Memory Range: 0xb0000000-0xb003ffff (rw,non-prefetchable)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 10 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00002592sv00001025sd0000006Abc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: intel
  Driver Info #1:
    XFree86 v4 Server Module: intel
    3D Support: yes
    Extensions: dri
  Config Status: cfg=new, avail=yes, need=no, active=unknown


21: PCI 02.1: 0380 Display controller
  [Created at pci.378]
  Unique ID: ruGf.Wg8LTupicC7
  SysFS ID: /devices/pci0000:00/0000:00:02.1
  SysFS BusID: 0000:00:02.1
  Hardware Class: graphics card
  Model: "Intel Mobile 915GM/GMS/910GML Express Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2792 "Mobile 915GM/GMS/910GML Express Graphics Controller"
  SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
  SubDevice: pci 0x006a 
  Revision: 0x03
  Memory Range: 0x20000000-0x2007ffff (rw,non-prefetchable,disabled)
  Module Alias: "pci:v00008086d00002792sv00001025sd0000006Abc03sc80i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown


Primary display adapter: #16

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.

Ok, I have split this into separate threads.

Ok, very good. I’ll close this thread accordingly.

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 :wink:

Just my two cents.

EDIT: Sorry, I missed that this is already done with. For get the above.