Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Nvidia] une histoire de frequence
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Mon Dec 11, 2006 9:52 am    Post subject: [Nvidia] une histoire de frequence Reply with quote

Bonjour,
Je m'occupe d'une salle (12pc) avec double boot fedora + gentoo.
Sur les Fedora (gnome 2.14) la frequence de rafraichissement est de 85Hz en 1280x1024 sur des ecrans CRT 19"
Sur les gentoo (gnome 2.14) la frequence est de 50Hz en 1280x1024. (par l'application Bureau -> Préférences -> Résolution de l'écran)
J'arrive a changer la frequence sous gentoo avec le logiciel de nvidia (settings) mais ca ne garde pas la config apres un reboot.
J'ai modifie mon xorg.conf en associant les fichiers de nvidia et de fedora mais ca ne change rien.
Merci pour vos conseils.

Code:
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "glx"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"


    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"


EndSection

Section "Extensions"    Option "Composite" "Enable"
    Option "RENDER" "Enable"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"

    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "fr"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mouse0"
    Option "Emulate3Buttons"
    Option "ZAxisMapping" "4 5"

EndSection
Section "Monitor"

    Identifier  "DELL"
    ModelName      "DELL M992"
    DisplaySize     320   240
    HorizSync       30.0 - 96.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"

EndSection


# Device configured by xorgconfig:

Section "Device"
    Identifier  "cvideo"
    Driver      "nvidia"
    VideoRam    131072
        Option  "RenderAccel"   "true"
        Option  "backingstore"  "true"
        Option  "NvAGP"         "3"
        Option  "AllowGLXWithComposite" "true"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 500/FX 600"
    # Insert Clocks lines here if appropriate
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "cvideo"
    Monitor     "DELL"
    DefaultDepth 24
    Option      "AddARGBGLXVisuals" "true"

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************


Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
   Mode 0666
EndSection
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Mon Dec 11, 2006 10:30 am    Post subject: Reply with quote

J'ai eu le souci avec les nvidia beta.
Avec les stables tout va bien.
Back to top
View user's profile Send private message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Mon Dec 11, 2006 10:36 am    Post subject: Reply with quote

En effet j'utilise les Beta de Nvidia
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Mon Dec 11, 2006 10:46 am    Post subject: Reply with quote

Dans ton xorg.conf, tente ce genre d'écriture :
Code:
Modes       "1280x1024@85"


Ca n'a pas marché chez moi mais j'avais vu que chez certains si ... :/

EDIT : merde, ou c'est "1280x1024_85", me rappelle pas :/

EDIT 2 : t'as aussi les modeline, mais j'ai jamais rien compris lol
Back to top
View user's profile Send private message
grosnours
Apprentice
Apprentice


Joined: 05 Jun 2006
Posts: 210
Location: Belgium

PostPosted: Mon Dec 11, 2006 11:28 am    Post subject: Reply with quote

Avec diff et grep, tu pourrais mettre en évidence les changements entre les configs fedora et gentoo.
_________________
grosnours
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Mon Dec 11, 2006 11:49 am    Post subject: Reply with quote

Temet wrote:


EDIT 2 : t'as aussi les modeline, mais j'ai jamais rien compris lol


Si ça t'empeche de dormir, y'a ça : http://easymamecab.mameworld.net/html/monitor1.htm ils en parlent à la page 6 mais c'est pas trop la peine de sauter les étapes. Moi j'ai toujours pas eu le courage de vraiment lire le truc, mais ça l'air bien foutu.
Back to top
View user's profile Send private message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Mon Dec 11, 2006 1:06 pm    Post subject: Reply with quote

Bon, je crois que c'est le gnome qui deconne. J'ai ajoute le metamodes avec nvidia-settings que j'ai integre dans mon xorg.conf.

Option "metamodes" "1280x1024_85 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"

Via l'interface de mon ecran, il m'indique bien que je suis en 1280x1024 en 85Hz
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Mon Dec 11, 2006 1:12 pm    Post subject: Reply with quote

Aller, bonne lecture :
on commence ici :
[Xorg] Modelines TFT

puis cher Xorg

enfin Xfree86
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Mon Dec 11, 2006 3:39 pm    Post subject: Reply with quote

Apres d'autres essais je reste en permance en 60Hz et non en 80Hz quand je me connecte sur ma session.
J'ai essaye modelines et metamode sans succes.
Dans mon Xorg.0.log a la fin j'ai :
(II) NVIDIA(0): Setting mode "1280x1024_60"
et une fois lancé Nvidia-drivers j'obtiens :
(II) NVIDIA(0): Setting mode "1280x1024_85+0+0"

Un truc bizarre, quand je quitte ma session pour gdm, le moniteur reste a une frequence de 85 et une fois dans ma session il repasse a 60.
Back to top
View user's profile Send private message
gulivert
l33t
l33t


Joined: 17 Jun 2004
Posts: 863
Location: Switzerland

PostPosted: Tue Dec 12, 2006 11:32 am    Post subject: Reply with quote

Donc si j'ai bien compris avec nvidia-setting, tu arrives faire les bons réglages ?

Alors pkoi pas charger nvidia-settings au démarage de ta session via "nvidia-settings -l" si je me souviens bien. Ceci devrait charger tes dernier réglages effectués sous nvidia-settings, le mettre dans ton Xsession ou xinitrc suivant t'as métode pour te loguer. :wink:
_________________
Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Tue Dec 12, 2006 12:27 pm    Post subject: Reply with quote

J'ai l'impression de me répéter mais bon...
HorizSync et VertRefresh sont inutiles dans 99% des cas (le 1% c'est pour les télés crt et encore...)

Code:
Option "UseEdidFreqs" "1"
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Tue Dec 12, 2006 3:51 pm    Post subject: Reply with quote

Et avec les pilotes NVIDIA, si tu veux profiter des outils qui utilisent l'extension XRandR (comme par exemple l'outil GNOME pour changer la résolution et la fréquence d'affichage), il faut désactiver le DynamicTwinView :

Code:
Section "Device"
[...]
Option      "DynamicTwinView" "false"
[...]
EndSection



Quote:
http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9631/README/appendix-d.html

When DynamicTwinView is disabled, the refresh rate reported through XRandR will be accurate, but NV-CONTROL clients such as nvidia-settings will not be able to dynamically manipulate the X screen's MetaModes. TwinView can still be configured from the X config file when DynamicTwinView is disabled.

_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum