Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209400 - media-libs/libsdl has problems with xorg-server 1.4* series when playing full screen games that use dga-mouse
Summary: media-libs/libsdl has problems with xorg-server 1.4* series when playing full...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 22:05 UTC by Billy DeVincentis
Modified: 2008-02-13 02:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libsdl-1.2.13-r1.ebuild (libsdl-1.2.13-r1.ebuild,4.44 KB, text/plain)
2008-02-08 22:06 UTC, Billy DeVincentis
Details
Difference between ebuilds (libsdl-1.2.13-r1.diff,1.49 KB, text/plain)
2008-02-10 00:23 UTC, Billy DeVincentis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2008-02-08 22:05:27 UTC
Ever since upgrading to xorg-series 1.4* (which version is unimportant, they all react equally), Full screen sdl games would have mouse problems. In example, the mouse wouldn't stay in the center of the screen and would pull to one side. Downgrading to xorg 7.2 with the 1.3 server with no other changes solves the issue immediately.  What I've needed to do is start sdl agmes in a terminal with export SDL_VIDEO_X11_DGAMOUSE=0 . The libsdl ebuild did not have a use flag built into the ebuild for a defaultly enabled configure option  --enable-video-x11-dgamouse
use X11 DGA for mouse events [default=yes]
For the time being I have created an ebuild with the added use flag so that anyone having problems can use it and disable the problematic dgamouse extension but this is not the answer, the true fix must be found.


Reproducible: Always
Comment 1 Billy DeVincentis 2008-02-08 22:06:52 UTC
Created attachment 143014 [details]
libsdl-1.2.13-r1.ebuild
Comment 2 Billy DeVincentis 2008-02-08 22:08:31 UTC
If you are having problems like this emerge libsdl with 
media-libs/libsdl -video-x11-dgamouse
in /etc/portage/package.use
Comment 3 SpanKY gentoo-dev 2008-02-09 20:08:00 UTC
Comment on attachment 143014 [details]
libsdl-1.2.13-r1.ebuild

no idea what this ebuild is supposed to show.  please post diffs, not entire files.
Comment 4 Billy DeVincentis 2008-02-09 21:12:26 UTC
The modification is the inclusion of a new use flag video-x11-dgamouse. It is in the configure options of the sdl package but the libsdl ebuild in the portage tree doesn't allow for disabling it. There are some people who are experiencing mouse problems because of the dgamouse extension with xorg-server 1.4. This enables you to build libsdl with dgamouse disabled.
Comment 5 Billy DeVincentis 2008-02-10 00:23:26 UTC
Created attachment 143070 [details]
Difference between ebuilds
Comment 6 Ben Leggett 2008-02-11 20:37:28 UTC
I encountered a remarkably similar problem about the time when I upgraded xf86-input-evdev to 1.2.0. Are the poeple with this problem using evdev?

Anyway, the short-term fix I used is to place this in my xorg.conf:

Section "Module"
	SubSection "extmod"
              Option  "omit XFree86-DGA"
        EndSubSection
EndSection

That worked for me, but I'm still not sure exactly what caused this problem in the first place.
Comment 7 Billy DeVincentis 2008-02-12 03:08:45 UTC
When  I  get  a  chance  I  will  test  to  see  if  that  will  change  anything.  But  Im  not  using  evdev.  Not  for  my  mouse.
Comment 8 Billy DeVincentis 2008-02-13 02:45:22 UTC
Your xorg entry solves problem. Seems easier than new ebuild so thats the better fix,  but  still,  why  is  it  that we need to do this?