Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-10-08, 10:55 AM   #145
surfinbird
Registered User
 
Join Date: Dec 2008
Location: Belgium
Posts: 5
Default Re: Brightness control not working with nVidia driver

Quote:
Originally Posted by Thunderbird View Post
Regarding NVClock as some of you might know the latest CVS version offers SmartDimmer on various sony geforce8/9 models. Some of my users also used it successfully on some other laptops like models from Samsung. By default support for non-sony geforce8/9 models is disabled in source but you can enable it when you want to experiment with it. To do that edit src/backend/nv50.c. You'll see a line:
if((nv_card->subvendor_id == PCI_VENDOR_ID_SONY) && nv_card->gpu == MOBILE)

Remove the sony part and change it to:
if(nv_card->gpu == MOBILE)
Thanks for the prompt response and the solution you've provided! Taking your advice into account results in a working nvclock utility. Next is in short what I did from within a terminal (for the more novice users among us):

sudo apt-get install build-essential
sudo apt-get install cvs
sudo apt-get install pkg-config
sudo apt-get install kdelibs5-dev
mkdir build
cd build
cvs -dserver:anonymous@nvclock.cvs.sourceforge.net:/cvsroot/nvclock login
cvs -z3 -dserver:anonymous@nvclock.cvs.sourceforge.net:/cvsroot/nvclock co -P nvclock

>>> remove the test for PCI_VENDOR_ID_SONY in src/backend/nv50.c as mentioned above

cd nvclock
./configure
make
sudo apt-get remove nvclock
sudo make install

>>> adjust brightness to 20% like this:
/usr/local/bin/nvclock -S 20

I'm using a SAMSUNG Q210 which has a nvidia 9200M card and I'm running Kubuntu 8.10.
surfinbird is offline   Reply With Quote
Old 12-11-08, 01:51 AM   #146
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Brightness control not working with nVidia driver

Could you provide me with a nvclock -D output and could you add a line 'printf("subvendor id: %x\n", nv_card->subvendor_id); just before the line which contained the sony test before.
Thunderbird is offline   Reply With Quote
Old 12-11-08, 02:58 AM   #147
surfinbird
Registered User
 
Join Date: Dec 2008
Location: Belgium
Posts: 5
Default Re: Brightness control not working with nVidia driver

Quote:
Originally Posted by Thunderbird View Post
Could you provide me with a nvclock -D output and could you add a line 'printf("subvendor id: %x\n", nv_card->subvendor_id); just before the line which contained the sony test before.
This is the output I've got:

/usr/local/bin/nvclock -D
subvendor id: 144d
--- nVidia Geforce 9200M GS GPU registers ---
NV_PMC_BOOT_0 (0x0): 298400a2
NV_PBUS_DEBUG_0 (0x1080): 00000000
NV_PBUS_DEBUG_1 (0x1084): 00041469
NV_PBUS_DEBUG_2 (0x1088): 00000000
NV_PBUS_DEBUG_3 (0x108c): 000000d1
NV_10F0 (0x10f0): 00000000
NV_1540 (0x1540): f1010001
NV_15B0 (0x15b0): 00000000
NV_15B4 (0x15b4): 00000000
NV_15B8 (0x15b8): 00000000
NV_15F0 (0x15f0): 00000000
NV_15F4 (0x15f4): 00000000
NV_15F8 (0x15f8): 00000000
NV_PBUS_PCI_0 (0x1800): 06e810de
NV_C010 (0xc010): 00000000
NV_C014 (0xc014): 00000000
NV_C018 (0xc018): 00000000
NV_C01C (0xc01c): 00000000
NV_C020 (0xc020): 00000000
NV_C024 (0xc024): 00000000
NV_C028 (0xc028): 00000000
NV_C02C (0xc02c): 00000000
NV_C040 (0xc040): 2e80d0b3
NV_4000 (0x4000): 00000000
NV_4004 (0x4004): 00000000
NV_4008 (0x4008): 90086400
NV_400C (0x400c): 00001a04
NV_4010 (0x4010): 00000000
NV_4014 (0x4014): 00000000
NV_4018 (0x4018): 00000000
NV_401C (0x401c): 00000000
NV_4020 (0x4020): 80000000
NV_4024 (0x4024): 00000d01
NV_4028 (0x4028): 80000000
NV_402C (0x402c): 00002507
NV_4030 (0x4030): 00000000
NV_4034 (0x4034): 00000000
NV_4038 (0x4038): 00000000
NV_403C (0x403c): 00000000
NV_4040 (0x4040): 00010000
NV_4044 (0x4044): 00000000
NV_4048 (0x4048): 00000000
NV_404C (0x404c): 00000000
NV_4050 (0x4050): 00010000
NV_4054 (0x4054): 00000000
NV_4058 (0x4058): 00000000
NV_405C (0x405c): 00000000
NV_4060 (0x4060): 00000000
NV_E100 (0xe100): 001c0100
NV_E114 (0xe114): 00000001
NV_E118 (0xe118): 00000000
NV_E11C (0xe11c): 00000001
NV_E120 (0xe120): 00000000
NV_20008 (0x20008): c00836af
NV_PDISPLAY_SOR0_REGS_BRIGHTNESS(c084): 00000401
NV_PFB_CFG0 (0x100200): 00001800
NV_PFB_CFG0 (0x100204): 01559000
NV_PFB_CFG0 (0x100208): 00000000
NV_PFB_CFG0 (0x10020c): 10000000
NV_PFB_218 (0x100218): 01000101
NV_PFB_TIMING0 (0x100220): 0d192d24
NV_PFB_TIMING1 (0x100224): 11010c0b
NV_PFB_TIMING2 (0x100228): 0208080c
NV_PFB_474 (0x100474): 00000000
NV_PEXTDEV_BOOT_0 (0x101000): 8f44a39c
NV_NVPLL_COEFF_A (0x680500): 00000000
NV_MPLL_COEFF_A (0x680504): 00000000
NV_VPLL_COEFF (0x680508): 00000000
NV_PLL_COEFF_SELECT (0x68050c): 00000000
NV_NVPLL_COEFF_B (0x680570: 00000000
NV_MPLL_COEFF_B (0x680574: 00000000
surfinbird is offline   Reply With Quote
Old 12-11-08, 03:06 AM   #148
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Brightness control not working with nVidia driver

Hmm, 144d is Sanyo I guess they are building the laptops for Samsung or so. Anyway I'll extend the sony check with sanyo.
Thunderbird is offline   Reply With Quote
Old 12-12-08, 01:00 PM   #149
qris
Registered User
 
Join Date: Dec 2008
Posts: 3
Default Re: Brightness control not working with nVidia driver

Building from CVS, I removed the subvendor_id check
Ajusting backlight brightness now works me. thanks

Laptop brand is Zepto
Running Ubuntu 8.10 x86_64 2.6.27-10-generic
with nvidia 177.80-0ubuntu3

$ nvclock -D
--- nVidia Geforce 9600M GT GPU registers ---
NV_PMC_BOOT_0 (0x0): 096480a1
NV_PBUS_DEBUG_0 (0x1080): 00000000
NV_PBUS_DEBUG_1 (0x1084): 00041469
NV_PBUS_DEBUG_2 (0x1088): 00000000
NV_PBUS_DEBUG_3 (0x108c): 000000d1
NV_10F0 (0x10f0): 00000000
NV_1540 (0x1540): f3030003
NV_15B0 (0x15b0): 00000000
NV_15B4 (0x15b4): 00000000
NV_15B8 (0x15b8): 00000000
NV_15F0 (0x15f0): 00000000
NV_15F4 (0x15f4): 00000000
NV_15F8 (0x15f8): 00000000
NV_PBUS_PCI_0 (0x1800): 064910de
NV_C010 (0xc010): 00000000
NV_C014 (0xc014): 00000000
NV_C018 (0xc018): 00000000
NV_C01C (0xc01c): 00000000
NV_C020 (0xc020): 00000000
NV_C024 (0xc024): 00000000
NV_C028 (0xc028): 00000000
NV_C02C (0xc02c): 00000000
NV_C040 (0xc040): 2e80dea3
NV_4000 (0x4000): 00000000
NV_4004 (0x4004): 00000000
NV_4008 (0x4008): 10182200
NV_400C (0x400c): 00002707
NV_4010 (0x4010): 00000000
NV_4014 (0x4014): 00000000
NV_4018 (0x4018): 00000000
NV_401C (0x401c): 00000000
NV_4020 (0x4020): 00010000
NV_4024 (0x4024): 00000c01
NV_4028 (0x4028): 80120000
NV_402C (0x402c): 00001b04
NV_4030 (0x4030): 20120000
NV_4034 (0x4034): 00001604
NV_4038 (0x4038): 00000000
NV_403C (0x403c): 00000000
NV_4040 (0x4040): 00010000
NV_4044 (0x4044): 00010000
NV_4048 (0x4048): 00000000
NV_404C (0x404c): 00000000
NV_4050 (0x4050): 00010000
NV_4054 (0x4054): 00000000
NV_4058 (0x4058): 00000000
NV_405C (0x405c): 00000000
NV_4060 (0x4060): 00000000
NV_E100 (0xe100): 001c1100
NV_E114 (0xe114): 00000001
NV_E118 (0xe118): 00000000
NV_E11C (0xe11c): 00000001
NV_E120 (0xe120): 00000000
NV_20008 (0x20008): c00837d5
NV_PDISPLAY_SOR0_REGS_BRIGHTNESS(c084): 00000200
NV_PFB_CFG0 (0x100200): 00000800
NV_PFB_CFG0 (0x100204): 01559000
NV_PFB_CFG0 (0x100208): 00000000
NV_PFB_CFG0 (0x10020c): 20000000
NV_PFB_218 (0x100218): 01000101
NV_PFB_TIMING0 (0x100220): 02040605
NV_PFB_TIMING1 (0x100224): 0b010905
NV_PFB_TIMING2 (0x100228): 02010102
NV_PFB_474 (0x100474): 00000000
NV_PEXTDEV_BOOT_0 (0x101000): 8f44a41e
NV_NVPLL_COEFF_A (0x680500): 00000000
NV_MPLL_COEFF_A (0x680504): 00000000
NV_VPLL_COEFF (0x680508): 00000000
NV_PLL_COEFF_SELECT (0x68050c): 00000000
NV_NVPLL_COEFF_B (0x680570: 00000000
NV_MPLL_COEFF_B (0x680574: 00000000
qris is offline   Reply With Quote
Old 12-12-08, 02:14 PM   #150
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Brightness control not working with nVidia driver

Could you also add that print line for the subvendor id? I'd like to add a proper check to my code to support as many cards possible. My first goal is to find a generic solution else I will detect each supported laptop.
Thunderbird is offline   Reply With Quote
Old 12-12-08, 05:47 PM   #151
qris
Registered User
 
Join Date: Dec 2008
Posts: 3
Default Re: Brightness control not working with nVidia driver

Here is it: 1a46
qris is offline   Reply With Quote
Old 12-16-08, 03:39 PM   #152
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Brightness control not working with nVidia driver

The latest cvs version of NVClock now offers Smartdimmer for Geforce8/9 cards in laptops from HP, Samsung, Sony and Zepto.
Thunderbird is offline   Reply With Quote

Old 01-13-09, 01:52 PM   #153
warpino
Registered User
 
Join Date: Jan 2009
Posts: 1
Default Re: Brightness control not working with nVidia driver

Anyone managed to change backlight on fujitsu siemens esprimo laptops? After installing the nvidia 108.22 driver I'm stuck with low backlight. I tried with nvclock from cvs but even removing the subvendor strings in the n50.c source file Smartdimmer doesn't work. Can anyone help?

The card is geforce 9200M GS 128 MB

Thanks a lot.

w.

Last edited by warpino; 01-13-09 at 01:53 PM. Reason: added card description
warpino is offline   Reply With Quote
Old 05-17-09, 06:13 AM   #154
diegoocampo
Registered User
 
Join Date: Dec 2008
Posts: 16
Default Re: Brightness control not working with nVidia driver

So we have to accept that there will be never support for brightness control in our laptops while the nv and the nouveau drivers can handle it without problem even if the nouveau developers have to guess the specifications of the graphic cards??
its really a shame that i can not do something so basic like controling the brightness of my screen, my eyes need some rest!!
diegoocampo is offline   Reply With Quote
Old 05-17-09, 10:41 AM   #155
crnv
Registered User
 
Join Date: Apr 2009
Posts: 12
Default Re: Brightness control not working with nVidia driver

Brightness control works for my HP laptop with 180.60. Actually this driver resolves all severe problems that I had (brightness control, blank text consoles, PowerMizer). It might solve your graphics problem too!
crnv is offline   Reply With Quote
Old 05-17-09, 03:34 PM   #156
diegoocampo
Registered User
 
Join Date: Dec 2008
Posts: 16
Default Re: Brightness control not working with nVidia driver

Quote:
Originally Posted by crnv View Post
Brightness control works for my HP laptop with 180.60. Actually this driver resolves all severe problems that I had (brightness control, blank text consoles, PowerMizer). It might solve your graphics problem too!
Nah, i've just tried and still it doesn't work.. when you said it works for you did you mean the brightness control using the hotkeys of your laptop? With the drivers that i said in the other post the brightness control works perfectly with the hotkeys of my laptop but this drivers doesn't have OpenGl support

Thanks anyway!
diegoocampo is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver quality decrease? legluondunet NVIDIA Linux 17 06-26-12 10:03 AM
Nvidia driver stopped working after X restart and Kernel taint msgs during boot mikejuni NVIDIA Linux 10 05-21-12 08:30 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM

All times are GMT -5. The time now is 11:29 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.