Jump to content

xrandr - display reverts to single head on...


Guest joelbair
 Share

Recommended Posts

Guest joelbair

Curious problem that I'm dealing with that I'd like to resolve...

 

Mandriva 2010

Radeon HD 4670 w/ dual DVI

64bit kernel

 

fglrx-kernel-2.6.31.5-desktop-1mnb-8.650-1mdv2010.0

x11-driver-video-fglrx-8.650-1mdv2010.0

dkms-fglrx-8.650-1mdv2010.0

fglrx-kernel-desktop-latest-8.650-1.20091023.1mdv2010.0

fglrx-control-center-8.650-1mdv2010.0

 

I've got a nice Dual Head desktop w/ a pair of 24inch wide screen displays that do 1920x1200 very well. Composting nicely in KDE-4.3

I use XrandR to stretch the desktop across both displays -- (gotta love xrandr)...

 

My problem is when I access the KDE systemsettings -> display, I loose the xrandr stretched desktop and KDE reverts to a clone mode dual display.

Additionally -- when powerdevil or any KDE display power management suspends the video - the display reverts to clone mode on resume.

 

I'm banging my head on this -- any tips would be appreciated...

Link to comment
Share on other sites

See my post here: http://forums.fedoraforum.org/showpost.php?p=1299661&postcount=4

 

Well actually my post shows how to use a virtual desktop for 2 displays. This does not address your problem with KDE systemsettings -> display, nor with powerdevil. Check out the kde bug report I linked to in the post above.

Edited by David Batson
Link to comment
Share on other sites

Guest joelbair

Interesting bug report -- https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/403610

 

Yep that's the issue I'm having...

 

 

Is there any of executing a script upon X wakeup / monitor resume?

 

I can avoid touching systemsettings->display for now, but it would be nice to automate resuming my xrandr stretched desktop though...

Link to comment
Share on other sites

Guest joelbair

Thanks for your tips David..

 

I stumbled upon the Display Power Management restore fix the other day...

 

Apparently - the lib64powersave11 was not installed.

 

I removed powerdevil (as this is a desktop and not a laptop) and installed lib64powersave11 and its deps. - And the display powersave -> resume restores w/ the original X configuration. X is working nicely now... composting + GL acceleration on both displays...

 

Still resets when I jump into the systemsettings -> Display. But thats live-able... I don't need to use that anymore anyway.

 

 

Here's my dual-head xorg.conf - for reference if anyone needs it.

(initializing xrandr virtual desktop on init)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of       
# this file.                                                            
# **********************************************************************

Section "ServerFlags"
   #Option "DontZap"                   "true"  # disable <Ctrl><Alt><BS> (server abort)
   #Option "DontZoom"                  "true"  # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
   Option "AllowMouseOpenFail"         "true"  # allows the server to start up even if the mouse does not work
EndSection                                                                                                     

Section "Module"
   Load "dbe"          # Double-Buffering Extension
   Load "v4l"          # Video for Linux           
   Load "extmod"                                   
   Load "glx"          # 3D layer                  
   Load "dri"          # direct rendering          
EndSection                                          

Section "Monitor"
   Identifier "monitor1"
   VendorName "DELL"    
   ModelName "2408WFP"  
   HorizSync 30.0-83.0  
   VertRefresh 56.0-75.0
   Option "PreferredMode" "1920x1200"
   Option "DPMS" "true"              
   Option "Right Of" "DFP3"     # XrandR desktop orientation        
EndSection                            

Section "Monitor"
   Identifier "monitor2"
   VendorName "Acer"
   ModelName "AL2416W"
   HorizSync 24.0-80.0
   VertRefresh 49.0-75.0
   Option "PreferredMode" "1920x1200"
   Option "DPMS" "true"
EndSection

Section "Device"
   Identifier "device1"
   VendorName "ATI Technologies Inc"
   BoardName "ATI Radeon HD 2000 and later (radeon/fglrx)"
   Driver "fglrx"
   Option "DFP1" "monitor1"  # XrandR display name to monitor identifier name
   Option "DFP3" "monitor2"  # XrandR display name to monitor identifier name
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 24

   Subsection "Display"
       Depth 16
       Virtual 3840 1200
   EndSubsection

   Subsection "Display"
       Depth 24
       Virtual 3840 1200    # Encompassing the combined pixel dimensions of both displays for XrandR 
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   Screen "screen1"
EndSection

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...