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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-16-06, 12:07 PM   #1
sharky0815
Registered User
 
Join Date: Jun 2006
Posts: 3
Default Individual gamma settings with twinview

Hi,
it is essential to be able to set gamma for each connected monitor independently. Because no two monitors are the same they need different values. It is currently impossible to gamma-correct both differently, I think. I don't know how feasible this is, considering the X architecture. A simple option would suffice, like SecondMonitorGamma "x x x".

Another solution would be running dualhead without twinview (with DISPLAY=:0.1), but then you lose most of the benefits of dual-monitoring (eg arranging windows on both monitors)

I'd think it would be an enhancement to allow this, after all a big part of nvidias Linux market is DCC where calibrated monitors are a must.

Thanks!
sharky0815 is offline   Reply With Quote
Old 06-16-06, 09:16 PM   #2
herbo
Registered User
 
Join Date: Jan 2006
Posts: 5
Default Re: Individual gamma settings with twinview

Back when I was on the 'other' side of the graphics fence, I could independently set gamma for each individual monitor (via the fglrx control panel). It is something (actually the only thing!) I have missed since moving from a 9800pro to a 6800GS.

My old CRT really needs the gamma boosted quite a bit (especially compared to the LCD), so this feature would be much appreciated (currently I set the desktop gamma high and lower the brightness/contrast on my LCD).
__________________
Herbo knows a lot more than Herbo thinks he knows.
herbo is offline   Reply With Quote
Old 06-16-06, 11:03 PM   #3
dirk5673
Registered User
 
Join Date: Mar 2006
Posts: 27
Default Re: Individual gamma settings with twinview

I've done this before.What I did was run
nvidia-xconfig --separate-x-screens --xinerama
if you want twinviw then use --twinview
then in my xorg config in the Monitor sections add the gamma line
For example:
Section "Monitor"
Identifier "Monitor1"
HorizSync 30.0 - 68.0
VertRefresh 50.0 - 150.0
Gamma 3.5 3.5 4.0
Option "DPMS"
EndSection
That worked for me.
dirk5673 is offline   Reply With Quote
Old 06-18-06, 05:35 AM   #4
sharky0815
Registered User
 
Join Date: Jun 2006
Posts: 3
Default Re: Individual gamma settings with twinview

I must be missing something because, using the nvidia-xsettings commands you provided, I only get one Monitor Section. Also, I see no way of implementing a second Monitor somewhere. Using twinview, the second monitors properties would be defined in the "device" Section, via SecondMonitorHorizSync etc. Thats why I think there has to be a SecondMonitorGamma option or similiar.

I hope that I am wrong though. Dirk, it would be really nice if you could post a configuration like the one you are talking about.
sharky0815 is offline   Reply With Quote
Old 06-18-06, 09:10 PM   #5
dirk5673
Registered User
 
Join Date: Mar 2006
Posts: 27
Default Re: Individual gamma settings with twinview

Sure,here it is
EDIT:I think what I did was
nvidia-xconfig --separate-x-screens
then
nvidia-xconfig --xinerama

Code:
#On this one,I did 
#nvidia-xconfig --separate-x-screens
#then
#nvidia-xconfig --xinerama

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Mar 29 14:43:26 PST 2006

# xorg.conf (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Default Screen" 0 0
    Screen      1  "Default Screen (2nd)" RightOf "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

			# local font server
	# if the local font server has problems, we can fall back on these
    FontPath        "unix/:7100"
    FontPath        "/usr/lib/X11/fonts/misc"
    FontPath        "/usr/lib/X11/fonts/cyrillic"
    FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/Type1"
    FontPath        "/usr/lib/X11/fonts/CID"
    FontPath        "/usr/lib/X11/fonts/100dpi"
    FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "dbe"
    Load           "ddc"
    Load           "evdev"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "record"
    Load           "type1"
    Load           "vbe"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "Emulate3Buttons" "false"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 68.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    HorizSync       30.0 - 68.0
    VertRefresh     50.0 - 150.0
    Gamma           3.5 3.5 4
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV43 [GeForce 6600LE]"
    Driver         "nvidia"
    BoardName      "GeForce 6600 LE"
    BusID          "PCI:5:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV43 [GeForce 6600LE] (2nd)"
    Driver         "nvidia"
    BoardName      "GeForce 6600 LE"
    BusID          "PCI:5:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV43 [GeForce 6600LE]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "UseFBDev" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Default Screen (2nd)"
    Device         "NVIDIA Corporation NV43 [GeForce 6600LE] (2nd)"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "UseFBDev" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
dirk5673 is offline   Reply With Quote
Old 06-19-06, 04:16 AM   #6
sharky0815
Registered User
 
Join Date: Jun 2006
Posts: 3
Default Re: Individual gamma settings with twinview

OK, I see, that's about the same setup I am using right now. The problem is that it is not using nvidia's twinview function and therefore sacrifices speed. See this link at phoronix for more information.

So, the main difference is that xinerama works with two seperate "monitor" sections and twinview defines the second monitors property only in the "device" section, circumventing traditional X layout and options. I've got no problem with this, but it eliminates the possibility of adjusting gamma seperately.

Thank you for your setup, it allows to set independent gamma. And until nvidia implements some way to do this while using twinview it is the way to go.
sharky0815 is offline   Reply With Quote
Old 06-19-06, 09:08 AM   #7
herbo
Registered User
 
Join Date: Jan 2006
Posts: 5
Default Re: Individual gamma settings with twinview

Yes indeed the xinerama method works, but tis not without drawbacks. The compositor on xfce4 goes bezerk and figuring out the monitor orientation is somewhat confusing.

Of course, my solution is just to bump up the gamma across both monitors and then lower the contrast/brightness on the lcd. Not perfect, but it works.
__________________
Herbo knows a lot more than Herbo thinks he knows.
herbo is offline   Reply With Quote
Old 05-16-10, 05:45 PM   #8
samuliko
Registered User
 
Join Date: May 2010
Posts: 2
Default Re: Individual gamma settings with twinview

Is this still impossible with Twinview?
samuliko is offline   Reply With Quote

Old 05-19-10, 07:32 AM   #9
samuliko
Registered User
 
Join Date: May 2010
Posts: 2
Default Re: Individual gamma settings with twinview

bump
samuliko 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
Twinview? ghorsepower NVIDIA Linux 2 10-11-02 12:46 PM
XF86Config for a Quadro4 without TwinView? Twirlip NVIDIA Linux 1 10-09-02 10:36 AM
Suse Linux 8.0 - Geforce 4 TwinView TA00 NVIDIA Linux 8 08-30-02 03:24 AM
Twinview with TV-out karlaugust NVIDIA Linux 10 08-28-02 04:20 PM
How do I configure TwinView on Dell Inspiron rutgerclaes NVIDIA Linux 6 08-01-02 03:20 AM

All times are GMT -5. The time now is 02:41 PM.


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