You are not logged in.
Pages: 1
Hello fellow archers,
I have have a Lenovo Thinkpad X60 Tablet, which is working more or less perfectly. But for some reason, when I rotate the screen it artifacts the whole screen after a minute or so, if I rotate it back to the normal position it goes away, or if I move a window, the artifacts disappear in the trail where the window moved.
Some info:
Kernel 2.6.29-rc3-zen1
xf86-video-intel 2.4.3-1
xorg-server 1.5.3-4
I use xrandr to rotate the screen through a small script I wrote, looks like this:
#!/bin/bash
# This is a script that toggles rotation of the screen through xrandr,
# and also toggles rotation of the stylus, eraser and cursor through xsetwacom
# Check orientation
orientation=`xrandr --verbose -q | grep LVDS | awk '{print $5}'`
# Rotate the screen and stylus, eraser and cursor, according to your preferences.
if [ "$orientation" = "normal" ]; then
/usr/bin/xrandr -o right
xsetwacom set "Stylus" Rotate cw
xsetwacom set "Cursor" Rotate cw
xsetwacom set "Eraser" Rotate cw
elif [ "$orientation" = "inverted" ]; then
/usr/bin/xrandr -o left
xsetwacom set "Stylus" Rotate ccw
xsetwacom set "Cursor" Rotate ccw
xsetwacom set "Eraser" Rotate ccw
elif [ "$orientation" = "right" ]; then
/usr/bin/xrandr -o inverted
xsetwacom set "Stylus" Rotate half
xsetwacom set "Cursor" Rotate half
xsetwacom set "Eraser" Rotate half
elif [ "$orientation" = "left" ]; then
/usr/bin/xrandr -o normal
xsetwacom set "Stylus" Rotate none
xsetwacom set "Cursor" Rotate none
xsetwacom set "Eraser" Rotate none
fi
The Stylus, Cursor and Eraser belongs to the Wacom tablet in the screen.
I tried disabling and enabling all the options in my device section in my xorg.conf, though did not try disabling rendering or compositing, will try that later.
My xorg.conf looks like this:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Cursor" "SendCoreEvents"
InputDevice "Stylus" "SendCoreEvents"
InputDevice "Eraser" "SendCoreEvents"
Option "BlankTime" "5"
Option "StandbyTime" "5"
Option "SuspendTime" "5"
Option "OffTime" "5"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "GLcore"
Load "glx"
Load "xtrap"
Load "freetype"
Load "wacom"
Load "vbe"
Load "bitmap"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "InputDevice"
Identifier "Cursor"
Driver "wacom"
Option "Device" "/dev/ttyS0"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"
Option "KeepShape" "on"
Option "Mode" "Absolute"
Option "BottomY" "18432"
Option "BottomX" "24576"
EndSection
Section "InputDevice"
Identifier "Stylus"
Driver "wacom"
Option "Device" "/dev/ttyS0"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"
Option "KeepShape" "on"
Option "TPCButton" "off"
Option "BottomY" "18432"
Option "BottomX" "24576"
Option "Mode" "Absolute"
EndSection
Section "InputDevice"
Identifier "Eraser"
Driver "wacom"
Option "Device" "/dev/ttyS0"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"
Option "KeepShape" "on"
Option "BottomY" "18432"
Option "BottomX" "24576"
EndSection
Section "Monitor"
DisplaySize 245 184
Identifier "Monitor0"
Option "DPMS" "true"
HorizSync 30-67
VertRefresh 50-75
EndSection
Section "Device"
Option "AccelMethod" "UXA"
Option "ForceEnablePipeA" "true"
Option "PageFlip" "true"
Option "TripleBuffer" "true"
Option "Tiling" "true"
Option "MigrationHeuristic" "greedy"
Option "RenderAccel" "true"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
Option "MIT-SHM" "Yes"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
Virtual 2047 2047
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
Virtual 2047 2047
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
Virtual 2047 2047
EndSubSection
EndSection
Btw. I also tried UXA, EXA and XAA, all have the same result. I saw some had problems with the Virtual resolution and the solution was to set it to 2047 x 2047, but this changed nothing.
Any suggestions?
IBM Thinkpad X60 Tablet | Zen-sources | My AUR Builds
Offline
I have the same problem with this versions:
xf86-video-intel 2.6.3-3
xorg-server 1.6.1-1
linux 2.6.29-ARCH
Turning off hardware acceleration in the "Devices" section of xorg.conf somehow fixed it:
Option "Accel" "off"
So you get performance or rotation atm. Haven't had the time to search for real fixes yet...
Kind regards,
Thomas
Offline
Pages: 1