I use the nvclock program to control my LCD screen backlight.
But if I tried to set my brightness to 100% when my screen is already fully lit, e.g. after booting, the brightness decreased slightly and a low pitched whining noise is heard from the graphics card.
The nvclock program alters a register of my NVIDIA 8400M GT card with values from 0 to 1024. According to this comment from the Ubuntu launchpad, it should go to 1025, one more. Patching this makes the nvclock program work well.
I'm going to try to add a patch that solves this bug.
Created attachment 188997 [details, diff]
Write to the register correctly
Upstream thinks that it's unclear what the patch actually does since it's unknown to begin with how (why) the code really works for any unknown BIOS. As such the patch isn't exceptable even if it works for you.
22:07:04 <Thunderbird> he could try to dump his video bios, it should appear
in ~/.nvclock and is called bios0.rom
22:07:24 <Thunderbird> if it doesn't contain bogus (I mean not just 00000 ..
or fffff ..) show it to me
22:11:13 <rej> I see I have that file. What triggers nvclock to do that dump?
22:11:50 <Thunderbird> any nvclock function should dump that on the first run
22:11:53 <Thunderbird> e.g. nvclock -i or so
22:13:35 <rej> ah ok
@Kasper: Could you see if your bios dump contains useful info?
Created attachment 203420 [details]
BIOS dump of NVIDIA GeForce 8400M GT
I have made an attachment with the bios dump. It looks all gibberish to me though, I'm afraid I don't understand what it means.
Did you ever end up contacting Thunderbird (in irc://chat.freenode.net/#nvclock)?
(In reply to comment #6)
> Did you ever end up contacting Thunderbird (in
Nah. The battery of my laptop broke, so it's no use trying to decrease power usage anymore. I just set brightness to its lowest at night and when I boot up my laptop in the morning, the brightness goes back to its default value.
Pity we never had someone reproduce this.