|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Nov 2001
Città: (MI)
Messaggi: 1502
|
Nvidia, xorg e dual monitor
Ciao a tutti,
magari a qualcuno è già capitato e sa darmi una dritta. Mi piacerebbe che il pc con Rosa Linux R8, Kde 4.14, xorg 1.17... con una Nvidia GTX 460 (driver proprietari 361.42) collegata via hdmi ad un tv Philips e via DVI ad un monitor Samsung alla partenza o durante l'uso automatizzasse (il più possibile) l'abilitazione del external monitor (Philips). Allo stato attuale sono riuscito solo ad aver sempre il dual monitor attivo, anche quando il tv è spento, con lo svantaggio che non essendo acceso non vedo eventuali finestre che si aprono lì. Oppure riesco a partire normalmente con solo il monitor Samsung, quindi per attivare il monitor esterno devo aprire nvidia-settings ed abilitare il secondo monitor, peccato che poi per via di un bug di tearing dovrei pure passargli dei metamodes via linea di comando e la cosa non mi piace... C'è qualcuno che è riuscito a rendere automatica la cosa? Per lo meno vorrei che non si abilitasse il secondo monitor all'avvio nel caso in cui questo sia spento. Questo l'attuale xorg.conf Codice:
$ cat xorg.conf # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 361.42 ([email protected]) Wed May 4 21:02:21 UTC 2016 # File generated by XFdrake (rev 262502) # File generated by XFdrake (rev 262502) # File generated by XFdrake (rev 262502) # ********************************************************************** # Refer to the xorg.conf man page for details about the format of # this file. # ********************************************************************** Section "ServerLayout" Identifier "layout1" Screen "screen1" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Module" Load "glx" EndSection Section "ServerFlags" Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort) Option "allowmouseopenfail" # allows the server to start up even if the mouse does not work #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching) EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" # Monitor preferred modeline (59.9 Hz vsync, 55.9 kHz hsync, ratio 16/10, 89 dpi) Identifier "monitor1" VendorName "Samsung" ModelName "Samsung SyncMaster 931BF (DVI)" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934 +hsync -vsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 ModeLine "1440x900_120" 229.75 1440 1552 1712 1984 900 901 904 965 -hsync +vsync ModeLine "1440x900_100" 187.55 1440 1544 1704 1968 900 901 904 953 -hsync +vsync ModeLine "1440x900_85" 156.79 1440 1536 1696 1952 900 901 904 945 -hsync +vsync ModeLine "1440x900_75" 136.49 1440 1536 1688 1936 900 901 904 940 -hsync +vsync ModeLine "1440x900_60" 106.47 1440 1520 1672 1904 900 901 904 932 -hsync +vsync ModeLine "1440x900_50" 87.41 1440 1512 1664 1888 900 901 904 926 -hsync +vsync ModeLine "1280x800_120" 181.21 1280 1376 1520 1760 800 801 804 858 -hsync +vsync ModeLine "1280x800_100" 147.89 1280 1376 1512 1744 800 801 804 848 -hsync +vsync ModeLine "1280x800_85" 123.38 1280 1368 1504 1728 800 801 804 840 -hsync +vsync ModeLine "1280x800_75" 107.21 1280 1360 1496 1712 800 801 804 835 -hsync +vsync ModeLine "1280x800_60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync ModeLine "1280x800_50" 68.56 1280 1336 1472 1664 800 801 804 824 -hsync +vsync EndSection Section "Device" Identifier "device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 460" Option "TripleBuffer" "True" Option "NoLogo" "1" Option "Coolbits" "4" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultDepth 24 Option "AddARGBGLXVisuals" Option "metamodes" "DVI-I-2: nvidia-auto-select +0+0 { ForceCompositionPipeline = On }, HDMI-0: nvidia-auto-select +1440+0 { ForceCompositionPipeline = On }; DVI-I-2: nvidia-auto-select +0+0 { ForceCompositionPipeline = On }, HDMI-0: NULL" Option "DynamicTwinView" "false" Option "DPMS" Option "TwinViewOrientation" "Clone" Option "TwinView" Option "SLI" "Off" Option "MultiGPU" "Off" Option "BaseMosaic" "off" SubSection "Display" Depth 8 Modes "1440x900" "1280x800" EndSubSection SubSection "Display" Depth 15 Modes "1440x900" "1280x800" EndSubSection SubSection "Display" Depth 16 Modes "1440x900" "1280x800" EndSubSection SubSection "Display" Depth 24 Modes "1440x900" "1280x800" EndSubSection EndSection
__________________
"Dite di amare i vostri figli più di ogni cosa invece gli state rubando il futuro" - AMD Phenom II X6 1090T, Asus M3A78-CM, 8GB Ram, GTX460 OC 1GB, CentOS 7.9 |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Nov 2001
Città: (MI)
Messaggi: 1502
|
Ottimo, con la nuova release dei driver è un po' più facile.
Codice:
$ rpm -qa|grep -i nvidia nvidia-additional-settings-1-3-rosa2014.1.noarch dkms-nvidia375-375.26-2-rosa2014.1.x86_64 x11-driver-video-nvidia375-375.26-2-rosa2014.1.x86_64 nvidia375-doc-html-375.26-2-rosa2014.1.x86_64
__________________
"Dite di amare i vostri figli più di ogni cosa invece gli state rubando il futuro" - AMD Phenom II X6 1090T, Asus M3A78-CM, 8GB Ram, GTX460 OC 1GB, CentOS 7.9 |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 10:44.


















