Bug 23861 - Mouse cursor gone in Doom 3, other games
Summary: Mouse cursor gone in Doom 3, other games
Status: RESOLVED DUPLICATE of bug 23858
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: high major
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 04:33 UTC by Sven Arvidsson
Modified: 2009-09-14 00:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sven Arvidsson 2009-09-11 04:33:52 UTC
The commit below broke mouse cursor in Doom 3 and a lot of other popular games.

I get an initial cursor, but it quickly disappears offscreen as soon as it is moved, leaving the game unplayable.

fe7693c94a396b9d17bb66a000178750a432ce3a is first bad commit
commit fe7693c94a396b9d17bb66a000178750a432ce3a
Author: Zhenyu Wang <zhenyuw@linux.intel.com>
Date:   Wed Sep 2 22:57:33 2009 +0800

    Make DGA optional
    
    As DGA is optional in xserver, we should check this too instead
    of always trying to init DGA.
    
    Found when update xserver to 6fffcd5825454a7fe58ffbcfb219f007cf38e731,
    but not update xf86dgaproto, which caused X fails to start.
    
    Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>

:040000 040000 bf0eb307cf3c9c6efec5abf1ea35f84857c2b7e8 23c5d5fcf4649cc759939d24e45c1134f94f9930 M	src

System environment:
-- chipset: G45 / ICH10R
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- Machine or mobo model: Asus P5Q-EM
-- Display connector: DVI
-- KMS: enabled
-- xf86-video-intel: efbcf29dd1a1ca058b7a2a93f0685102c06c9369
-- xserver: 1.6.3
-- mesa: 7c0152fbaeb21ab423a9de339b85c54d1713432b
-- drm: 67e4172394a88d4922fb8d9c7c3d96ce7e02c5a6
-- kernel: 2.6.31-rc9
Comment 1 Sven Arvidsson 2009-09-12 07:21:38 UTC
So I guess basically XFreeXDGA actually needs to be #defined somewhere, or else xf86-video-intel is built without DGA?
Comment 2 Sven Arvidsson 2009-09-12 07:58:45 UTC
Apologies! The first bisect was wrong, this should be it:

50d8b295f6c950da3b8783ff6e1803bdfbb5c7cc is first bad commit
commit 50d8b295f6c950da3b8783ff6e1803bdfbb5c7cc
Author: Brian Paul <brianp@vmware.com>
Date:   Tue Sep 1 12:05:41 2009 -0600

    intel: use _mesa_meta_clear(), it's a bit faster

:040000 040000 81f24fd1186fda701bd343d7e3c4428c10494477 40f6ebb2f756d7054fb2ea940183bc8ad5154ed0 M	src
Comment 3 Sven Arvidsson 2009-09-12 07:59:57 UTC
(In reply to comment #2)
> Apologies! The first bisect was wrong, this should be it:

Please ignore, wrong bug report.
Comment 4 Sven Arvidsson 2009-09-12 08:34:30 UTC
(In reply to comment #1)
> So I guess basically XFreeXDGA actually needs to be #defined somewhere, or else
> xf86-video-intel is built without DGA?
> 

XFreeXDGA is obviously already set xorg-server.h, duh!

It's "if (!pI830->use_drm_mode)" which is causing the problem. 

I also noticed the following errors logged by the game:
Fatal X Error:
  Major opcode of failed request: 130
  Minor opcode of failed request: 2
  Serial number of failed request: 148
XF86DGANoDirectVideoMode
Fatal X Error:
  Major opcode of failed request: 130
  Minor opcode of failed request: 2
  Serial number of failed request: 1497
XF86DGANoDirectVideoMode
Comment 5 Gordon Jin 2009-09-13 18:01:51 UTC
Sven, thanks for the report. So what's the actual bisect result?

I agree this is probably the same as bug#23858
Comment 6 Gordon Jin 2009-09-14 00:49:03 UTC

*** This bug has been marked as a duplicate of bug 23858 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.