I emerged latest ati-drivers-3.14.6, and trying to play doom3-demo, but every time, when I tryed to start new game my system hanged (just before displaying 3D world). Game loads without troubles, and menu works perfectly, but trying to start initial level implicates in computer freeze. my emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(tm) Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -fweb -frename-registers" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -fweb -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache collision-protect distlocks nostrip sandbox sfperms" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/wojtek" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aalib acpi alsa apache2 avi berkdb bitmap-fonts bonobo cdr crypt cscope cups dga divx dvd encode esd f77 faad fam flac flash foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg libg++ libwww mad matroska mikmod mmx mmx2 motif mozilla mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png posix postgres python quicktime readline samba sdl slang speex spell sqlite sse ssl svga tcltk tcpd theora threads tiff truetype wmf x86 xml xml2 xmms xv xvid zlib" Reproducible: Always Steps to Reproduce: 1. emerge media-video/ati-drivers-3.14.6 2. run doom3-demo 3. try to run initial level Actual Results: computer hangs Expected Results: normal game play
There might not be much we can do about this, as both doom3-demo and the ati-drivers are binary. What are your system specs? What CPU/motherboard/RAM/Video? Did you re-run opengl-update ati after installing the drivers? Have you tried running it again? What version of opengl-update are you running?
> What are your system specs? What CPU/motherboard/RAM/Video? Athlon 3000+ (Barton)/Abit NF7-S v2.0/512MB/Radeon 9800 128MB(GeCube) > Did you re-run opengl-update ati after installing the drivers? Yes > Have you tried running it again? ?? I don't understand... > What version of opengl-update are you running? opengl-update-1.8.1-r1
Have you tried doing something like: opengl-update xorg-x11 && opengl-update ati Also, this is definitely *not* a problem with the game, as Id has pretty much said that if you're running an ATI card that you're SOL. Since I have little to no experience with anything ATI-related other than a massive amount of complaints, I'm afraid I won't be of much help. Because of that, I am reassigning this to the x11 team.
Matthew, is this a known problem? If so, I'd like to get it resolved UPSTREAM.
Not that we know of. Please advise if repeatable on other platforms other than this one user (could be MB/AGP chipset/overclocked system/etc.. The discussion about doom3 + ATI, is historic. Donnie, feel free to get Chris to contact me about other issues that he may have seen. Matt
> Have you tried doing something like: opengl-update xorg-x11 && opengl-update ati Yes, I tried this trick, and also I checked if links were pointed to appropriate OpenGL libraries, and it was OK. My hardware isn't overclocked neither CPU nor graphic card, also RAM is OK. This bug is _really_ always reproducible.
There's also problem with other games like UT2004. There are many game pauses for about 1-2 seconds during game play. The game works, and there isn't any graphical artifactacts but, every ~10 seconds game freezes for 1-2 seconds (sound behaves normally - no pauses, only graphic). During those pauses I can switch between text console and X11, so system is OK. It is impossibile when it hangs in Doom3.
Can you confirm that you have direct rendering working? `glxinfo | grep render` Do other OpenGL-using games/programs work fine? For example, ut2003-demo, enemy-territory. You could also try running the game from gdb. Which xorg-x11 version/revision is this?
>`glxinfo | grep render` direct rendering: Yes GLX_ATI_render_texture OpenGL renderer string: RADEON 9800 Pro Generic > Do other OpenGL-using games/programs work fine? For example, ut2003-demo, enemy-territory. Yes, I have written my experience with ut2004 above. It works, but not perfectly. > Which xorg-x11 version/revision is this? xorg-x11-6.7.0-r2 > You could also try running the game from gdb Hmm, this binary is stripped, but anyway, what information are you looking for?
> Hmm, this binary is stripped, but anyway, what information are you looking for? Anything useful.
I have exactly the same problem when I run quake3. my emerge info : Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r10 i686) ================================================================= System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.5 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -pipe -O2 -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3 /env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /us r/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -pipe -O2 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis tributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam f lac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg j unit kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pa m pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tc ltk tcpd tiff truetype x86 xml2 xmms xv zlib"
hmmmm... not exactly, because my quake3 menu doesn't work perfectly (I don't know how I can explain that, it's like I have 2 fps) There is an error from quake3 too : FGLTexMgr: open of shared memory object failed (Function not implemented) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!! Have you this sort of error too with doom3? PS : sorry for my english :|
ok, there is something for my problem, and it works perfectly : http://www.ati.com/support/infobase/4687.html I hope that you have the same thing (then you could resolve it =)) ) You can also test it with mplayer, I had this error too when I played avi files with this command : mplayer -vo gl2 file
Emmanuel the stock gentoo fstab has that line by default tmpfs /dev/shm tmpfs defaults 0 0 why did you remove it?
Well, I didn't remove it, it was not on my /etc/fstab (I don't know why, propably because I'm a newbie, and I didn't follow a good install steps by missing something important :| ) The drivers 3.14.1 works without this line also, then that didn't disturb me before.
I have /dev/shm mounted, it is in default fstab. Because of some problems with root filesystem, I reinstalled my whole system (on fresh fs). It didn't help, so problem exists in ATI drivers. My sugestion is that it may be connected with recent change in modules API in kernel (2.6.9). During compilation, there are few warnings about incompatibile pointers. Maybe that's the reason. My console output of Doom3: wojtek@athlon /mnt/m1/games/doom3-demo $ ./doom3-demo DOOM 1.1.1282 linux-x86 Oct 4 2004 08:27:55 Hostname: localhost Alias: athlon.wojtek.home Alias: athlon IP: 127.0.0.1 ------ Initializing File System ------ Loaded pk4 /mnt/m1/games/doom3-demo/demo/demo00.pk4 with checksum 0x93fac1e4 Current search path: /home/wojtek/.doom3-demo/demo /mnt/m1/games/doom3-demo/demo /mnt/m1/games/doom3-demo/demo/demo00.pk4 (12234 files) game DLL: 0x0 in pak: 0x0 file system initialized. -------------------------------------- Running in restricted demo mode. ----- Initializing Decls ----- ------------------------------ ------- Initializing renderSystem -------- using ARB renderSystem renderSystem initialized. -------------------------------------- 5151 strings read from strings/english.lang Couldn't open journal files couldn't exec editor.cfg execing default.cfg execing DoomConfig.cfg couldn't exec autoexec.cfg 5151 strings read from strings/english.lang ----- Initializing Sound System ------ sound system initialized. -------------------------------------- ----- R_InitOpenGL ----- dlopen(libGL.so.1) Open X display Initializing OpenGL display Using XFree86-VidModeExtension Version 2.2 Xlib: extension "XFree86-DGA" missing on display ":0.0". Failed to detect DGA DirectVideo Mouse Free86-VidModeExtension Activated at 1280x1024 Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display. GL_RENDERER: RADEON 9800 Pro Generic GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SUN_multi_draw_arrays ------- Input Initialization ------- XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK XKB extension present on server ( 0x1:0x0 ) ------------------------------------ ----------- OSS Sound Initialization ----------- opened sound device '/dev/dsp' /dev/dsp - bit rate: 16, channels: 2, frequency: 44100 ------------------------------------------------ ...using GL_ARB_multitexture ...using GL_ARB_texture_env_combine ...using GL_ARB_texture_cube_map ...using GL_ARB_texture_env_dot3 ...using GL_ARB_texture_env_add X..GL_ARB_texture_non_power_of_two not found ...using GL_ARB_texture_compression ...using GL_EXT_texture_filter_anisotropic maxTextureAnisotropy: 16.000000 ...using GL_EXT_texture_lod ...using GL_1.4_texture_lod_bias X..GL_EXT_shared_texture_palette not found ...using GL_EXT_texture3D ...using GL_EXT_stencil_wrap X..GL_NV_register_combiners not found X..GL_EXT_stencil_two_side not found ...using GL_ATI_separate_stencil ...using GL_ATI_fragment_shader ...using GL_ARB_vertex_buffer_object ...using GL_ARB_vertex_program ...using GL_ARB_fragment_program X..EXT_depth_bounds_test not found ---------- R_NV20_Init ---------- Not available. ----------- R200_Init ----------- GL_NUM_FRAGMENT_REGISTERS_ATI: 6 GL_NUM_FRAGMENT_CONSTANTS_ATI: 8 GL_NUM_PASSES_ATI: 2 GL_NUM_INSTRUCTIONS_PER_PASS_ATI: 8 GL_NUM_INSTRUCTIONS_TOTAL_ATI: 16 GL_COLOR_ALPHA_PAIRING_ATI: 1 GL_NUM_LOOPBACK_COMPONENTS_ATI: 3 GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI: 3 FPROG_FAST_PATH --------------------- ---------- R_ARB2_Init ---------- Available. Cg not available. --------------------------------- ---------- R_Exp_Init ----------- Disabled at compile time. --------------------------------- ----- R_ReloadARBPrograms ----- glprogs/test.vfp glprogs/test.vfp glprogs/interaction.vfp glprogs/interaction.vfp glprogs/bumpyEnvironment.vfp glprogs/bumpyEnvironment.vfp glprogs/ambientLight.vfp glprogs/ambientLight.vfp glprogs/shadow.vp glprogs/R200_interaction.vp glprogs/nv20_bumpAndLight.vp glprogs/nv20_diffuseColor.vp glprogs/nv20_specularColor.vp glprogs/nv20_diffuseAndSpecularColor.vp glprogs/environment.vfp glprogs/environment.vfp ------------------------------- using ARB_vertex_buffer_object memory using ARB2 renderSystem --------- Initializing Game ---------- gamename: baseDOOM-1 gamedate: Oct 4 2004 Initializing event system ...472 event definitions Initializing class hierarchy ...141 classes, 381376 bytes for event callbacks Initializing scripts /proc/cpuinfo CPU frequency: 2104.7 MHz Compiled 'removeInitialSplineAngles': 1970.1 ms ---------- Compile stats ---------- Memory usage: Strings: 79, 12656 bytes Statements: 67783, 1355660 bytes Functions: 2108, 250452 bytes Variables: 147320 bytes Mem used: 2476308 bytes Static data: 2277552 bytes Allocated: 3283404 bytes Thread size: 7068 bytes ...6 aas types game initialized. -------------------------------------- -------- Initializing Session -------- session initialized -------------------------------------- --- Common Initialization Complete --- terminal support enabled ( use +set in_tty 0 to disabled ) pid: 25160 496 MB System Memory guessing video ram ( use +set sys_videoRam to force ) .. guess failed, return default low-end VRAM setting ( 64MB VRAM ) 64 MB Video Memory Async thread started --------- Game Map Shutdown ---------- -------------------------------------- Shutting down sound hardware ----------- OSS Sound Shutdown ----------- unmap dma sound buffer close sound device ------------------------------------------ idRenderSystem::Shutdown() ------------ Game Shutdown ----------- --------- Game Map Shutdown ---------- -------------------------------------- Shutdown event system -------------------------------------- shutdown terminal support
I'll be adding a new version of the doom3-demo this weekend, so I would say we could probably have this bug depend on bug #73228. At the same time, even Id has said "Do not send me reports about the game not working on ATI card. Either with fglrx driver or the DRI driver. We know about this already, and at this point there is nothing we can do." I'm not sure what we plan to do about this if Id themselves cannot fix the problems. For some people, it works, for most, it doesn't.
ati-drivers-3.14.6 isn
ati-drivers-3.14.6 isn´t in portage anymore
Is that a problem? does doom3-demo work with the newer drivers?
I assume that the issue is fixed by the recent drivers, reopen if isn't