Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] maplyer e dual-screen (nvidia-amd64-dvi-16:9)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Thu May 25, 2006 4:34 pm    Post subject: [RISOLTO] maplyer e dual-screen (nvidia-amd64-dvi-16:9) Reply with quote

grande fatica.... grandissima... ma quasi ci sono, chiedo a voi ora come sia possibile, (o forse non lo è), fan andare il medesimo filmato di mplayer su due schermi diversi in contemporanea?


la situazione è la seguente:

-> scheda video: Nvidia GeForce 6200 PCI-E con doppia uscita:

----------> VGA collegata ad un proiettore 1280x720

----------> DVI collegata ad un lcd 1280x1024



allora... su vga ho un 16:9 e sul dvi ho un 4:3, l'ideale sarebbe usare l'opzione twinview di nvidia... peccato però che non mi supporti la risoluzione del proiettore. le altre risoluzioni si (quasi, in realtà non mi và lcd a più di 1024x768).

attualmente ho configurato così xorg:


Code:

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

Section "Module"
        Load        "dbe"       # Double buffer extension
                SubSection  "extmod"
                        Option    "omit xfree86-dga"
                EndSubSection
        Load        "type1"
        Load        "freetype"
        Load       "glx"
EndSection

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

Section "Files"
        RgbPath "/usr/X11R6/lib/X11/rgb"
        FontPath   "/usr/share/fonts/misc/"
        FontPath   "/usr/share/fonts/TTF/"
        FontPath   "/usr/share/fonts/Type1/"
        FontPath   "/usr/share/fonts/75dpi/"
        FontPath   "/usr/share/fonts/100dpi/"
        FontPath   "/usr/share/fonts/local/"
EndSection

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

Section "ServerFlags"
        Option      "Xinerama"      "false"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

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

Section "InputDevice"
        Identifier      "Keyboard1"
        Driver  "kbd"
        Option "AutoRepeat" "500 30"
        Option "XkbRules"       "xorg"
        Option "XkbModel"       "pc101"
        Option "XkbLayout"      "it"
EndSection

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

Section "InputDevice"
        Identifier      "Mouse1"
        Driver  "mouse"
        Option "Protocol"    "IMPS/2"
        Option "Device"      "/dev/input/mice"
        Option "ZAxisMapping" "4 5"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
        Identifier      "Monitor[VGA]"
        HorizSync       15-80
        VertRefresh     48-100
        UseModes        "Modes0"
EndSection

Section "Monitor"
        Identifier      "Monitor[DVI]"
        HorizSync       30-83
        VertRefresh     56-75
        UseModes        "Modes1"
EndSection

Section "Modes"
        Identifier      "Modes0"
        Modeline        "1280x720@60" 73.78 1280 1312 1592 1624 720 735 742 757
        Modeline        "1280x720@50" 59.42 1280 1312 1536 1568 720 735 741 757
EndSection

Section "Modes"
        Identifier      "Modes1"
        Modeline        "1280x1024@75" 156.43 1280 1312 1904 1936 1024 1043 1056  1076
        Modeline        "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055  1076

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
        Identifier      "Device[VGA]"
        Driver          "nvidia"
        VideoRam        131072
        VendorName      "nVidia Corp."
        BusID           "PCI:1:0:0"
        Screen          0
        Option          "RenderAccel" "true"
        Option          "NoLogo" "true"
        Option          "ConnectedMonitor" "Monitor[VGA]"
EndSection

Section "Device"
        Identifier      "Device[DVI]"
        Driver          "nvidia"
        VideoRam        131072
        VendorName      "nVidia Corp."
        BusID           "PCI:1:0:0"
        Screen          1
        Option          "RenderAccel" "true"
        Option          "NoLogo" "true"
        Option          "ConnectedMonitor" "Monitor[DVI]"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
        Identifier  "Screen[VGA]"
        Device      "Device[VGA]"
        Monitor     "Monitor[VGA]"
        DefaultDepth 24

        Subsection "Display"
                Depth       24
                Modes       "1280x720@60"
                ViewPort    0 0
        EndSubsection
EndSection

Section "Screen"
        Identifier  "Screen[DVI]"
        Device      "Device[DVI]"
        Monitor     "Monitor[DVI]"
        DefaultDepth 24

        Subsection "Display"
                Depth       24
                Modes       "1280x1024@60"
                #ViewPort    0 0
        EndSubsection
EndSection

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

Section "ServerLayout"
        Identifier  "Simple Layout"
        Screen 0 "Screen[VGA]"
        Screen 1 "Screen[DVI]" RightOf "Screen[VGA]"
        InputDevice "Mouse1" "CorePointer"
        InputDevice "Keyboard1" "CoreKeyboard"
EndSection


ma così facendo ho due desktop separati.... e quando lancio mplayer mi parte da una parte sola.


qualche dritta? :wink:


grazie


(ps. spero di non essermi perso qualche post che ne parlava...)


Last edited by Ciccio Bueo on Sat May 27, 2006 1:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
u238
Guru
Guru


Joined: 04 Mar 2005
Posts: 373

PostPosted: Fri May 26, 2006 7:21 am    Post subject: Reply with quote

puoi sempre aprire mplayer 2 volte, uno per ogni desktop :P
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Sat May 27, 2006 1:50 pm    Post subject: Reply with quote

u238 wrote:
puoi sempre aprire mplayer 2 volte, uno per ogni desktop :P


no, perchè sto usando dei filmati in HD e sarebbe una mazzata per il procio.


comunque ho risolto così: (dopo infinite prove! :wink: )


Code:

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

Section "Module"
   Load        "dbe"     # Double buffer extension
          SubSection  "extmod"
               Option    "omit xfree86-dga"
          EndSubSection
       Load        "type1"
       Load        "freetype"
       Load       "glx"
EndSection

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

Section "Files"
   RgbPath   "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/share/fonts/misc/"
       FontPath   "/usr/share/fonts/TTF/"
       FontPath   "/usr/share/fonts/Type1/"
   FontPath   "/usr/share/fonts/75dpi/"
       FontPath   "/usr/share/fonts/100dpi/"
       FontPath   "/usr/share/fonts/local/"
EndSection

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

Section "ServerFlags"
   Option      "Xinerama"      "false"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

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

Section "InputDevice"
       Identifier   "Keyboard1"
       Driver   "kbd"
       Option "AutoRepeat" "500 30"
       Option "XkbRules"   "xorg"
       Option "XkbModel"   "pc101"
       Option "XkbLayout"   "it"
EndSection

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

Section "InputDevice"
       Identifier   "Mouse1"
       Driver   "mouse"
       Option "Protocol"    "IMPS/2"
       Option "Device"      "/dev/input/mice"
       Option "ZAxisMapping" "4 5"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
       Identifier     "Monitor[VGA]"
       HorizSync      15-80
       VertRefresh    48-100
   UseModes        "Modes0"
EndSection

Section "Monitor"
       Identifier     "Monitor[DVI]"
       HorizSync      30-83
       VertRefresh    56-75
   UseModes        "Modes1"
EndSection

#1280x720 HT300
Section "Modes"
   Identifier      "Modes0"
   Modeline        "1280x720@60" 73.78 1280 1312 1592 1624 720 735 742 757
   Modeline        "1280x720@50" 59.42 1280 1312 1536 1568 720 735 741 757
EndSection

#1280x1024 LG
Section "Modes"
   Identifier      "Modes1"
   Modeline        "1280x1024@75" 156.43 1280 1312 1904 1936 1024 1043 1056 1076
   Modeline        "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
   
EndSection

# **********************************************************************
# Graphics device section ----- [DUAL DESKTOP]
# **********************************************************************

#Section "Device"
#       Identifier     "Device[VGA]"
#      Driver         "nvidia"
#       VideoRam       131072
#       VendorName     "nVidia Corp."
#   BusID           "PCI:1:0:0"
#       Screen         0
#       Option         "RenderAccel" "true"
#   Option         "NoLogo" "true"
#   Option          "ConnectedMonitor" "Monitor[VGA]"
#EndSection

#Section "Device"
#       Identifier     "Device[DVI]"
#      Driver         "nvidia"
#       VideoRam       131072
#       VendorName     "nVidia Corp."
#   BusID           "PCI:1:0:0"
#       Screen         1
#       Option         "RenderAccel" "true"
#   Option         "NoLogo" "true"
#   Option          "ConnectedMonitor" "Monitor[DVI]"
#EndSection

# **********************************************************************
# Graphics device section ----- [CLONE DESKTOP]
# **********************************************************************

Section "Device"
       Identifier  "Device[VGA]"
      Driver      "nvidia"
       VideoRam    131072
       VendorName  "nVidia Corp."
       Screen      0
       Option      "RenderAccel"
       Option      "TwinView" "true"
#       Option      "MetaModes"  "1280x720,1280x720"
       Option      "TwinViewOrientation"      "clone"
#       Option      "SecondMonitorHorizSync"  "18 - 80"
#       Option      "SecondMonitorVertRefresh" "48-100"
   Option      "NoLogo" "true"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
       Identifier  "Screen[VGA]"
       Device      "Device[VGA]"
       Monitor     "Monitor[VGA]"
       DefaultDepth 24

       Subsection "Display"
           Depth       24
      Modes       "1280x720@60"
           ViewPort    0 0
       EndSubsection
EndSection

#Section "Screen"
#       Identifier  "Screen[DVI]"
#       Device      "Device[DVI]"
#       Monitor     "Monitor[DVI]"
#       DefaultDepth 24

#       Subsection "Display"
#           Depth       24
#      Modes       "1280x1024@60"
#           #ViewPort    0 0
#       EndSubsection
#EndSection

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

Section "ServerLayout"
       Identifier  "Simple Layout"
          Screen 0 "Screen[VGA]"
#   Screen 1 "Screen[DVI]" RightOf "Screen[VGA]"
       InputDevice "Mouse1" "CorePointer"
       InputDevice "Keyboard1" "CoreKeyboard"
EndSection





praticamente ora il formato nativo è 16:9 1280x720 in modalità CLONE, se però sono attaccati schermi con geometrie diverse. l'immagine si stringe. (prima invece il moniotr diverso non andava...) :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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