You are not logged in.

#1 2013-09-23 18:11:45

xinoxar
Member
Registered: 2013-09-23
Posts: 7

[SOLVED]Brightness problem with Sony Vaio VPCS136FG

Hello,
I have a Sony VAIO VPCS136FG laptop, with a Nvidia GeForce 310m working under NOUVEAU driver. I had tried everything ever mentioned in wiki and other places on the web to change my display brightness. But all my efforts ends with a dead end.

I've tried passing Kernel argument
I've tried changing file content of /sys/devices/backlight/acpi_video0/brightness (the file content will change, but the brightness not)
I've tried setpci -s xxxxxxxxx but it didn't works too

I have an idea in my mind about it's malfunctioning. I had a windows 7 ultimate [64bit]  running on my laptop before installing arch linux. VAIO has an application called Vaio Care Center. one of it's options was to adjust the brightness automatically using the laptop light sensor (which will be use to controlling the keyboard light as well). When the vaio application auto brightness control was active, even the windows could not change the brightness. when I changed the OS, the option was enabled. Is it possible that crazy option preventing my brightness to change? and if so, how can i eliminate this?

some info which I think might be useful for readers (I'm new on linux)

# lspci

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
03:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
03:00.1 System peripheral: Ricoh Co Ltd R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller]
03:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller
03:00.4 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
04:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
# pwd
/sys/class/backlight/acpi_video0

# tree
.
├── actual_brightness
├── bl_power
├── brightness
├── device -> ../../../0000:01:00.0
├── max_brightness
├── power
│   ├── async
│   ├── autosuspend_delay_ms
│   ├── control
│   ├── runtime_active_kids
│   ├── runtime_active_time
│   ├── runtime_enabled
│   ├── runtime_status
│   ├── runtime_suspended_time
│   └── runtime_usage
├── subsystem -> ../../../../../../class/backlight
├── type
└── uevent

3 directories, 15 files

Last edited by xinoxar (2013-10-03 07:36:23)

Offline

#2 2013-09-24 07:29:46

sbmomeni
Member
Registered: 2013-07-26
Posts: 29

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

Check:

ls -l /sys/class/backlight/

Is there just acpi.... stuff or two controllers!?

Offline

#3 2013-09-24 21:22:24

xinoxar
Member
Registered: 2013-09-23
Posts: 7

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

There is just an acpi controller

# ls -la /sys/class/backlight/

total 0
drwxr-xr-x  2 root root 0 Sep 23 12:54 .
drwxr-xr-x 41 root root 0 Sep 23 12:54 ..
lrwxrwxrwx  1 root root 0 Sep 23 12:54 acpi_video0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0

Offline

#4 2013-09-25 05:02:57

wwn
Member
Registered: 2013-03-25
Posts: 70

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

BTW & sorry for disturb. Is there a problem if I have more than one?

07:00:37^wwn@~$ ls -la /sys/class/backlight/
insgesamt 0
drwxr-xr-x  2 root root 0 25. Sep 06:56 .
drwxr-xr-x 44 root root 0 25. Sep 06:56 ..
lrwxrwxrwx  1 root root 0 25. Sep 06:56 acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
lrwxrwxrwx  1 root root 0 25. Sep 06:56 acpi_video1 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video1
lrwxrwxrwx  1 root root 0 25. Sep 06:56 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight

I have a strange backlight behaviour and would like to know more about.

Offline

#5 2013-09-25 06:48:07

xinoxar
Member
Registered: 2013-09-23
Posts: 7

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

wwn wrote:

Is there a problem if I have more than one?

Sometimes it is possible to have more than one controller according to the tec that your pc/laptop use to handle the graphics.

wwn wrote:

I have a strange backlight behaviour

What is that strange backlight behaviour exactly?
What is you graphic card(s)
Would you please post the output of the folling command here?

sudo lscpi | grep -i vga

Last edited by xinoxar (2013-09-25 06:49:00)

Offline

#6 2013-09-25 08:29:07

sbmomeni
Member
Registered: 2013-07-26
Posts: 29

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

@wwn
According to

wwn wrote:

lrwxrwxrwx  1 root root 0 25. Sep 06:56 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight

you need to add following code to ''/etc/X11/xorg.conf'' file:

Section "Device"
	Option     "AccelMethod"        "uxa"
	Option     "Backlight"          "intel_backlight"
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

@xinoxar
Just a guess => Did you give the nvidia (proprietary) driver a chance too?

Offline

#7 2013-09-25 08:44:18

wwn
Member
Registered: 2013-03-25
Posts: 70

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

Hello guys,

I don't like to block the initially question of xinoxar and made another thread: https://bbs.archlinux.org/viewtopic.php … 1#p1328251
Tonigth I will deliver the requested outputs there.

Offline

#8 2013-09-26 08:07:23

xinoxar
Member
Registered: 2013-09-23
Posts: 7

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

sbmomeni wrote:

@xinoxar
Just a guess => Did you give the nvidia (proprietary) driver a chance too?

Yes, I did try that. But no chance to get the brightness itself to work. Just changing some gamma stuff with nvidia x settings. It's so weird.
setpci should work with the VGA config registers but it don't. So, it may that the VGA graphic is differ form the routines or some kind of flag is locking the brightness.

Offline

#9 2013-09-26 16:19:05

xinoxar
Member
Registered: 2013-09-23
Posts: 7

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

as it seems there is no one who can solve this problem. I opened a thread in the VAIO Community to getting this problem solved. If I could getting over this problem, I will letting you know the result.

Regards,
XinoXaR

Offline

#10 2013-10-02 06:11:19

xinoxar
Member
Registered: 2013-09-23
Posts: 7

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

I send this bug to "Sony" and "Nvidia" and the interesting point is "None of them answered!!!".

Offline

#11 2013-10-03 07:33:20

xinoxar
Member
Registered: 2013-09-23
Posts: 7

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

Problem solved in this Thread using nvidiabl driver in conduction with nvidiablctl

Special Thanks to Toz

p.s: the problem solved in ubuntu's forum but this won't cause me switching on ubuntu. cause I love Arch Linux and it's strategy (to do everything by your own)

Offline

#12 2014-02-09 14:25:44

joaocandre
Member
Registered: 2013-02-23
Posts: 146

Re: [SOLVED]Brightness problem with Sony Vaio VPCS136FG

Sorry to be resurrecting this thread, but I've ran into similar problems. Brightness control didn't work, I installed nvidia proprietary drivers and added

Option  "RegistryDwords" "EnableBrightnessControl=1" 

to my xorg.conf, brightness worked fine until I rebooted. Now it only works sporadically, and often with a 1~2 s delay. I installed nvidiabl and nvidiablctl but everything stayed the same. Do I need to change anything in nvidiabl config files?

EDIT: I am able to use nvidiablctl to increase and decrease backlight in the command line, but it requires root privileges, and there is no Fn key association.

Last edited by joaocandre (2014-02-09 14:43:45)

Offline

Board footer

Powered by FluxBB