Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-21-2013, 10:33 AM
|
#1
|
Member
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542
Rep:
|
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?
|
|
|
12-21-2013, 11:32 AM
|
#2
|
Member
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215
Rep:
|
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?
|
|
|
12-21-2013, 11:46 AM
|
#3
|
Member
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542
Original Poster
Rep:
|
Quote:
Originally Posted by fuorviato
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
|
|
|
12-22-2013, 06:35 AM
|
#4
|
Member
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215
Rep:
|
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.
|
|
|
12-22-2013, 07:36 AM
|
#5
|
Member
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542
Original Poster
Rep:
|
Quote:
Originally Posted by fuorviato
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.
|
|
|
12-22-2013, 09:20 AM
|
#6
|
Member
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542
Original Poster
Rep:
|
Quote:
Originally Posted by mlpa
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)
|
|
|
|
12-22-2013, 09:41 AM
|
#7
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
12-23-2013, 04:21 AM
|
#8
|
Member
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215
Rep:
|
Quote:
Originally Posted by TobiSGD
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?
|
|
|
12-23-2013, 07:27 AM
|
#9
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by fuorviato
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,
|
|
|
12-24-2013, 11:33 AM
|
#10
|
Member
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542
Original Poster
Rep:
|
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.
|
|
|
12-24-2013, 06:29 PM
|
#11
|
Member
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215
Rep:
|
Ah, so ok. This a a distro issue. I am glad to hear it's solved now
|
|
|
All times are GMT -5. The time now is 08:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|