PDA

View Full Version : cannot drag windows outside of 2048x2048 with virtual 2304x2048 on dual head


geodni
October 11th, 2011, 15:47
Hello,

First post here after years of reading, I didn't find any answers yet, so I give it a try here.

I can't drag any window outside of 2048x2048 resolution, I mean windows are well drawn outside this region until viewable virtual resolution fixed to 2304xx2048. Mouse can go alone outside 2048x2048. Mouse cursor just cannot go outside the 2048 horizontal value when I drag a window.

I am using FreeBSD 8.2 release -p2 on a PC like AMD quad/4GB of RAM with an addon Sapphire X1950 Pro 512MB, Xorg 7.5.1 and KDE 3.5.10_8. I have a dual head configuration rotated left (1152+1152)x2048 of Samsung Sync Master 2343 I manage with xrandr.

I don't know if it's an Xorg or KDE problem, I had it before the upgrade I describe above.

I have another problem but it can wait. It is since I made a buildworld/installworld and full upgrade of ports (portmaster, portupgrade and /usr/ports/UPDATING were my friends) coming from 8.0 release :
the first display only lights on after ~2 minutes when runing startx command and when running xrandr command, I must wait again ~3 minutes after playing with the second display font panel (switching on/off and VGA/DVI source) for it to light on.

I am starting Xorg with
startx -- :0 -dpi 75

After that, I just ran xrandr in a terminal with these options
xrandr --verbose --output DVI-0 --rotate left --pos 0x0 --output DVI-1 --right-of DVI-0 --rotate left

Here is my /etc/X11/xorg.conf configuration file

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
Option "AllowEmptyInput" "off"
EndSection

Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/bitstream-vera/"
FontPath "/usr/local/lib/X11/fonts/cyrillic/"
FontPath "/usr/local/lib/X11/fonts/encodings/"
FontPath "/usr/local/lib/X11/fonts/util/"
FontPath "/usr/local/lib/X11/fonts/local/"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "fr"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Samsung"
ModelName "SyncMaster 2343"
Option "DPMS"
Option "Primary" "True"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Samsung"
ModelName "SyncMaster 2343"
Option "DPMS"
Option "RightOf" "DVI-0"
Option "Primary" "False"
EndSection

Section "Device"
Identifier "Card1"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RV580 [Radeon X1950 Pro]"
BusID "PCI:1:0:0"
Option "DRI" "on"
Option "AccelMethod" "exa"
Option "UseEvents" "On"
EndSection


Section "Device"
Identifier "Card0"
Driver "radeonhd"
VendorName "ATI Technologies Inc"
BoardName "RS780 [Radeon HD3300]"
BusID "PCI:1:5:0"
Option "DRI" "on"
Option "UseEvents" "On"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card1"
Monitor "Monitor0"
SubSection "Display"
Depth 24
Modes "2048x1152"
Virtual 2304 2048
EndSubSection
EndSection


And xrandr -q output

> xrandr -q
Screen 0: minimum 320 x 200, current 2304 x 2048, maximum 2304 x 2048
DVI-1 connected 1152x2048+1152+0 left (normal left inverted right x axis y axis) 510mm x 287mm
2048x1152 59.9*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1280x800 59.9
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DVI-0 connected 1152x2048+0+0 left (normal left inverted right x axis y axis) 510mm x 287mm
2048x1152 59.9*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1280x800 59.9
1024x768 60.0
800x600 60.3 56.2
640x480 59.9

Any help, advice or comment wil be very appreciated. I can also provide more or missing information.

I hope I didn't run out of the Forum Rules in my first post.

Thanks,
Geodni

wblock@
October 11th, 2011, 16:27
That AEI should be removed, see AllowEmptyInput, FreeBSD, and Xorg Input (http://www.wonkity.com/~wblock/docs/html/aei.html). No idea what UseEvents might do.

The window dragging limits would likely be a function of the window manager.

SirDice
October 11th, 2011, 17:11
Does it also happen when DRI is turned off?

If I'm not mistaken 2048x2048 is a hardware limitation.

wblock@
October 11th, 2011, 17:21
Does it also happen when DRI is turned off?

If I'm not mistaken 2048x2048 is a hardware limitation.

It might be with some drivers or cards. I'm using 3200x1200 with radeon here. No problems, but not using rotation, and that's with xfce instead of KDE.

geodni
October 11th, 2011, 18:26
@wblock :

Because I don't use hald, I replaced AEI option like described in the link you provided with :
Option "AutoAddDevices" "off"
I removed UseEvents as it seems only used for nvidia drivers (http://magazine.redhat.com/2007/11/20/tips-and-tricks-why-does-xorgs-cpu-usage-shoot-up-when-using-nvidias-driver/).

@SirDice :

I just tested without DRI using Option "DRI" "Off" in Device Section with no success. Worse was obtained with Option "NoAccel" "True", no X environment displayed at all, I had to switch back to console using Alt+F1 and Ctrl+C startx command.

From official documentation (http://www.sapphiretech.com/presentation/product/?cid=1&gid=3&sgid=298&pid=127&psn=0006&lid=1&leg=1) "Each display interface supports display resolutions beyond 2560x1600". I only use 2048x1152 rotated each.


I tried with newly created user (no ~/.kde* and more configuration files/directories), same behaviour happened.

I didn't tell you that font panel of my displays does not respond correctly when waiting xrandr command to rotate and arrange screen. Once desktop is well displayed, font panel responds normally to input switch or on/off.

Thanks.