LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2013, 10:33 AM   #1
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Rep: Reputation: 50
Anyone is able to play Dota 2 in Slackware with mesa 10 R600 driver


Hello guys.
I update my kernel to 3.12 family and update my mesa lib to version 10 (both 64 and 32 bits). Everything works nice, including DPM, vdpau acceleration, etc.
I wanted to try this driver with steam games, namely DOTA 2.
I installed libtxc_dxtn to deal with st3c compressed textures and the game starts without any issue.

However if I start a match, after the loading the game crash and stops working.
With AMD drivers I was able to play the game without any issue.

Anyone have a recommendation or solution?
 
Old 12-21-2013, 11:32 AM   #2
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
I don't know if it helps but Dota with my video hybrid intel/ati chips I'am getting a slow rendering.
I'd look for logs. Maybe steam provides one?
Secondarily, maybe there is the way to debug mesa itself by setting some debug variables?
 
Old 12-21-2013, 11:46 AM   #3
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by fuorviato View Post
I don't know if it helps but Dota with my video hybrid intel/ati chips I'am getting a slow rendering.
I'd look for logs. Maybe steam provides one?
Secondarily, maybe there is the way to debug mesa itself by setting some debug variables?
I tried trine 2 and it work without any issue.

Here is the steam dump.

Last edited by mlpa; 12-21-2013 at 02:09 PM. Reason: Added a dump file
 
Old 12-22-2013, 06:35 AM   #4
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Are you sure of running the last, stable version of the game? The dump contains this line:
Quote:
/home/mantunes/.local/share/Steam/SteamApps/common/dota 2 beta/dota.sh
.
If it's a beta try to update to the latest version.
In case it didn't work, try to downgrade mesa to 9.x, maybe the game itself doesn't deal properly with the newest.
 
Old 12-22-2013, 07:36 AM   #5
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by fuorviato View Post
Are you sure of running the last, stable version of the game? The dump contains this line: .
If it's a beta try to update to the latest version.
In case it didn't work, try to downgrade mesa to 9.x, maybe the game itself doesn't deal properly with the newest.
Hi, I am using the latest version of the game. I am assuming that the command is just a legacy path.
With 9.1.7 it had the same result.
Maybe I should try with 9.2.x.
 
Old 12-22-2013, 09:20 AM   #6
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by mlpa View Post
Hi, I am using the latest version of the game. I am assuming that the command is just a legacy path.
With 9.1.7 it had the same result.
Maybe I should try with 9.2.x.
I tried with mesa 9.2.5 and it still crashes.
With mesa end gl debug option turned on it dumps several:
Quote:
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawRangeElements(incomplete framebuffer)
 
Old 12-22-2013, 09:41 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The system requirements for that game on its Steam site explicitly state that you need the proprietary driver. This is usually only the case for games which need functionality that is currently not present in the free driver. I guess you will have to wait until that functionality is present in the free driver (file a bug to let the Mesa developers know) or use the AMD driver.
 
Old 12-23-2013, 04:21 AM   #8
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Quote:
Originally Posted by TobiSGD View Post
The system requirements for that game on its Steam site explicitly state that you need the proprietary driver. This is usually only the case for games which need functionality that is currently not present in the free driver. I guess you will have to wait until that functionality is present in the free driver (file a bug to let the Mesa developers know) or use the AMD driver.
Not really. I can play it on my intel OSS driver. The rendering is slow but the game does start.
So problem must be lying somewhere else. Unfortunately, I'm out of one-shot suggestion here.

After a research on google, it seems some intel cards doesn't support this framebuffer function in opengl.
Can you tell me what does this say?
Quote:
glxinfo|grep framebuffer
 
Old 12-23-2013, 07:27 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by fuorviato View Post
Not really. I can play it on my intel OSS driver.
The Intel and the radeon driver are not the same. It may be possible that the Intel developers (who in the last years heavily work on their drivers) just have already something implemented that the radeon drivers haven't.

Quote:
So problem must be lying somewhere else.
When it is not Mesa it is very likely that it is the radeon driver. Again, file a bug against this, the radeon driver developers are helpful and friendly people.
Quote:
After a research on google, it seems some intel cards doesn't support this framebuffer function in opengl.
Can you tell me what does this say?
Sorry, but my knowledge about OpenGL is limited, so I don't know what those functions are for and in which context they are used. This is what I get when I run that command (kernel 3.12, libdrm 2.4.50, Mesa 10.0.1):
Code:
>>> glxinfo|grep framebuffer                                                                                                           demon 13:24:28 ~ [INS]
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object, 
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary, 
    GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_framebuffer_blit, 
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled, 
    GL_EXT_framebuffer_sRGB, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, 
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object, 
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, 
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled, 
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB,
 
Old 12-24-2013, 11:33 AM   #10
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
I was finally able to play DOTA 2 with Mesa R600 drivers.
It appears that the slackbuild for mesa misses some important switches.
Using this configuration I was able to play DOTA 2 in my laptop:
Quote:
DRI_DRIVERS="radeon,swrast"
GALLIUM_DRIVERS="r600,swrast"

./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/mesa-$VERSION \
--with-dri-driverdir=/usr/lib${LIBDIRSUFFIX}/xorg/modules/dri \
--with-dri-drivers="$DRI_DRIVERS" \
--with-gallium-drivers="$GALLIUM_DRIVERS" \
--enable-vdpau \
--enable-osmesa \
--enable-gles1 \
--enable-gles2 \
--enable-texture-float \
--enable-gbm \
--enable-glx-tls \
--disable-static \
--enable-gallium-llvm \
--enable-gallium-gbm \
--enable-shared-glapi \
--build=$ARCH-slackware-linux
With a Ati 5700 the performance is quite acceptable +/- 45 fps.
The attachment provides the full slackbuild.
Attached Files
File Type: txt mesa.txt (5.3 KB, 45 views)
 
Old 12-24-2013, 06:29 PM   #11
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Ah, so ok. This a a distro issue. I am glad to hear it's solved now
 
  


Reply

Tags
amd, crash, mesa3d, steam


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dota 2 slackware 14 linux not launch ZGNULINUX Slackware 12 06-01-2014 02:46 PM
LXer: Play DotA clone Heroes of Newerth on Linux Natively For Free LXer Syndicated Linux News 0 08-04-2011 06:00 AM
LXer: Here's The R600 Gallium3D Driver Running Gears LXer Syndicated Linux News 0 07-24-2010 11:40 AM
LXer: Open-Source ATI R600/700 Mesa 3D Performance LXer Syndicated Linux News 0 02-09-2010 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration