You are not logged in.

#1 2013-08-20 20:35:47

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 585

[SOLVED] KDE 4.11 with xf8x-video-intel 2.21.14 brightness problem.

After upgrading to xf86-video-intel to 2.21.14 KDE can no longer control the brightness. It display the brightness level info, but no change. Downgrading to 2.21.13 it works.

issuing as root:

echo _value_ > /sys/class/backlight/intel_backlight/brightness

changes the brightness.

_value_: 0 to 4882

Can anyone confirm?

Last edited by firewalker (2013-08-22 10:04:25)


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#2 2013-08-21 02:57:09

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: [SOLVED] KDE 4.11 with xf8x-video-intel 2.21.14 brightness problem.

Brightness control using both widget and system keys are working on my system. Although, a lot of things like kmix, klipper, etc. aren't loading at startup for me.

 
donnie ~ $  uname -a
Linux archlinux 3.10.7-1-ARCH #1 SMP PREEMPT Thu Aug 15 11:55:34 CEST 2013 x86_64 GNU/Linux
donnie ~ $  pacman -Qi xf86-video-intel | grep Version
Version        : 2.21.14-2

Offline

#3 2013-08-21 03:54:12

youngunix
Member
Registered: 2013-01-16
Posts: 42
Website

Re: [SOLVED] KDE 4.11 with xf8x-video-intel 2.21.14 brightness problem.

Here are my laptop's specs.

The following is a script that I use to fix brightness:

#!/bin/sh 

# Author: youngunix
# Name: change_brightness.sh 
# Description: to change laptop LED backlight brightness.
# Note: this is a temporary solution! You need to run it after each reboot.
# >>> This script needs to be run as root(sudo or su).

echo "#####################################################"
echo ""
echo "############ Change Brightness - Script #############"
echo ""
echo "#####################################################"
echo ""
echo ""


# ask user for input
echo -n "Please enter desired brightness settings [LOW=0 - MAX=976]:  "

# read user input
read SETTINGS

# adjust brightness according to the user's input
echo $SETTINGS > /sys/class/backlight/intel_backlight/brightness


exit 0

The following is a script that I use to fix screen flicker:

#!/bin/sh

# Author: youngunix
# Name: fix_LED_flicker.sh 
# Description: to prevent screen flicker.
# Note: this is a permanent solution! You don't need to run it after each reboot.
# >>> This script needs to be run as root(sudo or su).

echo "########################################################"
echo ""
echo "########        Fix LED Flicker - Script        ########"
echo ""
echo "########################################################"
echo ""

echo "----> Reading reference clock..."
echo "================================"
sleep 2
intel_reg_read 0xC6204
echo ""

echo "----> Fixing LED flicker..."
echo "================================"
sleep 2
intel_reg_write 0xC8254 0x7a107a1
echo ""
echo "----> Done."

exit 0

Good Luck!

Last edited by youngunix (2013-08-21 03:55:11)


"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." --Dennis Ritchie-- RIP

Offline

#4 2013-08-21 08:45:06

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 585

Re: [SOLVED] KDE 4.11 with xf8x-video-intel 2.21.14 brightness problem.

I did a git bisect between xf86-video-intel 2.21.13 and 2.21.14 but could find any good revision. The result was:

b6bcb7ae20b92e48b8a2fa096c0e33b6b97b1b30 is the first bad commit
commit b6bcb7ae20b92e48b8a2fa096c0e33b6b97b1b30
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jul 25 21:22:25 2013 +0100

    intel: Source our PCI IDs table from the copy in the kernel
   
    Rather than duplicating the information we already use in the kernel, we
    can reuse the pci-id tables so long as we apply a little fuzz.
   
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

:040000 040000 14fb19dba1e993587a006921497c475438ebd102 1481104f860239ad6da456eb0ebddf6d66feed38 M      src

It doesn't seem right to me.

log:

git bisect start
# good: [bb8484da487008df8b69beb8086167bc272e85bb] 2.21.13 release
git bisect good bb8484da487008df8b69beb8086167bc272e85bb
# bad: [0cd154039ab02799dc972d93c415e762226df1aa] 2.21.14 release
git bisect bad 0cd154039ab02799dc972d93c415e762226df1aa
# bad: [1dd79c225cedf5614a77e5db9f9d9700bf957bb8] sna: Restore driver info upon FreeScreen
git bisect bad 1dd79c225cedf5614a77e5db9f9d9700bf957bb8
# bad: [8afb5438f3479df39752cbda680c13d80f81f42f] intel: Always define the PCI-IDs
git bisect bad 8afb5438f3479df39752cbda680c13d80f81f42f
# bad: [6fd37e644d9c662776aff14cd51a27b7e52472de] intel: Replace the codename in the user facing string for unknown Haswell parts
git bisect bad 6fd37e644d9c662776aff14cd51a27b7e52472de
# bad: [4c6871684b0006a89be6760db99fda9b47790226] intel: Cross-check an unnamed chipset against the list of known PCI-IDs
git bisect bad 4c6871684b0006a89be6760db99fda9b47790226
# bad: [b6bcb7ae20b92e48b8a2fa096c0e33b6b97b1b30] intel: Source our PCI IDs table from the copy in the kernel
git bisect bad b6bcb7ae20b92e48b8a2fa096c0e33b6b97b1b30
# first bad commit: [b6bcb7ae20b92e48b8a2fa096c0e33b6b97b1b30] intel: Source our PCI IDs table from the copy in the kernel


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#5 2013-08-21 18:03:19

nomasteryoda
Member
From: Georgia, USA
Registered: 2012-11-16
Posts: 11
Website

Re: [SOLVED] KDE 4.11 with xf8x-video-intel 2.21.14 brightness problem.

The brightness controls work for me sort of.
I have to put a battery widget on my desktop and use the slider there to control brightness. The one in the system task area will popup, but then I cannot slide the control - only click it. I get a change, but I am never sure what that change will be. I've even changed my desktop theme/style and the controls remain the same - broken... This happened with the KDE 4.11 update.

This is on an Nvidia card which did not work until the previous kernel update. Again, I'm uncertain if this was resolved by the new kernel, nvidia driver or both.

Offline

#6 2013-08-22 10:03:57

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 585

Re: [SOLVED] KDE 4.11 with xf8x-video-intel 2.21.14 brightness problem.

Solved by adding

Section "Device"
        Identifier      "HD 3000"
        Driver  "Intel"
        Option "Backlight" "intel_backlight"
EndSection

to /etc/X11/xorg.conf.d/20-intel.conf file.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

Board footer

Powered by FluxBB