Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48934 - Fakenes causes suspend when using DGA with ati-drivers.
Summary: Fakenes causes suspend when using DGA with ati-drivers.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 05:32 UTC by Marcos González
Modified: 2005-08-11 12:28 UTC (History)
0 users

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 Marcos González 2004-04-25 05:32:33 UTC
If DGA support is enabled in the Xserver options, when using ATI binary drivers, Fakenes detects DGA is available when starting, and selects it automatically, then monitor gets in a sort of stand-by mode and cannot be waken up.

Reproducible: Always
Steps to Reproduce:
1. Install ATI propietary drivers
2. Enable DGA in Xserver config
3. Run Fakenes

Actual Results:  
Monitor enters a sort of stand-by mode and I have to reboot blindly.
If DGA is disabled in /etc/X11/XF86Config, Fakenes starts perfectly. I have DGA
enabled to allow vmWare to switch to fullscreen.
The fix is: "selecting a rendering option inside fakenes should be stored and
used next time you start the program, and not using autodetection the next time
you start Fakenes because chooses DGA and the problem arises"

Expected Results:  
Fakenes should start fullscreen and the monitor not suspend. In fact, with DGA
disabled in the Xserver, Fakenes selects another fullscreen rendering mode and
everything works fine, but when you re-enable DGA in the Xserver the problem
arises again

gentoo-dev-sources 2.6.5
ati-drivers 3.2.8
xorg-x11 6.7.0
fakenes 0.3.0

* DGA enabled (fakenes fails switching fullscreen mode):

    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

* DGA disabled (fakenes works) but vmWare fails to set fullscreen mode:

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

max root # emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -msse -m3dnow -mmmx
-mfpmath=sse,387 -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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -msse -m3dnow -mmmx
-mfpmath=sse,387 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="http://212.219.247.15/sites/www.ibiblio.org/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://gentoo.inode.at/source/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib acpi alsa apache2 apm autofs avi berkdb bonobo cddb cdr
crypt cups dga directfb encode esd evo fam fbcon flash foomaticdb freetype gdbm
gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java
javascript joystick jpeg lcms ldap libg++ libwww mad mikmod mldonkeypango mmx
mozilla mpeg music ncurses net nls nocardbus offensive oggvorbis opengl oss pam
pdflib perl plotutils png pnp python quicktime readline rogue ruby sdl slang
spell sse ssl stencil-buffer svga tcltk tcpd tiff truetype usb wmf x86 xatrix
xface xml xml2 xmms xv xvid zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-09-13 01:12:21 UTC
How about 0.3.1?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-09-13 16:10:11 UTC
... and latest X and drivers.

Reopen after trying the latest please.
Comment 3 Marcos González 2004-09-14 01:56:46 UTC
Sorry for the waiting, but to test it I waited to having to halt my computer, as fakenes with DGA enabled makes my monitor hibernate and I have to reboot my machine blindly, and lost anything that's opened in that moment.

With fakenes 0.3.1, and ati-drivers 3.12.0, fakenes with a X.org server (6.7.0-r2) with DGA extensions activated suspends the monitor (as any other DGA enabled app, i.e. wine if I activate DGA in the config file), and without them can't switch to fullscreen. Just like before.

Wine can go fullscreen without DGA; I think it's one of the things fakenes developers should fix: fullscreen without DGA, and not switching autoamtically to DGA at startup whenever DGA is available, although previously te user had selected another video driver.

I can't try the X.org 6.8.0 release as the ATI drivers make it crash whenever I start an OpenGL app (or simply load Gnome). But dont think it'll make a difference, as the problem seems to be in the ATI drivers.

I talked with the fakenes developers via IRC and they told me that behaviour of picking DGA without option of selecting another by default, is an allegro thing, and we couldn't solve it.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-09-14 02:15:07 UTC
Still... sounds like the ati-drivers are having a little too much fun.  Ccing the X team to get their take on it.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-09-23 19:46:24 UTC
Transfering to x11 since the problem isn't with fakenes as far as I can tell but with the ati-drivers.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-30 14:05:42 UTC
Can you reproduce this using X's supplied "radeon" driver?
Comment 7 Luca Barbato gentoo-dev 2005-04-11 04:05:21 UTC
Could you please test the latest drivers? (those work with the latest xorg-x11)
Comment 8 Marcos González 2005-04-11 15:11:58 UTC
I sold the Radeon long ago to buy a GeforceFX. Sorry.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 12:28:41 UTC
(In reply to comment #8)
> I sold the Radeon long ago to buy a GeforceFX. Sorry.

Closing then until someone can test this.