Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-11-02 Thread Andreas Pakulat
On Mittwoch, 19. September 2007, Brice Goglin wrote:
 Andreas Pakulat wrote:
  One thing I just noticed though: x11-utils changelog doesn't
  mention xrandr 1.2.2 it only mentions 1.2.0, so may I have a
  too-old xrandr?

 x11-xserver-utils (7.2-2) experimental; urgency=low

   * Add xrandr 1.2.2.

 You probably have 7.3+1, right? So it should be fine.

Ok, I tried again with the latest unstable Xorg and using the 
experimental ati driver package.

XRandR now kind of works, that is if I start up a plain xterm with the 
attached xorg.conf I do get a 3360x1050 desktop. 

A few problems remain

- the dpi setting seems to be set wrongly, I've got a 332x205 laptop 
display (mm) and a 365x275 mm CRT. And xorg sets 96dpi and xrandr tells 
me that the screen size is actually 888x220 mmm??? Right would be 
something like 130dpi

- I couldn't get a virtual desktop of 3080x1050 with a modeline of 
1400x1050 for the CRT, X11 always created a 3360x1050 virtual desktop, 
i.e. double the size of the lvds

- most importantly: I can't start either XFC4 or KDE3 session from that 
xterm or from kdm. As soon as they're up and running the 2nd head is 
switched off and when I set a mode on it again and then use 

xrandr --output VGA-0 --left-of LVDS

to put it on the left side of the lvds, but that just makes the whole 
screen go blank :( Maybe this is a xfce/kde issue?

I'd appreciate any input on any of the three.

Andreas

-- 
You now have Asian Flu.
# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPath/usr/share/fonts/TrueType
FontPath/usr/share/fonts/X11/misc:unscaled
FontPath/usr/share/fonts/X11/100dpi:unscaled
FontPath/usr/share/fonts/X11/75dpi:unscaled
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/share/fonts/X11/75dpi
FontPath/usr/share/fonts/X11/misc
FontPath/usr/share/fonts/truetype/openoffice
FontPath/usr/share/fonts/truetype/ttf-xfree86-nonfree
FontPath/usr/share/fonts/truetype/freefont
FontPath/usr/share/fonts/truetype/ttf-bitstream-vera
FontPath/usr/share/fonts/X11/Type1
EndSection

Section Module
Loadsynaptics
Loaddbe
Loaddri
SubSection extmod
Option omit xfree86-dga
EndSubSection
Loadfreetype
Loadtype1
Loadvbe
Loadshadow
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  AutoRepeat500 30
Option  XkbOptions
grp:ctrls_toggle,ctrl:ctrl_aa,grp_led:scroll,compose:caps
Option  XkbRules  xorg
Option  XkbModel  cymotionlinux
Option  XkbLayout us,de(nodeadkeys)
Option  XkbVariantnodeadkeys
EndSection

Section InputDevice
Identifier  Configured Mouse2
Driver  synaptics
Option  CorePointer
Option  Device/dev/gpmdata
Option  Protocol  auto-dev
Option  LeftEdge  1700
Option  RightEdge 5300
Option  TopEdge   1700
Option  BottomEdge4200
Option  FingerLow 25
Option  FingerHigh30
Option  MaxTapTime180
Option  MaxTapMove220
Option  VertScrollDelta   100
Option  MinSpeed  0.06
Option  MaxSpeed  0.12
Option  SHMConfig true
Option  AccelFactor   0.0010
Option  UpDownScrolling   yes
Option  LockedDrags   on
#   Option  Emulate3Buttons   yes
#   Option  ZAxisMapping  4 5
#   Option  Resolution400
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  SendCoreEventstrue
Option  Device  

Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-11-02 Thread Brice Goglin
Andreas Pakulat wrote:
 - the dpi setting seems to be set wrongly, I've got a 332x205 laptop 
 display (mm) and a 365x275 mm CRT. And xorg sets 96dpi and xrandr tells 
 me that the screen size is actually 888x220 mmm??? Right would be 
 something like 130dpi

There are some known problems like this one, I think it is being worked
on upstream.

 - I couldn't get a virtual desktop of 3080x1050 with a modeline of 
 1400x1050 for the CRT, X11 always created a 3360x1050 virtual desktop, 
 i.e. double the size of the lvds

Not sure about this, maybe the ATI driver insists on using such a size.

If the latest upstream git of the driver does this, it might be worth
sending the corresponding config and log on bugzilla.freedesktop.org.

 - most importantly: I can't start either XFC4 or KDE3 session from that 
 xterm or from kdm. As soon as they're up and running the 2nd head is 
 switched off and when I set a mode on it again and then use 
 
 xrandr --output VGA-0 --left-of LVDS
 
 to put it on the left side of the lvds, but that just makes the whole 
 screen go blank :( Maybe this is a xfce/kde issue?

If starting with KDE/XFC works fine on both heads, I would guess that
KDE/XFC does some incorrect RandR 1.2 calls at startup. It is hard to
be sure. Did you check in the corresponding KDE/XFC configuration utilities?

Brice




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



Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-11-02 Thread Andreas Pakulat
On Freitag, 2. November 2007, Brice Goglin wrote:
 Andreas Pakulat wrote:
  - the dpi setting seems to be set wrongly, I've got a 332x205
  laptop display (mm) and a 365x275 mm CRT. And xorg sets 96dpi and
  xrandr tells me that the screen size is actually 888x220 mmm???
  Right would be something like 130dpi

 There are some known problems like this one, I think it is being
 worked on upstream.

Well, current git still shows this behaviour. I guess the problem is 
that the driver doesn't read the EDID information properly or some 
such.

  - I couldn't get a virtual desktop of 3080x1050 with a modeline of
  1400x1050 for the CRT, X11 always created a 3360x1050 virtual
  desktop, i.e. double the size of the lvds

 Not sure about this, maybe the ATI driver insists on using such a
 size.

I hope note, its quite annoying to have this 1680x1050 resolution on a 
standard 4:3 CRT, the font is stretched quite a bit. Or does XRandR 
support non-rectangular desktops, i.e. using 1680x1200 on the CRT and 
1680x1050 on the LVDS?

 If the latest upstream git of the driver does this, it might be worth
 sending the corresponding config and log on bugzilla.freedesktop.org.

Yeah, latest git doesn't help here. I've filed an upstream bugreport 
(not sure if I should reference it via forwarded-upstream):
https://bugs.freedesktop.org/show_bug.cgi?id=13067

  - most importantly: I can't start either XFC4 or KDE3 session from
  that xterm or from kdm. As soon as they're up and running the 2nd
  head is switched off and when I set a mode on it again and then use
 
  xrandr --output VGA-0 --left-of LVDS
 
  to put it on the left side of the lvds, but that just makes the
  whole screen go blank :( Maybe this is a xfce/kde issue?

 If starting with KDE/XFC works fine on both heads, I would guess that
 KDE/XFC does some incorrect RandR 1.2 calls at startup. It is hard to
 be sure. Did you check in the corresponding KDE/XFC configuration
 utilities?

Not sure about xfce4, but the kde startup script actually stored the 
layout of my screens and reloaded that using xrandr during session 
startup. I'll file a bugreport about that with KDE.

Not sure what to do about this report, I can now at least use the new 
Xorg with XRandR, though there's still the outstanding issues of 
desktop-size and the dpi-settings... 

Andreas

-- 
You are scrupulously honest, frank, and straightforward.  Therefore you
have few friends.


signature.asc
Description: This is a digitally signed message part.


Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-11-02 Thread Andreas Pakulat
On Freitag, 2. November 2007, Brice Goglin wrote:
 Andreas Pakulat wrote:
  - most importantly: I can't start either XFC4 or KDE3 session from
  that xterm or from kdm. As soon as they're up and running the 2nd
  head is switched off and when I set a mode on it again and then use
 
  xrandr --output VGA-0 --left-of LVDS
 
  to put it on the left side of the lvds, but that just makes the
  whole screen go blank :( Maybe this is a xfce/kde issue?

 If starting with KDE/XFC works fine on both heads, I would guess that
 KDE/XFC does some incorrect RandR 1.2 calls at startup. It is hard to
 be sure. Did you check in the corresponding KDE/XFC configuration
 utilities?

I'd like to add that the display doesn't always go blank when running 
xrandr --left-of, sometimes it just creates garbage on the 2nd head.

Bugreport for that is here:
https://bugs.freedesktop.org/show_bug.cgi?id=13068

Andreas

-- 
You display the wonderful traits of charm and courtesy.


signature.asc
Description: This is a digitally signed message part.


Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-09-18 Thread Brice Goglin
Andreas Pakulat wrote:
 I tried to find howtos in the net, but there were onyl few, the attached
 xorg.conf is what I'm using right now. As soon as I remove the comments
 from the Options in the Device section Xorg doesn't start anymore,
 telling me that Screen's were found but none of them had a usable
 configuration.

 Using the config as is, does come up with the Laptop display working
 properly, however I can't activate the VGA. All I get from xrandr is:
 [EMAIL PROTECTED]:~xrandr
 xrandr: Output VGA-0 is not disconnected but has no modes

 Google leads me to believe that I should disable the S-video output, but
 trying that just gives me the same information, without any change:
 [EMAIL PROTECTED]:~xrandr --output S-video --off
 xrandr: Output VGA-0 is not disconnected but has no modes

 Unplugging the CRT and doing that doesn't change anything either.

 The second attached Xorg log is from a failing start with the 3
 monitor-lines activated.

 Andreas, who now has to downgrade X11 again :(
   

This seems very similar to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439322

You might want to try latest upstream git snapshot, TV-out should be
disabled by default there, so you might get some modes from VGA by default.

And finally, it would be good to send the output of xrandr, with and
without with TV-out disabled *at startup* (either in xorg.conf or with a
recent driver where TV-out does not get enabled automatically).

Brice




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



Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-09-18 Thread Andreas Pakulat
On 18.09.07 23:25:13, Brice Goglin wrote:
 Andreas Pakulat wrote:
  I tried to find howtos in the net, but there were onyl few, the attached
  xorg.conf is what I'm using right now. As soon as I remove the comments
  from the Options in the Device section Xorg doesn't start anymore,
  telling me that Screen's were found but none of them had a usable
  configuration.
 
  Using the config as is, does come up with the Laptop display working
  properly, however I can't activate the VGA. All I get from xrandr is:
  [EMAIL PROTECTED]:~xrandr
  xrandr: Output VGA-0 is not disconnected but has no modes
 
  Google leads me to believe that I should disable the S-video output, but
  trying that just gives me the same information, without any change:
  [EMAIL PROTECTED]:~xrandr --output S-video --off
  xrandr: Output VGA-0 is not disconnected but has no modes
 
  Unplugging the CRT and doing that doesn't change anything either.
 
  The second attached Xorg log is from a failing start with the 3
  monitor-lines activated.
 
  Andreas, who now has to downgrade X11 again :(

 
 This seems very similar to
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439322

Indeed, let me do another test and eventually I'll merge the bug into
the existing one (I seem to have overlooked that one while scanning the
buglist)

 You might want to try latest upstream git snapshot, TV-out should be
 disabled by default there, so you might get some modes from VGA by default.

Ok.

 And finally, it would be good to send the output of xrandr, with and
 without with TV-out disabled *at startup* (either in xorg.conf or with a
 recent driver where TV-out does not get enabled automatically).

I guess I wasn't clear: I don't get X11 to start when I use any of the
monitor-Options. Not even if I just include the one for disabling
Tv-Out. And when I start without them, xrandr _always_ just complains
about the VGA-0 being connected but no modes being available, no matter
what xrandr call I use (including xrandr --output S-video --off).

Andreas

-- 
You will be the last person to buy a Chrysler.


pgpviwhzp4rSh.pgp
Description: PGP signature


Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-09-18 Thread Andreas Pakulat
On 18.09.07 23:25:13, Brice Goglin wrote:
 Andreas Pakulat wrote:
  I tried to find howtos in the net, but there were onyl few, the attached
  xorg.conf is what I'm using right now. As soon as I remove the comments
  from the Options in the Device section Xorg doesn't start anymore,
  telling me that Screen's were found but none of them had a usable
  configuration.
 
  Using the config as is, does come up with the Laptop display working
  properly, however I can't activate the VGA. All I get from xrandr is:
  [EMAIL PROTECTED]:~xrandr
  xrandr: Output VGA-0 is not disconnected but has no modes
 
  Google leads me to believe that I should disable the S-video output, but
  trying that just gives me the same information, without any change:
  [EMAIL PROTECTED]:~xrandr --output S-video --off
  xrandr: Output VGA-0 is not disconnected but has no modes
 
  Unplugging the CRT and doing that doesn't change anything either.
 
  The second attached Xorg log is from a failing start with the 3
  monitor-lines activated.
 
  Andreas, who now has to downgrade X11 again :(

 
 This seems very similar to
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439322
 
 You might want to try latest upstream git snapshot, TV-out should be
 disabled by default there, so you might get some modes from VGA by default.
 
 And finally, it would be good to send the output of xrandr, with and
 without with TV-out disabled *at startup* (either in xorg.conf or with a
 recent driver where TV-out does not get enabled automatically).

Ok, so I tried with the git snapshot from 
git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati

but there are no changes compared to the debian experimental package.
One thing I just noticed though: x11-utils changelog doesn't mention
xrandr 1.2.2 it only mentions 1.2.0, so may I have a too-old xrandr?

Andreas

-- 
Love is in the offing.  Be affectionate to one who adores you.


pgpvgKVa69aiX.pgp
Description: PGP signature


Bug#443122: xserver-xorg-video-ati: dualhead setup not possible with xrandr1.2

2007-09-18 Thread Brice Goglin
Andreas Pakulat wrote:
 One thing I just noticed though: x11-utils changelog doesn't mention
 xrandr 1.2.2 it only mentions 1.2.0, so may I have a too-old xrandr?

   

x11-xserver-utils (7.2-2) experimental; urgency=low

  * Add xrandr 1.2.2.

You probably have 7.3+1, right? So it should be fine.

Brice




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