Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xinerama with different resolutions
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jojoger
n00b
n00b


Joined: 28 Sep 2007
Posts: 2

PostPosted: Fri Sep 28, 2007 9:34 pm    Post subject: Xinerama with different resolutions Reply with quote

Hello Forum,
I'm trying and googeling now for about a year about the same Problem and didn't find a solution yet.
I have a Laptop with a screen which has 1024x768 resolution. At work I connect it to a second Monitor which has 1280x1024px. I use them both with Xinerama. I guess that's the only solution for the i810 onboard graphics Chip.
The Problem I have with that is that both monitors must have the same resolution and because Laptop has a lower, the other Monitor (a 19" TFT) must also have this low resolution and the picture looks quite ugly because of that.
You can already guess ;-) My Question: Is it possible to use two screens with different Resolution with Xinerama and how?
For information I'll post my xorg.conf at the end of this posting.

Thanks and best regards,
Joe

Code:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
   FontPath   "/usr/share/X11/fonts/misc"
   FontPath   "/usr/share/X11/fonts/cyrillic"
   FontPath   "/usr/share/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/X11/fonts/Type1"
   FontPath   "/usr/share/X11/fonts/100dpi"
   FontPath   "/usr/share/X11/fonts/75dpi"
   FontPath   "/usr/share/fonts/X11/misc"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "i2c"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "type1"
   Load   "vbe"
   Load   "dbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "de"
   Option      "XkbOptions"   "lv3:ralt_switch"
   Option      "XkbVariant"   "deadacute"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ExplorerPS/2"
   Option      "ZAxisMapping"      "4 5"
   Option      "Emulate3Buttons"   "true"
EndSection

Section "InputDevice"
   Identifier   "Synaptics Touchpad"
   Driver      "synaptics"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/psaux"
   Option "Protocol" "event"
        Option "LeftEdge" "130"
        Option "RightEdge" "840"
        Option "TopEdge" "130"
        Option "BottomEdge" "640"
        Option "FingerLow" "7"
        Option "FingerHigh" "8"
        Option "MaxTapTime" "180"
        Option "MaxTapMove" "110"
        Option "EmulateMidButtonTime" "75"
        Option "VertScrollDelta" "20"
        Option "HorizScrollDelta" "20"
        Option "MinSpeed" "0.60"
        Option "MaxSpeed" "1.10"
        Option "AccelFactor" "0.030"
        Option "EdgeMotionMinSpeed" "200"
        Option "EdgeMotionMaxSpeed" "200"
        Option "UpDownScrolling" "1"
        Option "CircularScrolling" "1"
        Option "CircScrollDelta" "0.1"
        Option "CircScrollTrigger" "2"
        Option "SHMConfig" "on"
        Option "Emulate3Buttons" "on"

EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
   Identifier   "tft_device"
   Driver      "i810"
   VendorName   "Videocard vendor"
   BoardName   "Intel 852"
   BusID      "PCI:0:2:0"
   Option       "Clone" "false
   Option      "DRI" "true"
   Option       "MonitorLayout" "CRT,LFP"
   Screen      0
EndSection

Section "Device"
   Identifier   "laptop_device"
   Driver      "i810"
   VendorName   "Videocard vendor"
   BoardName   "Intel 852"
   BusID      "0:2:0"
   Screen      1
EndSection

Section "Monitor"
   Identifier   "tft_monitor"
   VendorName   "Captiva"
   ModelName   "LCD Panel 1280x1024"
   Option      "DPMS"
   HorizSync   31.5 - 57.0
   VertRefresh   50.0-70.0
EndSection

Section "Monitor"
   Identifier   "laptop_monitor"
   VendorName   "Acer LFP LCD"
   ModelName   "LCD Screen 1024x768"
   HorizSync   28.0-51.0
   VertRefresh   43.0-60.0
   Option "DPMS"
EndSection

Section "Screen"
   Identifier   "tft_screen"
   Device      "tft_device"
   Monitor      "tft_monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      16
      Modes      "1280x1024"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1280x1024"
      EndSubSection
EndSection

Section "Screen"
   Identifier   "laptop_screen"
   Device      "laptop_device"
   Monitor      "laptop_monitor"
   DefaultDepth   24
   SubSection "Display"
      Viewport 0 0
      Depth 24
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Xinerama Layout"
   Screen      "tft_screen"
   Screen      "laptop_screen" RightOf "tft_screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice     "stylus" "SendCoreEvents"
   InputDevice     "cursor" "SendCoreEvents"
   InputDevice     "eraser" "SendCoreEvents"
   InputDevice   "Synaptics Touchpad" "AlwaysCore"
EndSection

Section "ServerFlags"
    Option      "Xinerama" "true"
EndSection

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


Joined: 25 Oct 2004
Posts: 306
Location: Limerick, Ireland

PostPosted: Sat Sep 29, 2007 12:48 am    Post subject: Reply with quote

I use Nvidia's Twinview in conjuction with Xinerama, and there's a property of the Screen section in my xorg.conf called meta modes which allows me to do just this.

Code:
Section "Screen"
        Identifier      "Screen-Auto"
        Device          "LCD"
        Monitor         "LCD-Panel"
        DefaultDepth    24
        Option          "Twinview" "1"
        Option          "metamodes" "CRT: 800x600 +1280+0, DFP: 1280x800 +0+0; CRT: 640x480 +1280+0, DFP: 1024x768 +0+0; DFP: 800x600 +0+0"
        SubSection "Display"
                Viewport        0 0
                Depth           24
                Modes           "1280x800" "1024x768" "800x600"
        EndSubSection
EndSection


Not sure if metamodes are a twinview or a xinerama thing though, I'd have to look it up, and it's nearly 3am right now...
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
jojoger
n00b
n00b


Joined: 28 Sep 2007
Posts: 2

PostPosted: Sat Sep 29, 2007 10:14 am    Post subject: Reply with quote

I tried the meta modes but it hadn't any effect. I suppose it's twinview specific...
I tried to set the TFT screen on 800x600 and the laptop screen on 1024x768 to see if it's in general possible to have two screens with different resolution running with Xinerama, and it worked.
So there must be a way to have TFT with 1280x1024 and Laptop with 1024x768... Something must be wrong with my configuration...

Any more hints?

Thanks!
Joe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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