Bug#496747: xserver-xorg-video-ati: multi-head virtualsize and direct rendering not working with two different monitor resolutions

2008-09-08 Thread Philipp Neuser

Brice Goglin schrieb:

Philipp Neuser wrote:
  

When you've got two monitores with different resoultion, the virtualsize
is not correct. It's always the bigger one. You can only correct this,
if you open a console and type xrandr --output VGA-0 --auto. You have
to do this every time you login.
  



As I said, please send the whole ouput of xrandr --verbose before and
after running the above xrandr --auto.
  
I can't get the correct resolutions again. Also xrandr --output VGA-0 
--auto doesn't work any more even though I used the old config. At the 
moment the picture from the big monitor (DVI) laps over on the small. 
It's like a small part of the desktop is cloned.


xorg.conf:

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type man 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 InputDevice
   IdentifierGeneric Keyboard
   Driverkbd
   OptionXkbRulesxorg
   OptionXkbModelpc101
   OptionXkbLayoutus
EndSection

Section InputDevice
   IdentifierConfigured Mouse
   Drivermouse
   OptionEmulate3Buttonstrue
EndSection

#Section Device
#IdentifierConfigured Video Device
#Driverfglrx
#OptionMonitor-DVI-0 DVI Monitor
#OptionMonitor-VGA-0 VGA Monitor
#EndSection

Section Monitor
   IdentifierDVI Monitor
   Modeline 1680x1050_60.00  147.14  1680 1784 1968 2256  1050 
1051 1054 1087  -HSync +Vsync

   Option PreferredMode1680x1050_60.00
EndSection

Section Monitor
   IdentifierVGA Monitor
   DisplaySize1280 1024
   OptionRightOfDVI Monitor
   OptionDPMS
EndSection

Section Screen
   IdentifierDefault Screen
#MonitorConfigured Monitor
   SubSection Display
   Depth 24
   Virtual 4000 3000
   EndSubSection
EndSection

xrandr --verbose before xrandr ... --auto:

creen 0: minimum 320 x 200, current 2560 x 1024, maximum 3000 x 2000
VGA-0 connected 1280x1024+1280+0 (0x5f) normal (normal left inverted 
right x axis y axis) 338mm x 270mm

   Identifier: 0x5c
   Timestamp:  504510509
   Subpixel:   no subpixels
   Clones: DVI-0 S-video
   CRTC:   0
   CRTCs:  0 1
   EDID_DATA:
   000009d145765603
   1f0e01036c261e78ea5e0ca4594a9825
   205054bdef80714f8180818c818f0101
   010101010101302a009851002a403070
   1300520e111e00fc0042656e
   512046503939310a202000ff
   0a20202000fd
   00384c1e510e0a20202020202020004c
   load_detection: 1 (0x0001) range:  (0,1)
 1280x1024 (0x5f)  108.0MHz +HSync +VSync *current +preferred
   h: width  1280 start 1328 end 1440 total 1688 skew0 clock   
64.0KHz
   v: height 1024 start 1025 end 1028 total 1066   clock   
60.0Hz

 1600x1024 (0x60)  106.9MHz -HSync -VSync
   h: width  1600 start 1620 end 1640 total 1670 skew0 clock   
64.0KHz
   v: height 1024 start 1027 end 1030 total 1067   clock   
60.0Hz

 1400x1050 (0x61)  122.0MHz +HSync +VSync
   h: width  1400 start 1488 end 1640 total 1880 skew0 clock   
64.9KHz
   v: height 1050 start 1052 end 1064 total 1082   clock   
60.0Hz

 1280x1024 (0x62)  138.8MHz -HSync +VSync
   h: width  1280 start 1368 end 1504 total 1728 skew0 clock   
80.3KHz
   v: height 1024 start 1027 end 1034 total 1072   clock   
74.9Hz

 1280x1024 (0x63)  135.0MHz +HSync +VSync
   h: width  1280 start 1296 end 1440 total 1688 skew0 clock   
80.0KHz
   v: height 1024 start 1025 end 1028 total 1066   clock   
75.0Hz

 1280x1024 (0x64)  133.0MHz -HSync +VSync
   h: width  1280 start 1368 end 1504 total 1728 skew0 clock   
77.0KHz
   v: height 1024 start 1027 end 1034 total 1070   clock   
71.9Hz

 1280x1024 (0x65)  109.0MHz -HSync +VSync
   h: width  1280 start 1368 end 1496 total 1712 skew0 clock   
63.7KHz
   v: height 1024 start 1027 end 1034 total 1063   clock   
59.9Hz

 1280x1024 (0x5f)  108.0MHz +HSync +VSync *current
   h: width  1280 start 1328 end 1440 total 1688 skew0 clock   
64.0KHz
   v: height 1024 start 1025 end 1028 total 1066   clock   
60.0Hz

 1440x900 (0x66)  108.8MHz +HSync +VSync
   h: width  1440 start 1472 end 1880 total 1912 skew0 clock   
56.9KHz
   v: height  900 start  918 end  927 total  946   clock   
60.2Hz

 1280x960 (0x67)  108.0MHz +HSync +VSync
   h: width  1280 

Bug#496747: xserver-xorg-video-ati: multi-head virtualsize and direct rendering not working with two different monitor resolutions

2008-08-27 Thread Adrian Glaubitz
Hello,


since the original poster is a good friend of mine and I know his setup, I'd 
like to make some additions:


The above Xorg.log-file was taken when he had 2 displays with the same 
resolution connected, but in fact
the problem only appears when using two displays with different resolution:

Setup 1:

Display 1: 1280x1024, Benq, TFT, Connected with VGA
Display 2: 1600x1080, DELL, TFT, COnnected with DVI

Results:

Direct Rendering does *not* work. glxinfo shows Direct Rendering: No. When 
starting X, the displays
have, as already mentioned, have the same virtual display size (both using 
1600x1080). Thus the 1280-display
having the 1600-resolution, too. When checking the monitors display-menu 
though, the 1280-display is running
at it's native 1280x1024. Calling xrandr --output VGA-0 --auto from an xterm 
immediately fixes that situation
so both displays run with a virtual resolution matching their native 
hardware-resolution.


Setup 2:

Display 1: 1280x1024, Benq, TFT, Connected with VGA
Display 2: 1280x1024, Samsung, TFT, Connected with DVI

Results:

Direct Rendering works, glxinfo shows Direct Rendering: Yes. Both displays 
have proper virtual resolution.


Display controller: ATI Technologies Inc RV370 [Radeon X300SE]


Regards,


Adrian



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#496747: xserver-xorg-video-ati: multi-head virtualsize and direct rendering not working with two different monitor resolutions

2008-08-27 Thread Brice Goglin
Philipp Neuser wrote:
 When you've got two monitores with different resoultion, the virtualsize
 is not correct. It's always the bigger one. You can only correct this,
 if you open a console and type xrandr --output VGA-0 --auto. You have
 to do this every time you login.
   

As I said, please send the whole ouput of xrandr --verbose before and
after running the above xrandr --auto.

 Direct rendering only works, if you have two displays with the same
 resolution. Also, you don't get debugging information from glxinfo.
   

Please send the output of
  LIBGL_DEBUG=verbose glxinfo
when if fails.

Brice




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]