Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MergedFB 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
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Fri Aug 05, 2005 6:20 am    Post subject: MergedFB with different resolutions Reply with quote

Hi,

is it possible that the option 'MergedFB' of ATI Radeon driver is just useful if you are working with two screens of the same resolution?

Here is my situatuion, I'm using a notebook (1680x1050) and an external screen (1280x1024) . I wanted to combine these two to an extended
screen. I read some articles and switched from propritary ATI "fglrx" to xorg "radeon". I was able to get the mergedfb working but
that was different to the solution that I wanted to have.
Is there another opportunity for me to get both screens working with their highest resoultions?

Thanks for helping me...

greetings g.
Back to top
View user's profile Send private message
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Sat Aug 06, 2005 3:48 pm    Post subject: Reply with quote

I have tried some things now. I switched to 'radeon' driver of X.Org. When I plugin an external monitor and restart the X-Server all fonts are bigger
on the internal screen although the resolution stays the same. On the external screen I get a virtual screen. I think it has the same resolution as the internal (1680x1050) but virtual.

Afterwards I read some articles and tried the following. I edited my xorg.conf to the following:

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 48.5
VertRefresh 40 - 70
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
HorizSync 31.5-48.5
VertRefresh 40 - 70
Option "DPMS"
EndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

Driver "vga"

EndSection

Section "Device"
Identifier "Card0"
Driver "radeon"
Option "MonitorLayout" "LVDS, CRT"
Option "AGPMode" "4"
Option "AGPFastWrite" "True"
Option "EnablePageFlip" "True"
Option "no_accel" "no"
Option "no_dri" "no"
EndSection

Section "Device"

Identifier "Card1"
Driver "radeon"
# Option "MonitorLayout" "LVDS, CRT"
Option "AGPMode" "4"
Option "AGPFastWrite" "True"
Option "no_accel" "no"
Option "no_dri" "no"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"

Subsection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection

Section "Screen"

Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1600x1200"
EndSubsection
EndSection

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

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Server Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.

Screen "Screen0"
Screen "Screen1" RightOf "Screen0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"

Option "Xinerama" "On"
Option "RandR" "On"
EndSection


But that doesn't have an effect. I'm not able to get the resolution of 1280x1024 at the external screen. So, can anybody tell me how to get the external monitor to work? Is it possible to have an external monitor with another resolution
as the internal screen?

a very frustrated

g.
Back to top
View user's profile Send private message
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Mon Aug 08, 2005 12:37 pm    Post subject: Reply with quote

Ok. It seems that a solution in Linux therefore is somehow impossible. And this operating system
should be comparable to Windows and Mac OS?
Back to top
View user's profile Send private message
raylpc
Guru
Guru


Joined: 07 Aug 2003
Posts: 310
Location: Toronto, Canada

PostPosted: Mon Aug 08, 2005 12:46 pm    Post subject: Reply with quote

Code:

Section "Device"
  BoardName    "Radeon 9000"
  Driver       "radeon"
  Identifier   "Device[0]"
  Screen       0
  Option       "Rotate" "off"
  Option        "DynamicClocks" "On"
  Option        "AGPMode" "4"
  Option        "RenderAccel" "True"
  Option "MonitorLayout" "LVDS, TMDS"
  Option "CRT2Position" "RightOf"
  Option    "MetaModes"    "1400x1050-1280x1024 1400x1050"
  Option   "MergedFB"      "true"
  Option "MergedDPI" "100 100"
#  Option "EnablePageFlip" "True"
#  Option  "CRT2HSync" "31.5-93.7"
#  Option  "CRT2VRefresh" "59-75"
#  Option  "CRT2ForceOn" "true"

  Option "BIOSHotkeys" "True"
  VendorName   "ATI"
EndSection

this should solve ur font problem. and change the MetaModes accordingly.
Back to top
View user's profile Send private message
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Mon Aug 08, 2005 2:10 pm    Post subject: Reply with quote

At first, thanks for your help! I changed my xorg.conf to the following:

Code:

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "radeon"

    Option          "AGPMode"               "3"
    Option          "AGPFastWrite"          "True"
    Option          "EnablePageFlip"        "True"
    Screen 0
    Option          "Rotate" "off"
    Option          "MonitorLayout" "LVDS, CRT"
    Option          "CRT2Position" "RightOf"
    Option          "MetaModes" "1680x1050-1280x1024 1280x1024-1280x1024 1024x768x1024x768"
    Option          "MergedFB" "true"
    Option          "MergedDPI" "75 75"

EndSection


Now the display on the Notebook (1680x1050) looks nice. But the xternal screen is just a copy of the notebook and fonts are really bad. Shouldn't 'mergedFB' be something like an extended desktop? Is there anything else to do?
Back to top
View user's profile Send private message
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Mon Aug 08, 2005 3:09 pm    Post subject: Reply with quote

I got it. There's only one problem. Fonts on the xternal screen are really ugly. Maybe there's some problem with the dpi. Does anyone know how to solve that?
Back to top
View user's profile Send private message
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Mon Aug 08, 2005 3:23 pm    Post subject: Reply with quote

Well, I have to correct myself. MergedFramebuffer is just working when disabling the Option 'MetaModes' in the devices-Section. But then the external monitor
just works with a resolution of 1024x768 -> fonts are unreadable, of course.

But when I enable this option the log tells me the following:

Code:

(II) RADEON(0): Validating CRTC2 modes for MergedFB ------------
(II) RADEON(0): CRT2 Monitor: Using hsync value of 30.00 kHz
(II) RADEON(0): CRT2 Monitor: Using hsync value of 82.00 kHz
(II) RADEON(0): CRT2 Monitor: Using vrefresh value of 56.00 Hz
(II) RADEON(0): CRT2 Monitor: Using vrefresh value of 76.00 Hz
(II) RADEON(0): Clock range:  20.00 to 350.00 MHz
(II) RADEON(0): Not using default mode "640x350" (hsync out of range)
(II) RADEON(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "640x400" (hsync out of range)
(II) RADEON(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "720x400" (hsync out of range)
(II) RADEON(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "640x480" (hsync out of range)
(II) RADEON(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "640x480" (hsync out of range)
(II) RADEON(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "640x480" (hsync out of range)
(II) RADEON(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "640x480" (hsync out of range)
(II) RADEON(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "800x600" (hsync out of range)
(II) RADEON(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "800x600" (hsync out of range)


That goes through all possible resolutions.

Code:

(II) RADEON(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(WW) RADEON(0): Mode pool is empty
(EE) RADEON(0): No valid modes found
(EE) RADEON(0): No valid mode found for CRTC2, disabling MergedFB
(II) RADEON(0): Total of 0 CRTC2 modes found for MergedFB------------



MergedFB isn't started. I have already adjusted the values for CRT2VRefresh and CRT2HSync without any effect. But I think it's just a little piece of code that's
missing....
Back to top
View user's profile Send private message
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Mon Aug 08, 2005 5:42 pm    Post subject: Reply with quote

Got it to work! :lol:
Back to top
View user's profile Send private message
raylpc
Guru
Guru


Joined: 07 Aug 2003
Posts: 310
Location: Toronto, Canada

PostPosted: Tue Aug 09, 2005 2:51 am    Post subject: Reply with quote

good to hear that :)

And it's also a good idea to post what you did so that people can search it if they happen to stumble on the same problem.
Back to top
View user's profile Send private message
Ghostryder
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 216

PostPosted: Tue Aug 09, 2005 7:50 am    Post subject: Reply with quote

Ok. Here's everything that I did. My xorg.conf:

Code:

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "radeon"

    Option          "AGPMode"               "3"
    Option          "AGPFastWrite"          "True"
#    Option          "EnablePageFlip"        "True"
    Screen 0
#    Option         "Rotate" "off"
    Option          "MonitorLayout" "LVDS, CRT"
    Option          "CRT2Position" "RightOf"
    Option          "CRT2VRefresh" "50.0-85.0"
    Option          "CRT2HSync" "30.0-83.0"
    Option          "MetaModes" "1680x1050-1280x1024"
    Option          "MergedFB" "true"
    Option          "MergedDPI" "75 75"

EndSection


You don't have to change anything in any other section for the MergedFB.

It was important to disable the option 'enablePageFlip'.

g.
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