Skip to content
This repository has been archived by the owner on Jan 12, 2020. It is now read-only.

Not working on GLX560M (Toshiba Qosmio X770-11C) #54

Open
Lustmored opened this issue Sep 16, 2012 · 5 comments
Open

Not working on GLX560M (Toshiba Qosmio X770-11C) #54

Lustmored opened this issue Sep 16, 2012 · 5 comments

Comments

@Lustmored
Copy link

I tried under binary blob and now on nouveau (I prefer the latter) and it simply doesn't work.

I even added "acpi_osi=Linux acpi_backlight=vendor" to kernel, but no luck.

lsmod

Module Size Used by
nvidiabl 34355 0
coretemp 6344 0
kvm_intel 122475 0
kvm 260780 1 kvm_intel

dmesg |grep -i nvidiabl

[ 31.563750] nvidiabl: loading driver version 0.79
[ 31.563757] nvidiabl: Supported Nvidia graphics adapter 10de:1251:1179:fc05 detected
[ 31.563832] nvidiabl: smartdimmer register at address 0xf461c084 mapped at address 0xffffc90004196084
[ 31.563844] nvidiabl(O+) coretemp kvm_intel kvm
[ 31.563863] [] ? nvidiabl_init+0x1d8/0x430 [nvidiabl]
[ 31.563901] nvidiabl: backup register value 0x40020f58
[ 31.563901] nvidiabl: autodetecting maximum
[ 31.563902] nvidiabl: using value 0x20f58 as maximum
[ 31.563903] nvidiabl: autodetecting off
[ 31.563904] nvidiabl: using value 0x0 as off
[ 31.563904] nvidiabl: autodetecting minimum
[ 31.563905] nvidiabl: minimum is 5% of maximum
[ 31.563906] nvidiabl: using value 0x1a5e as minimum

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104](rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101](rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a](rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d](rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20](rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10](rev b4)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12](rev b4)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16](rev b4)
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a](rev b4)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26](rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49](rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03](rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22](rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1251](rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GF116 High Definition Audio Controller [10de:0bee](rev a1)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168](rev 06)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b](rev 01)
05:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2392](rev 30)
05:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2391](rev 30)
05:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2393](rev 30)
05:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2394](rev 30)
06:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194](rev 04)

cat /sys/class/dmi/id/sys_vendor

TOSHIBA

cat /sys/class/dmi/id/product_name

QOSMIO X770

@Lustmored
Copy link
Author

Build log from Gentoo in case of being helpful:

make -C /lib/modules/3.6.8-gentoo/build M=/var/tmp/paludis/app-laptop-nvidiabl-0.79/work/dkms_source_tree modules
ln: failed to create symbolic link 'Module.symvers': File exists
make -j10 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64 KVER=3.6.8-gentoo modules
make[1]: Entering directory /usr/src/linux-3.6.8-gentoo' CC [M] /var/tmp/paludis/app-laptop-nvidiabl-0.79/work/dkms_source_tree/nvidiabl-module.o CC [M] /var/tmp/paludis/app-laptop-nvidiabl-0.79/work/dkms_source_tree/nvidiabl-models.o /var/tmp/paludis/app-laptop-nvidiabl-0.79/work/dkms_source_tree/nvidiabl-module.c:37:3: warning: #warning USE_BACKLIGHT_SUSPEND [-Wcpp] LD [M] /var/tmp/paludis/app-laptop-nvidiabl-0.79/work/dkms_source_tree/nvidiabl.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/paludis/app-laptop-nvidiabl-0.79/work/dkms_source_tree/nvidiabl.mod.o LD [M] /var/tmp/paludis/app-laptop-nvidiabl-0.79/work/dkms_source_tree/nvidiabl.ko make[1]: Leaving directory/usr/src/linux-3.6.8-gentoo'

@guillaumezin
Copy link
Owner

Is it still not working on version 0.80 ?

@Lustmored
Copy link
Author

Unfortunately no change.

[ 16.089466] nvidiabl: loading driver version 0.80
[ 16.089480] nvidiabl: Supported Nvidia graphics adapter 10de:1251:1179:fc05 detected
[ 16.089537] nvidiabl: smartdimmer register at address 0xf461c084 mapped at address 0xffffc90004196084
[ 16.089538] nvidiabl: backlight type is raw
[ 16.089568] nvidiabl: backup register value 0x40020f58
[ 16.089569] nvidiabl: autodetecting maximum
[ 16.089570] nvidiabl: using value 0x20f58 as maximum
[ 16.089570] nvidiabl: autodetecting off
[ 16.089571] nvidiabl: using value 0x0 as off
[ 16.089572] nvidiabl: autodetecting minimum
[ 16.089573] nvidiabl: minimum is 5% of maximum
[ 16.089574] nvidiabl: using value 0x1a5e as minimum

Is there any more info I can provide to help?

@guillaumezin
Copy link
Owner

Maybe you can try version 0.81. And if it still doesn't work, with version 0.81, try to load the driver with these command (warning, exit all programs, it can crash your computer):

sudo modprobe -r nvidiabl
sudo modprobe nvidiabl screen_type=3

@Lustmored
Copy link
Author

when loaded with screen_type=3 function keys nor KDE still couldn't change brightness. Although changing in /sys/class/backlight/nvidia_backlight/ works!

Indeed 127 is very very dark (probably wrongly read maximum), but at least manually echoing to brightness does any change:

vindor nvidia_backlight # cat actual_brightness
17595
vindor nvidia_backlight # cat brightness
17596
vindor nvidia_backlight # cat max_brightness
127
vindor nvidia_backlight # echo 55>brightness

vindor nvidia_backlight # cat max_brightness
127
vindor nvidia_backlight # cat brightness
17596
vindor nvidia_backlight # cat brightness
17596
vindor nvidia_backlight # echo "55">brightness
vindor nvidia_backlight # echo "127">brightness
vindor nvidia_backlight # echo "17596">brightness
-su: echo: write error: Invalid argument
vindor nvidia_backlight # echo "256">brightness
-su: echo: write error: Invalid argument
vindor nvidia_backlight # cat actual_brightness
127

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants