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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-31-03, 08:12 PM   #1
KingFish
Registered User
 
Join Date: Jan 2003
Posts: 10
Angry XV_BRIGHTNESS on a TNT2 - driver bug or unsupprted?

Hi,

I've just found out (after hours of searching the net) that the lack of adjustability to the brightness on a linux box with a TNT2 (Ultra in my case) and the XV extensions is a lack of support in the driver.
I've blamed mplayer dev's several times about this, 'cause I thought they were to blame, but obviously (after a quick and fast xvinfo ^^) you see the that the nvidia drivers lacks support for it. As long as the driver does not support XV_BRIGHTNESS you'll have to stick to a dark screen - no xvattr, xgamma or similar tools will work!
My big question is now: is a TNT2 (Ultra) generally unable to support the XV_BRIGHTNESS or is it just a silly and annoying bug in the nvidia driver (using latest build 4180, tried several others) ???
Hope someone is able to help me, else I'll poke nvidia directly...

Thx, bye
KingFish
KingFish is offline   Reply With Quote
Old 02-01-03, 12:17 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: XV_BRIGHTNESS on a TNT2 - driver bug or unsupprted?

Quote:
Originally posted by KingFish
(using latest build 4180,
You have an as-yet-unreleased AMD Opteron chip? I doubt that...

Build 4180 is for the AMD 64-bit platform, formerly called the Hammer, and now called the Opteron. No one has one of them, because they don't yet quite exist. You want 4191, the IA-32 version. That may very well be the source of your problems -- note my xvinfo:

Code:
    number of attributes: 9
      .....
      "XV_BRIGHTNESS" (range -512 to 511)
              client settable attribute
              client gettable attribute (current value is 0)
Although this is on a GF4, so it is possible that your hardware won't work with it. However, if you installed 4180, then it is very likely that you don't even have the driver set up right. Get rid of anything you have now, and install 4191 (or even 3123).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-01-03, 04:13 AM   #3
KingFish
Registered User
 
Join Date: Jan 2003
Posts: 10
Default

d'oh, baka me!
sry, of course I have the IA32 driver 4191, messed up a bit with the versions..
here's my output with xvinfo (is the same on 4191 and previous 3123, though) :

Code:
    number of attributes: 4
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
as you see, no XV_BRIGHTNESS (and to speak of it, neither XV_SATURATION nor XV_HUE)

sry again, hope anybody knows something about it...

bye
KingFish is offline   Reply With Quote
Old 02-01-03, 07:39 AM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Oh. Hehe. Well, yeah, it might be that the chip just doesn't support it. If the 3123 driver told you the same thing, then I'd say that the problem is the TNT2. That xvinfo run was with 3123 on a GF4 Ti4200.

You say you can't even use something like xgamma -gamma 3.0? The xgamma program uses the XFree86-VidModeExtension to do its thing normally (at least, according to the man page it does), and I don't see why the TNT2 wouldn't support VidMode...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-01-03, 08:12 AM   #5
KingFish
Registered User
 
Join Date: Jan 2003
Posts: 10
Default

well, xgamma works fine, but only on non-XV windows, namely complete X will get bright, just the mplayer output window will stay dark

Hurray, just found out how to work around this:
My main problem with birghtness was in mplayer; due to a slow CPU I have to use hardware accelareted XV output (though SDL), else movies won't play smooth. And XV_BRIGHTNESS wasn't available so no play around. Using X11 FrameBuffer output got me brighter output but dropped frames as hell. Well, now I just discovered this: if you use mplayer with the '-vop eq' command it will enable software 'scaling' and proccesses the frame before sending it for output. Of course this will cost some CPU power, but it works!
So, everybody messing with the same prob (slow CPU, bad graphic card (at least for linux ), bad monitor (dark as hell) etc ) just invoke mplayer everytime with -vop eq (or place vop=eq in ~/.mplayer/config ) and then keys 1-4 (1: -conrast, 2: +contrast, 3: -brightness, 4: +brightness) will work! If you even have a faster CPU you may also use vop=eq2 (which is a lot slower) but you can also change the gamma directly (keys 5-8, I think)

"Another (linux) mystery well solved! "

Hope this will help other ppl, too

Bye and thx alot bwkaz!

KingFish
KingFish is offline   Reply With Quote
Old 02-01-03, 08:19 AM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Glad you got something that worked!
__________________
Registered Linux User #219692
bwkaz 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
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
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Gnome2 lockups due to bug in X driver hobbes NVIDIA Linux 11 07-29-02 04:38 PM

All times are GMT -5. The time now is 05:15 PM.


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