LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dota 2 Crashing on Slackware Current (AMD Open Source Drivers) (https://www.linuxquestions.org/questions/slackware-14/dota-2-crashing-on-slackware-current-amd-open-source-drivers-4175511231/)

Sylvester Ink 07-16-2014 12:47 AM

Dota 2 Crashing on Slackware Current (AMD Open Source Drivers)
 
So I finally decided to see how Linux would fare as my main gaming machine, now that all the games I play run on Linux. However, I've been having some trouble getting Dota 2 to run.

First, I switched to Slackware's Current repository. I have a Radeon 6870 videocard, which apparently works very well with the open-source drivers, provided the Linux kernel is post 3.12. Since 14.1 uses version 3.10 (3.11 in testing), Current was the best option.

Then I set up multilib, using the setupmultilib.sh provided with slackpkg+. Afterwards I installed the Steam client via AlienBob's repository. To get it running, I had to install the libtxc_dxtn for texture decompression. This was done through sbopkg. Initially, I built a x64 version, which I installed. Then I built the x86 version. This was done using 32dev.sh to set up the environment for 32 bit development (part of AlienBob's compat32-tools), then ran sbopkg with ARCH=i486 set to build (but not install) the package. The resulting package was run through convertpkg-compat32, then installed.

In short, I'm pretty sure I got everything set up about right. I think.

Steam starts up and runs properly, and Dota 2 runs as well, but when I actually try to join a game (just bots for now) to test it out, the game crashes as soon as the map loads.

Here's the output I'm getting in the terminal:

Code:

SDL video target is 'x11'
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system DOES NOT support the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
GL_NVX_gpu_memory_info: UNAVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_MAX_SAMPLES_EXT: 8
Adding VPK file: /home/sylvester/.local/share/Steam/SteamApps/common/dota 2 beta/dota/sound_vo_english
Adding VPK file: /home/sylvester/.local/share/Steam/SteamApps/common/dota 2 beta/dota/pak01
Adding VPK file: /home/sylvester/.local/share/Steam/SteamApps/common/dota 2 beta/platform/pak01
Did not detect any valid joysticks.
WARNING: unable to link Test_StartScript and Test_StartScript because one or more is a ConCommand.
WARNING: unable to link Test_RandomChance and Test_RandomChance because one or more is a ConCommand.
WARNING: unable to link Test_LoopForNumSeconds and Test_LoopForNumSeconds because one or more is a ConCommand.
WARNING: unable to link Test_Loop and Test_Loop because one or more is a ConCommand.
WARNING: unable to link Test_LoopCount and Test_LoopCount because one or more is a ConCommand.
WARNING: unable to link Test_StartLoop and Test_StartLoop because one or more is a ConCommand.
WARNING: unable to link log_flags and log_flags because one or more is a ConCommand.
WARNING: unable to link log_color and log_color because one or more is a ConCommand.
WARNING: unable to link log_verbosity and log_verbosity because one or more is a ConCommand.
WARNING: unable to link log_level and log_level because one or more is a ConCommand.
WARNING: unable to link log_dumpchannels and log_dumpchannels because one or more is a ConCommand.
Load a scaleform font provider?
Creating D3D9 device with D3DCREATE_MULTITHREADED
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1200, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: DISABLED

 ##### swap interval = 0    swap limit = 1 #####
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
!! Controller config file passed by steamworks game 570 did not exist at /home/sylvester/.local/share/Steam/SteamApps/common/dota 2 beta/dota/cfg/controller.vdf
Installing breakpad exception handler for appid(steam)/version(1405123404_client)
[0715/223914:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0715/223914:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(dota_linux)/version(1.0_client)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197968687636 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561197968687636
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ERROR: ld.so: object '/home/sylvester/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20140715223856_1.dmp
/home/sylvester/.local/share/Steam/SteamApps/common/dota 2 beta/dota.sh: line 77:  7090 Segmentation fault      ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 570 "Dota 2", ProcID 7090

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:6504): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
Finished uploading minidump (out-of-process): success = no
error: HTTP response code said error
pid 7143 != 7142, skipping destruction (fork without exec?)

My initial guess is that it seems like there's an issue with the 64-bit gameoverlayrenderer.so file being loaded, instead of the 32-bit one, but I'm not sure if I'm reading the messages correctly.

Anyone have any advice? I'm guessing this issue would apply to most of Valve's Source games, so if anyone has had a similar experience with another game, like TF2 or Portal, that might help.

Sorry for being verbose, I just want to make sure the process I took to get to this point is known, in case I messed up an earlier step.

ReaperX7 07-16-2014 02:18 AM

Looks like a problem with dbus-glib dependency error and other packages aren't resolved for 32-bit software.

The error log should tell you which packages might be needed as it is looking for them and not finding them.

Sylvester Ink 07-16-2014 11:13 AM

Quote:

Originally Posted by ReaperX7 (Post 5204589)
Looks like a problem with dbus-glib dependency error and other packages aren't resolved for 32-bit software.

The error log should tell you which packages might be needed as it is looking for them and not finding them.

Thanks for the response! Which error log are you referring to, and where would it be located?

mlpa 07-16-2014 01:52 PM

I had the same issue with the mesa driver from slackware.
To run steam games in slackware you need a couple of things:
1 - 32 bits libraries
2 - Recompile mesa drivers with several modifications
3 - s2tc (opengl texture extension)

If you use slackware64 you have to install alien bob multilib.
I made slackbuilds for the latest mesa and s2tc, you can find them here: https://github.com/mariolpantunes/sl...er/slackbuilds
Take into account that my mesa slackbuild is just for AMD R600 driver, you do not specify which AMD card you use.

If you are interested I can compile some packages for you system.

ReaperX7 07-16-2014 04:28 PM

The terminal output you posted shows several indications. The dbus-glib child process error is the most pronounced also.

Sylvester Ink 07-17-2014 01:34 AM

I have multilib installed, and that includes the dbus multilib libraries. I also have the s3tc library installed. I'm not sure I need s2tc, but I'll keep that in mind in case I do. I also started up NetworkManager, as it seems that Steam is looking for it, though I'm not sure why. (Unlikely that's causing the crash, but might as well give it a try.)

However, it looks like Pat just uploaded a boatload of packages to current, including a new Xorg version, so it seems I'll have to hold off trying to fix anything until current stabilizes and Eric uploads the associated multilib files. (I could make them myself, I guess, but it would probably be best to wait for the official sources.)

So I guess I'll have to come back to this once everything settles down and bug you guys then.

ZGNULINUX 08-01-2014 02:07 AM

Hi , i have the same problem , my dota windows crash after loading screen just when gonna start game , maybe you can add me and we can try to solve this ,

Sylvester Ink 08-02-2014 02:24 PM

Quote:

Originally Posted by ZGNULINUX (Post 5213003)
Hi , i have the same problem , my dota windows crash after loading screen just when gonna start game , maybe you can add me and we can try to solve this ,

I'd be happy to add you. As for me, for now I've temporarily solved the issue by rolling back to Slackware 14.1 and installing the proprietary drivers. The game runs perfectly fine for now. I plan to wait for the next official Slackware release, which should have kernel 3.14+. The problem with running Current (for me) is that the updates compounded the problems so that Steam wouldn't even start. (I think this is due to some of the new Xorg packages not being built for 32-bit or something related.) Once things stabilize for the release, it will be a lot easier to get it working, so for now I can be patient and wait.

Also, one thing you should note is that Dota 2 needs OpenAL (with 32-bit multilib) installed to run. I strongly suspect this was the original cause of my problems. (I installed it just after I installed the proprietary drivers) So you may want to install that and check if your problem is solved.

In any case, the Arch wiki has some useful hints for Steam and Dota, as always:
https://wiki.archlinux.org/index.php/steam
https://wiki.archlinux.org/index.php...hooting#Dota_2

Not all of it is necessary (you don't need PulseAudio, for example), but the Arch pages should give you some good references as you troubleshoot the issues.


All times are GMT -5. The time now is 02:46 PM.