Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59429 - radeon dri module doesn't handle switching game to game menu well
Summary: radeon dri module doesn't handle switching game to game menu well
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 11:18 UTC by Sebastian
Modified: 2004-10-21 22:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2004-08-04 11:18:34 UTC
Hello :)

When I play Enemy Territory the menus are awfully slow. I mean, not too bad, but it stinks. I use xorg-x11-6.7.0-r2 and gentoo-dev-sources-2.6.7-r11. So for accel I use the xorg-2d driver (don't know if this is relevant) and for 3d the kernel radeon dri driver.

I get these messages in Xorg.0.log:

(WW) RADEON(0): [dri] RADEONDRITransitionTo2d: kernel failed to unflip buffers.

Maybe this is a pointer in the right direction. I only get this message when playing enemy territory.

I think that when I enter the menu of the game acceleration gets turned off accidently.

Can this be fixed here? Or should I better talk to torvalds personally :) How would I reach him? :)

Thanks

Sebastian

Reproducible: Always
Steps to Reproduce:
1. use radeon dri kernel driver
2. play et
3. enter the emnu

Actual Results:  
Menus are displayed awfully slow

Expected Results:  
menus fast as fsck

emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer
-pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mmmx -msse -msse2 -mfpmath=sse
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://128.213.5.34/gentoo/ http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb gdbm mmx ncurses nls pam perl pwdb python readline sse ssl tcpd x86
zlib"

blood root #
Comment 1 Luca Barbato gentoo-dev 2004-08-04 13:46:18 UTC
seems a specific problem related to the game, which is your video board?
Comment 2 Sebastian 2004-08-04 14:25:52 UTC
Hello!

It's a Radeon 9200 (mobile) with 64 MB non-shared memory.

sk@blood sk $ dmesg | grep ATI
radeonfb: ATI Radeon \a  DDR SGRAM 64 MB
[drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc RV250 5c61 [Radeon Mobility 9200 M9+]
sk@blood sk $

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV250 5c61 [Radeon Mobility 9200 M9+] (rev 01)

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV250 5c61 [Radeon Mobility 9200 M9+] (rev 01) (prog-if 00 [VGA])
        Subsystem: Acer Incorporated [ALI]: Unknown device 003c
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (2000ns min), cache line size 04
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at a8000000 (32-bit, prefetchable)
        Region 1: I/O ports at c100 [size=256]
        Region 2: Memory at e0010000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

That's what I can dig up at the moment. 

Greets

Sebastian
Comment 3 Sebastian 2004-08-11 23:24:43 UTC
It doesn't happen with ati-drivers. I tried them for kicks. But I don't use them in real life. ati-drivers also has problems with the radeonfb kernel module.

Maybe this is not the right place for all this. How could I reach the radeon dri kernel driver author?

Greets
Sebastian
Comment 4 Luca Barbato gentoo-dev 2004-08-11 23:31:29 UTC
Please try the next xorg-x11 when is released

useful link:

dri.sf.net

http://www.freedesktop.org/Software/xorg
Comment 5 Sebastian 2004-08-11 23:36:21 UTC
Hello Luca,

will do :]

Sebastian
Comment 6 Sebastian 2004-09-01 09:33:23 UTC
Hello,

I emerged xorg-x11-6.7.99.903.ebuild and the problem still persists if this is of any relevance.

Greets
Sebastian
Comment 7 Luca Barbato gentoo-dev 2004-10-21 00:25:15 UTC
could you test if the bug is still valid with the latest xorg and kernel?
Comment 8 Sebastian 2004-10-21 11:54:07 UTC
Hello,

I just got linux 2.6.9 installed. Xorg 6.8.0 was already installed. Now the 2D menus are just fine. 

Thanks to whoever fixed it!

Sebastian
Comment 9 Luca Barbato gentoo-dev 2004-10-21 22:38:26 UTC
Closing