nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   gnome 3 and metamodes settings help reguired (http://www.nvnews.net/vbulletin/showthread.php?t=162785)

tekkanv 05-24-11 02:44 AM

gnome 3 and metamodes settings help reguired
 
Hello,
trying final Fedora 15 x86_64 and its gnome 3.
kernel is 2.6.38.6-27.fc15.x86_64
nvidia bits version is xorg-x11-drv-nvidia-270.41.06-1.fc15.x86_64 provided bt rpmfusion

The system is a Dell laptop, XPS M1330. Video adapter is:
01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400M GS] (rev a1)

I would like to configure automatically so that I can have an external monitor to vga port or only laptop display.
Tipically I connect an external 19" monitor capable of 1280x1024.
My laptop instead has a 1280x800 resolution.
So reading the docs I thought to configure this way (only omitting the "InputDevice" sections):

Code:

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option        "Xinerama" "0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce 8400M GS"
    Option        "NoLogo" "True"
    Option        "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    DefaultDepth    24
    Option        "TwinView" "1"
    Option "MetaModes" "CRT-0: 1280x1024 +0+0, DFP-0: 1280x800 +0+1024; CRT-0: NULL, DFP-0: 1280x800; CRT-0: 1280x1024 +0+0, DFP-0: NULL"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection

When using only laptop it is ok.
When starting the system with the monitor connected too, I get video on both devices with the login box in my laptop section and this in Xorg.0.log when arriving at gdm login window, so it seems good:

Code:

[    35.200] (**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[    35.200] (--) Depth 24 pixmap format is 32 bpp
[    35.200] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[    35.223] (II) NVIDIA(0): Setting mode "CRT-0:1280x1024+0+0,DFP-0:1280x800+0+1024"
[    35.559] (II) Loading extension NV-GLX


After selecting user and inserting the password, I get the crt monitor going to sleep and black and the video only on laptop.
At the same time I get this in log file:

Code:

[  333.271] (II) NVIDIA(0): Setting mode "CRT-0:NULL,DFP-0:1280x800"
I then can set the overall 1280x1824 resolution or by pressing
Fn+F8 keys
or with command:

Code:

xrandr -s 1280x1824
Also, I noticed the problem that while the crt (so the top part) windows are placed in accord to the desktop numeber where they are put, the windows that are inside the laptop part video are always present, so don't respect desktop number....

I would like to fix these two issues if one could help comme nting on my config.
Thanks in advance,
Gianluca

tekkanv 05-26-11 04:59 AM

Re: gnome 3 and metamodes settings help reguired
 
BTW: if I start gnome3 in fallback mode, Ihave no more the second problem:
"
Also, I noticed the problem that while the crt (so the top part) windows are placed in accord to the desktop number where they are put, the windows that are inside the laptop part video are always present, so don't respect desktop number....
"

So it is somehow a problem of the compositing engine, not able to manage this.
But again I have to set the external monitor manually with the xrandr command.
Anyone there, using gnome 3 in any way with external monitor and proprietary drivers?

mocharhw 05-26-11 03:11 PM

Re: gnome 3 and metamodes settings help reguired
 
Maybe you have an .nvidia-settings.rc file loading a different config when Gnome starts up?

tekkanv 05-27-11 09:03 AM

Re: gnome 3 and metamodes settings help reguired
 
In my home dir I indeed have this (auto generated I suppose) file

Code:

# /home/gcecchi/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Tue May 17 11:04:44 2011
#

# ConfigProperties:

RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = Yes
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = Graphics_Card_(GPU_0),Yes,1000

# Attributes:

0/CursorShadow=0
0/CursorShadowAlpha=64
0/CursorShadowRed=0
0/CursorShadowGreen=0
0/CursorShadowBlue=0
0/CursorShadowXOffset=4
0/CursorShadowYOffset=2
0/SyncToVBlank=0
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/RedBrightness=0.000000
0/GreenBrightness=0.000000
0/BlueBrightness=0.000000
0/RedContrast=0.000000
0/GreenContrast=0.000000
0/BlueContrast=0.000000
0/RedGamma=1.000000
0/GreenGamma=1.000000
0/BlueGamma=1.000000
0/DigitalVibrance[DFP-0]=0
0/GPUScaling[DFP-0]=131073
0/OverscanCompensation[DFP-0]=0
0/ColorSpace[DFP-0]=0
0/ColorRange[DFP-0]=0
0/XVideoTextureBrightness=0
0/XVideoTextureContrast=0
0/XVideoTextureHue=0
0/XVideoTextureSaturation=0
0/XVideoTextureSyncToVBlank=1
0/XVideoSyncToDisplay=65536

The day is when I installed the system...
What to change? Can I completely delete it?
Any info document for understanding the parsing of its contents?
Thanks


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

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