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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-16-08, 05:33 AM   #1
Ux64
Registered User
 
Ux64's Avatar
 
Join Date: Aug 2008
Posts: 11
Default Ubuntu 8.04 64bit: How to set secondary screen contrast? - 8500GT Component

Ubuntu Hardy Heron 64 bit. Nvidia 8500GT. I have now everything working, except that display adapter is using by default too much contrast.

I have two X Screens and I'm using Xinerama config.

But I'm unable to set contrast for secondary screen. I wonder how that can be done.

I think I have tried everything, but I still fail. And usually get error like:

Code:
ERROR: Invalid X Screen 1 specified on line 57 of configuration file
       '.nvidia-settings-rc' (there is only 1 X Screen on this
       Display).
What I should specify on that line? Old line started with 0 so I added contrast configuration with prefix 1.

Here is my Nvidia-Settings configuration screen:
http://img139.imageshack.us/my.php?i...ettingsoi2.png

TV-0 is the screen #1 and I should lower contrast by something like 10%.

I tried it using row:

Code:
1/RedContrast=-0.100000
1/GreenContrast=-0.100000
1/BlueContrast=-0.100000
xorg important parts:

Code:
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 1600 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

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

Section "Monitor"
    Identifier     "Generic Monitor"
    VendorName     "Generic CRT Display"
    ModelName      "Monitor 1600x1200"
    HorizSync       31.5 - 107.5
    VertRefresh     50.0 - 85.0
    Gamma           1
    ModeLine       "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    Option         "DPMS"
    Option         "OffTime" "5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "FUS P20-2"
    HorizSync       30.0 - 82.0
    VertRefresh     51.0 - 75.0
    Option         "DPMS"
    Option         "OffTime" "5"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       30.0 - 82.0
    VertRefresh     51.0 - 75.0
    Option         "DPMS"
    Option         "OffTime" "5"
EndSection

Section "Device"
    Identifier     "nVidia Corporation G80 [GeForce 8500 GT]"
    Driver         "nvidia"
    BoardName      "nv"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8500 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8500 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation G80 [GeForce 8500 GT]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Virtual     3520 1200
        Depth       24
        Modes      "1600x1200@75"
    EndSubSection
EndSection

Section "Screen"

# Removed Option "TwinView" "1"
# Removed Option "metamodes" "TV: 1920x1080 +1600+0, DFP: 1600x1200 +0+0"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TVStandard" "HD1080i"
    Option         "TVOutFormat" "COMPONENT"
    Option         "UseDisplayDevice" "TV"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "TwinView" "0"
    Option         "metamodes" "TV: 1920x1080 +0+0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: 1600x1200 +0+0"
EndSection
I have tried Ubuntu Forums, Ubuntu Finland etc sites. Nobody seems to know, if it's even possible? It should afaik!
Ux64 is offline   Reply With Quote
Old 08-23-08, 12:00 PM   #2
Ux64
Registered User
 
Ux64's Avatar
 
Join Date: Aug 2008
Posts: 11
Default Re: Ubuntu 8.04 64bit: How to set secondary screen contrast? - 8500GT Component

Bump!
Ux64 is offline   Reply With Quote
Old 09-04-08, 04:58 AM   #3
Ux64
Registered User
 
Ux64's Avatar
 
Join Date: Aug 2008
Posts: 11
Red face Re: Ubuntu 8.04 64bit: How to set secondary screen contrast? - 8500GT Component

Bump again!
Ux64 is offline   Reply With Quote
Old 09-04-08, 05:03 AM   #4
apaige
Registered User
 
Join Date: Apr 2008
Posts: 106
Default Re: How to set secondary screen contrast? - 8500GT Component

Try ":0.1/RedContrast=-0.100000" or whatever your $DISPLAY value is for that screen…
apaige is offline   Reply With Quote
Old 09-10-08, 07:06 AM   #5
Ux64
Registered User
 
Ux64's Avatar
 
Join Date: Aug 2008
Posts: 11
Default Re: How to set secondary screen contrast? - 8500GT Component

Quote:
Originally Posted by apaige View Post
Try ":0.1/RedContrast=-0.100000" or whatever your $DISPLAY value is for that screen…
Doesn't seem to be working either. This badly looks like I need to buy Windows Vista because it provides a lot better image quality.
Ux64 is offline   Reply With Quote
Old 09-14-08, 01:05 PM   #6
hvengel
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: How to set secondary screen contrast? - 8500GT Component

You only have one logical display since that is how you have your xorg.conf setup. So how could you expect to do things like gamma settings on the second display? You are not really using xinerama and in fact are likely using twineview in spite of what the settings for twinview are in the xorg.conf file. In other words you have it missconfigured. For a true xinerama setup you need something like this:

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "ServerFlags"
  Option "Xinerama" "true"
EndSection

Section "Monitor"
    Identifier     "Samsung"
    VendorName     "Samsung"
    ModelName      "245BW"
    DisplaySize    524 330     
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Dell"
    VendorName     "Dell"
    ModelName      "P1130"
    DisplaySize     400    300
    HorizSync       30.0 - 130.0
    VertRefresh     40.0 - 170.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7950 GT"
    Option         "AllowDDCCI" "true"
    Option         "UseEvents" "false"
    Option         "RenderAccel" "true"
    Option         "UseEdidDpi" "true"
    Option         "OnDemandVBlankInterrupts" "true"
    BusID          "PCI:3:0:0"
    Screen          0
    Option         "UseDisplayDevice" "DFP"
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7950 GT"
    Option         "AllowDDCCI" "true"
    Option         "UseEvents" "false"
    Option         "RenderAccel" "true"
    Option         "UseEdidDpi" "true"
    Option         "OnDemandVBlankInterrupts" "true"
    BusID          "PCI:3:0:0"
    Screen          1
    Option         "UseDisplayDevice" "CRT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Samsung"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1920x1200"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Dell"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes "1600x1200"     
    EndSubSection
EndSection
Notive that it defines two monitor section, two screen sections and two video card device sections and then in the server section it tells X11 how to position these two devices. The above is from a working xinerama setup that allows access to configure each monitors video card gamma table seperately (which is really what you are asking about). The device specific details will likely need to be different for your hardware.
hvengel is offline   Reply With Quote
Old 10-02-08, 03:18 AM   #7
Ux64
Registered User
 
Ux64's Avatar
 
Join Date: Aug 2008
Posts: 11
Default Re: Ubuntu 8.04 64bit: How to set secondary screen contrast? - 8500GT Component

I disabled Xinerama now I got contrast issue solved. It wasn't simply possible to set OUTPUT contrast, which sucks. It would require using separate screen. But now I got range of new issues.


A) First how I best use two different work spaces?

It seems to be bit funny arragement. It's not one work space, and it isn't either completely two different work spaces.

I would like to solve this issue. I would be nice to have two completely different work spaces. Allowing different users to be logged on. Using their own controls.

B) UI is just darn slow on screen 0, opening drop down menus or any new windows takes about 2 seconds. Which is SLOW! If I open that font selection drop down menu on this window, it'll take two seconds to open up. Or font size window or any other window. I wonder what is causing this issue. Too slow display adapter, I don't think so? Bad drivers or some bug in UI code? Maybe? Dunno. You tell me. But the problem is very clear.

C) Tearing issue hasn't been ever solved. It seems that VLC Xvideo and Nvidia controllers can't properly output synchronized video image. Unfortunately.

D) 8500GT doesn't support non-interlaced full hd. In some cases this causes very bad interlace effects... But in most of cases it's not a problem.

Phew. Still some problems to be solved.

Btw. It was required to drasticly lower color levels on TV. New televisions just got too bright colors.
Ux64 is offline   Reply With Quote
Old 10-02-08, 03:20 AM   #8
Ux64
Registered User
 
Ux64's Avatar
 
Join Date: Aug 2008
Posts: 11
Default Re: How to set secondary screen contrast? - 8500GT Component

Quote:
So how could you expect to do things like gamma settings on the second display?
True. It depends how you think the logic. I just want to modify output values for different video interfaces. It shouldn't matter what kind of logic is behind image production. Is it one big desktop or multiple smaller ones.

It seems that Xorg and Nvidia driver doesn't allow you to change settings / output.
Ux64 is offline   Reply With Quote

Old 10-02-08, 12:04 PM   #9
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Ubuntu 8.04 64bit: How to set secondary screen contrast? - 8500GT Component

Quote:
Originally Posted by Ux64 View Post
B) UI is just darn slow on screen 0, opening drop down menus or any new windows takes about 2 seconds. Which is SLOW! If I open that font selection drop down menu on this window, it'll take two seconds to open up. Or font size window or any other window. I wonder what is causing this issue. Too slow display adapter, I don't think so? Bad drivers or some bug in UI code? Maybe? Dunno. You tell me. But the problem is very clear.
Sounds like a bug in Compiz that I fixed a couple of months ago.

Quote:
Originally Posted by Ux64 View Post
C) Tearing issue hasn't been ever solved. It seems that VLC Xvideo and Nvidia controllers can't properly output synchronized video image. Unfortunately.
Try not using Compiz (i.e. "desktop effects"). Composite managers interfere with the driver's ability to sync to vblank.
AaronP is offline   Reply With Quote
Old 10-05-08, 03:50 AM   #10
Ux64
Registered User
 
Ux64's Avatar
 
Join Date: Aug 2008
Posts: 11
Default Re: Ubuntu 8.04 64bit: How to set secondary screen contrast? - 8500GT Component

Quote:
Originally Posted by AaronP View Post
Sounds like a bug in Compiz that I fixed a couple of months ago.
Composite managers interfere with the driver's ability to sync to vblank.
Two excellent answers. Thank you very much! Both my problems are fixed now.

Edit: Confirmation, both problems are now fixed. - Thank you so much!
Ux64 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
Stubborn screen res problem Alpsoandso NVIDIA Linux 6 05-03-12 06:00 PM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM

All times are GMT -5. The time now is 10:34 PM.


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