You are not logged in.
I have dual graphics on a Vaio laptop.
With the Intel card turned on the brightness keys work fine
With the nvidia card turned on and nouveau drivers my system boots at a blinding max brightness and the function keys do nothing.
Any help is appreciated.
Last edited by snoxu (2012-11-25 20:38:52)
Offline
tray appending on kernel line acpi_backlight=vendor, you can change vendor to legacy or video, there is kernel parameter documentation on net for appending options you can take a look.
Offline
Can you control the brightness from the CLI? e.g. with xbacklight, for example?
What is in /sys/class/backlight/?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
tray appending on kernel line acpi_backlight=vendor, you can change vendor to legacy or video,
Did not work.
there is kernel parameter documentation on net for appending options you can take a look.
Will look into it
Can you control the brightness from the CLI? e.g. with xbacklight, for example?
What is in /sys/class/backlight/?
Tried xbacklight didn't seem to work
I have two folders:
acpi_video0
intel_backlight
Offline
So you get that even when using the nvidia card with nouveau rather than the intel?
You could *try* altering the values directly (under the acpi subdirectory) but I worry this will not work.
Is it possible to disable the intel graphics completely and boot with nouveau? If so, is that directory then empty? (If so, I suspect you are out of luck but if not, maybe it will work then.)
It seems weird to me that the intel directory should be there if that is not active but I know nothing about optimus...
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I'm booting the nvidia card with nouveau drivers, intel card turned off
BTW this is what happens with xbacklight
xbacklight -dec 10
No outputs have backlight property
Offline
Try echoing a value to /sys/class/backlight/acpi_video0/brightness. cat the file first to get the current value and echo back a slightly lower one.
I don't know why you would get the intel interface if the intel card is turned off. But, as I say, I have no experience of optimus at all. What does lsmod | grep intel give you?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
did you tray with offical nvidia pkg, after emerging it and if behavior is the same your other other option is to disable intel card for probing in kernel space, maybe they missbehave after cycling from intel to nvidia. You can tray pci=bios witch would in your scenario probe for active card and continue for insertion, so inactive wont get altered. tell us your results
Offline
I'm not sure you can emerge it on Arch!
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thanks for the help guys I'm going to RMA my laptop for an unrelated issue (vertical lines on the LCD).
If I don't get to do any further testing. I'll probably continue next week.
Last edited by snoxu (2012-11-19 23:26:25)
Offline
'm not sure you can emerge it on Arch!
That's irrelevant, you know what i meant to say
Offline
Nevermind post number 4. I may have been doing something wrong and I had both cards turned on.
Now I have only the nvidia card on with nouveau, booting with the acpi_backlight=vendor parameter
I have two backlight folders:
nv_backlight
sony
But I can only change brightness with:
echo x > /sys/class/backlight/nv_backlight/brightness
xbacklight -inc 10 doesn't work
Fn+Brightness keys in Gnome do not work
Only have to figure out how to solve this.
Offline
What happens without the acpi_backlight=vendor parameter?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
What happens without the acpi_backlight=vendor parameter?
I get acpi_video0 and echoing the brightness file does nothing.
BTW I think I'm gonna try the Nvidia proprietary driver. Apparently there's no Vdpau support for nouveau.
Last edited by snoxu (2012-11-25 03:51:05)
Offline
Tried the Nvidia proprietary driver and I can't control the brightness with it,
There were two folders under /sys/class/blacklight
nvidia_backlight
sony
Echoing values doesn't work.
Tried nvidia wiki fixes, nvidiabl, nvidia-bl.
Nothing works
Oh well
Last edited by snoxu (2012-11-25 20:39:23)
Offline
Did you try to disable nvidia and leave only intel?Or you don't want to?I've seen some post about it where people choose to disable one card.It's just my thinking.
Offline
Yes I have static switching on my Vaio enabled, meaning I can boot with only one card enabled.
With the Intel card brightness functions work fine.
With the nvidia card I can't get things to work properly.
Offline
my personal suggestion would be to switch to the nvidia driver. and if possible disable the intell chip in the bios if possible (look for opitmus options ) the open-source drivers have a lot of catching up to do when it comes to nvida. you can also add blacklight controll in the x.org file to allow the nvidia driver to controll the brightness. also if your just using a wm you will manually have to set up the brightness hot keys.
Offline
I have only Intel on my laptop and there's no problem,only adding nomodeset to kernel line.I don't know how to help you.But if you want both cards you will have to search more.Sorry.
Offline
runny6play: I did all that. Read post 15
I only managed to control brightness with the nouveau driver by echoing /sys/class/backlight/xxxx.
It doesn't work with the nvidia driver.
Offline
So go back to the vendor parameter which at least let you echo directly to the file. You should then be able to set up the hot keys etc. Do you use a DE/WM? Which?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
With nvidia I tried:
acpi_osi=Linux
acpi_backlight=vendor
echoing the brightness file did not work.
Only worked with the nouveau.
Unless I did something wrong I don't have an explanation for it.
Offline
did you tray what i mentioned in earler posts, plus appendig pci=bios. with both nouveau and nvidia, As workaround, for your working solution you can create small bash script with +inc, -decr values and map them as XF86_Brightness key raise/lower.
One info, which nvidia card you have?
Offline
It's a Geforce GT 330M
pci=bios.
Just tried it still no brightness control. While booting I get some message about it not being a valid option
acpi_backlight=vendor,legacy,video
Still no brightness control
Offline
no it can't be invalid option, you are doing something wrong for shure.
Offline