Page 1 of 1

Mouse cursor flicker

Posted: 31. Dec 2009, 07:07
by 4-stroke
I've installed Salix 13.0.2a and I have this annoying mouse cursor flicker when I move it.

This only happens in Salix, not in Absolute Linux or vanilla Slackware.

Set "HWCursor" "off"
or
Set "SWCursor" "on"
in xorg.conf does nothing.

Sucky graphics:

Code: Select all

lspci|grep VGA
01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M800/K8N800/K8N800A [S3 UniChrome Pro] (rev 01)
xorg.conf:

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
	Option "AutoAddDevices" "False"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/local"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/CID"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
	Disable  "dri2"
	Load  "glx"
	Load  "dbe"
	Disable  "dri"
	Load  "extmod"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option     "XkbModel"      "pc105"
	Option     "XkbLayout"     "se"
EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "openchrome"
Option "AccelMethod" "EXA"
Option "ExaNoComposite" "True"
Option "MigrationHeuristic" "greedy"
Option "ExaScratchSize" "8192"
Option "MaxDRIMem" "16384"
Option "SWCursor" "on"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Modes	"1024x768"
		Depth     24
	EndSubSection
EndSection

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 07:30
by gapan
I've seen how crappy S3 drivers are. Maybe you'll be better off using vesa instead. That said, if you're using the same xorg.conf that you're using in slackware, it should work in exactly the same way, it's the same xorg anyway.

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 07:42
by 4-stroke
gapan wrote:I've seen how crappy S3 drivers are. Maybe you'll be better off using vesa instead. That said, if you're using the same xorg.conf that you're using in slackware, it should work in exactly the same way, it's the same xorg anyway.
I always use that same xorg.conf and it works on all Slack-based distros I've tried, except Salix.
The only difference that I can see is the cursor themes.

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 07:45
by gapan
Try another theme then!

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 07:50
by 4-stroke
How? :oops:

When I try to select another in xfce there is no difference. Is there a way to disable all of the custom ones?

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 07:56
by gapan
Hmmm... yes that sucks a bit in xfce. You have to select a different one and then log out/back in again for the changes to take effect.

To make the changes global, you can point the /usr/share/icons/default symlink to another cursor theme in the same directory (or remove the symlink to get the default xorg cursors).

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 08:05
by 4-stroke
I used the brute force approach and just removed the extra cursor packages. 8-)

I now have the tiny stock one which I believe still flickers but it's not as annoying as with the huge custom one.

Sorry for the inconvenience. Happy new year everyone!

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 11:43
by thenktor
Perhaps you want to try this newer openchrome driver: http://thenktor.home.dyndns.org/download/

Re: Mouse cursor flicker

Posted: 31. Dec 2009, 14:17
by 4-stroke
thenktor wrote:Perhaps you want to try this newer openchrome driver: http://thenktor.home.dyndns.org/download/
Thank you! :D

I now have dri enabled and 450+ fps in glxgears. 8-)