View Single Post
Old 05-24-11, 02:44 AM   #1
Registered User
Join Date: Mar 2006
Location: Between Milan and Pavia, Italy
Posts: 5
Default gnome 3 and metamodes settings help reguired

trying final Fedora 15 x86_64 and its gnome 3.
kernel is
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):

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

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

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
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:

[    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:

[   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:

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,
tekkanv is offline   Reply With Quote