NVidia on Compaq presario and video output

François Patte francois.patte at math-info.univ-paris5.fr
Wed Dec 12 22:06:12 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Marques a écrit :
> François Patte escribió:
>>
>> Yes you will have to. There are 2 problems (as far as I can see on my
>> laptop (Toshiba qosmio)):
> 
> Did you configure xorg.conf by hand or did you use the nvidia-setting tool?

By hand.

> 
>> 1- toggle LCD only, beamer Only, both. This is done with some Fn-F* key
>> and this must be done *before* loading the nvidia driver ie. you have to
>> do it during the "grub" sequence.
> 
> This didn't work for me. :-(

At least it should work during BIOS sequence... did you try to put a
looooooong  time for grub before booting the default OS?

nvidia card gives priority to "CRT", the external display, so, if you
plug an external screen/beamer, the display is on this one by default.
Try to put a long time before booting in grub.conf then, once you get
the display on your external device toggle the Fn-F* keys. On my laptop
this is done using Fn-F5 and I get this cycle:

CRT-->LCD-->nothing-nowhere(?)-->LCD-->LCD+CRT (at last)

On dell laptop this is Fn-F8, on compaq, I don't know.

> 
>> 2- you must have a specific xorg.conf with twinview enabled.
> 
> Ahhh.

Here are the modified sections:

Section "Monitor"
    Identifier     "Monitor0"
    ModelName      "LCD Panel 1024x768"
    HorizSync       31.5 - 50.0
    VertRefresh     56.0 - 65.0
    Option         "dpms"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    Option         "TwinView" "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "ExactModeTimingsDVI" "TRUE"
    Option         "ModeValidation" "DFP-0: NoVesaModes"
    Option         "TwinViewOrientation" "Clone"
    Option         "MetaModes" "CRT-0: 1024x768, DFP-0: 1024x768"
    Option         "HorizSync"   "CRT-0: 50-100;  DFP-0: 31.5-50"
    Option         "VertRefresh" "CRT-0: 60-120;  DFP-0: 60"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection


Comments.

1- You must be careful with HorizSync and VertRefresh values you could
destroy your panel with wrong values...

2- As I said, CRT stands for "external device" even if it is a LCD panel.

3- I put for CRT common ranges for beamers.

4- Option "TwinView" "True" does the job for 2 displays

5- Option  "TwinViewOrientation" "Clone" means that you have exactly the
same display on both devices.

6- Other options are not specific to twinview...

7- Resolutions: I have a 1280x800 LCD panel on my laptop, I force both
devices to use a 1024x768 resolution because it is the standard for most
beamer. With these settings, I get a centered diplay on my laptop screen
with 1024x768 resolution, and a full display on the beamer and no parts
of both screens are hidden.

My laptop is a Toshiba qosmio F20 with NVIDIA GPU GeForce Go 6600 video
card.

Here is how I use this: I made two xorg.conf files in /etc/X11: one is
xorg.conf-normal, the other: xorg.conf-beamer (I think that what is
inside each is quite understable...)

I put two kernel entries in grub.conf:

title Fedora (2.6.23.1-49_1.fc8 normal)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.23.1-49_1.fc8 ro normal root=LABEL=/ \
rhgb quiet
        initrd /boot/initrd-2.6.23.1-49_1.fc8.img
title Fedora (2.6.23.1-49_1.fc8 beamer)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.23.1-49_1.fc8 ro beamer root=LABEL=/ \
rhgb quiet
        initrd /boot/initrd-2.6.23.1-49_1.fc8.img

During the boot sequence I toggle the arrow keys in order to stop the
grub default time. Once I get the display on the beamer (which set by
default for nvidia chips), I toggle my Fn-F5 keys upto get both display,
then I choose the grug entry with beamer option.


*And* in my /etc/rc.local file I added this:

ECRAN=`cat /proc/cmdline | cut -d" " -f2`
if [ "$ECRAN" = "beamer" ]; then
    cp /etc/X11/xorg.conf-beamer /etc/X11/xorg.conf
else
    cp /etc/X11/xorg.conf-normal /etc/X11/xorg.conf
fi

So, the "adequat" xorg.conf file is used....

That's it.

Hope this help.

- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 44 55 35 61
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHYFtUdE6C2dhV2JURAv4xAJwN+UfSUb6vlS758MDozY7rOHRQmACgiBwi
ySpYx1ZlDQPCbAWHMGogdRY=
=TQju
-----END PGP SIGNATURE-----




More information about the users mailing list