[SOLVED] warzone2100 sbo on 14.1 with ati R7 graphics not working.
SlackwareThis 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.
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.
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Rep:
warzone2100 sbo on 14.1 with ati R7 graphics not working.
warzone2100 sbo package compiles, but crashes when you try to play a game (by clicking on new campaign, or tutorial etc).
I am running slackware 14.1 (64bit and 32bit separately, dual boot) on amd A8 7600 APU which has on-chip R7 graphics.
I have installed OpenAL, physfs and quesogl from sbo (and also tried with GLee).I have the proprietary drivers installed (14.501.1003-141120a-178002C) (mainly because celestia and chromium-bsu is unusably slow with the open source ones)
the output I get (when running from Konsole) is below.
Code:
info |10:03:36: [realmain:1133] Using /root/.warzone2100-3.1/logs/WZlog-0426_220336.txt debug file
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/xorg/modules/dri/swrast_dri.so
libGL error: failed to load driver: swrast
popup |10:03:37: [screenInitialise:187] OpenGL GLSL shader version 1.20 is not supported by your system. Some things may look wrong. Please upgrade your graphics driver/hardware, if possible.
info |10:03:44: [seq_Play:565] unable to open 'sequences/cam1/c001.ogg' for playback
error |10:03:46: [initTerrain:803] Your graphics card and/or drivers do not seem to support glDrawRangeElements, needed for the terrain renderer.
error |10:03:46: [initTerrain:804] - Do other 3D games work?
error |10:03:46: [initTerrain:805] - Did you install the latest drivers correctly?
error |10:03:46: [initTerrain:806] - Do you have a 3D window manager (Aero/Compiz) running?
error |10:03:46: [levLoadData:1038] Failed stageThreeInitialise()!
fatal |10:03:46: [startGameLoop:771] Shutting down after failure
AL lib: (EE) alc_cleanup: 1 device not closed
I'm sure I'm not the only person running with ati drivers. has anyone found a way to get warzone to work?
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
I was running as root (xwindows via startx, and logically konsole so root should have full access to the screen/graphics device and stuff), but that seems a fair enough test to see if the software works or not. (I haven't had any issues running anything else as root). I'll try running it as a non-root user, and report back. thanks for the comment.
warzone2100 sbo package compiles, but crashes when you try to play a game (by clicking on new campaign, or tutorial etc).
I am running slackware 14.1 (64bit and 32bit separately, dual boot) on amd A8 7600 APU which has on-chip R7 graphics.
I have installed OpenAL, physfs and quesogl from sbo (and also tried with GLee).I have the proprietary drivers installed (14.501.1003-141120a-178002C) (mainly because celestia and chromium-bsu is unusably slow with the open source ones)
the output I get (when running from Konsole) is below.
Code:
info |10:03:36: [realmain:1133] Using /root/.warzone2100-3.1/logs/WZlog-0426_220336.txt debug file
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/xorg/modules/dri/swrast_dri.so
libGL error: failed to load driver: swrast
popup |10:03:37: [screenInitialise:187] OpenGL GLSL shader version 1.20 is not supported by your system. Some things may look wrong. Please upgrade your graphics driver/hardware, if possible.
info |10:03:44: [seq_Play:565] unable to open 'sequences/cam1/c001.ogg' for playback
error |10:03:46: [initTerrain:803] Your graphics card and/or drivers do not seem to support glDrawRangeElements, needed for the terrain renderer.
error |10:03:46: [initTerrain:804] - Do other 3D games work?
error |10:03:46: [initTerrain:805] - Did you install the latest drivers correctly?
error |10:03:46: [initTerrain:806] - Do you have a 3D window manager (Aero/Compiz) running?
error |10:03:46: [levLoadData:1038] Failed stageThreeInitialise()!
fatal |10:03:46: [startGameLoop:771] Shutting down after failure
AL lib: (EE) alc_cleanup: 1 device not closed
I'm sure I'm not the only person running with ati drivers. has anyone found a way to get warzone to work?
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
response to pataphysician - it makes no difference running xwindows and warzone2100 as a non-root user
to ReaperX7 the output of glxinfo|grep OpenGL is as follows.
Code:
glxinfo|grep OpenGL
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon(TM) R7 Graphics
OpenGL version string: 1.4 (2.1 (4.4.13283 Compatibility Profile Context 14.501.1003))
OpenGL extensions:
If libGL isn't found or not loading could be a permission error.
Try adding your user to the "video" group.
Otherwise, as stated you'll have to install the driver to use it. If you are running the latest mesa, libdrm, kernel, and xf86-video-ati packages from Slackware (check -Current for them if needed), you can try to get the Radeon driver working. You might need libtxc_dxtn from SlackBuilds.org to give proper texture compression support. If you need to setup the driver, use DRIConf from SlackBuilds.org also.
The Proprietary/OEM driver will have varied results. Often these drivers do work, but not very well. Catalyst-14.12 should work for your R7. Just follow the instructions on how to install it.
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
thanks for the pointers. I did download the latest (beta) driver (again). went through the "create a package" option (it detected slackware). it created fglrx-14.20-x86_64-1.tgz
which I re-installed. (it is what I had before). I get 5900 fps for glx gears, and the same error in warzone2100. my (non-root) user is in the video group, amongst a lot of others.
the link posted above takes you to the 14.6 beta drivers. the 14.12 release drivers found here
have this to say about themselves.
Quote:
32-Bit packages must be installed for 64-Bit Linux drivers to install or work.
I already went through a question on LQ about that see here
everything seemed ok (well celestia worked), until I tried with warzone2100.
as per that previous thread, I am trying to keep pure 64bit, to avoid multilib complications, and because I use 64bit (and 32bit seperately) for testing various slackbuilds.
do you think it is a "32 bit" issue.? I'll reboot into 32bit slackware 14.1 (which has the same ati driver) and see if it works there, and will post back here. I'll also download the release driver (14.12) and try that as well.
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
it gives the same error in pure 32bit slackware 14.1
I tried installing the 14.12 release drivers. they appear to be the same as the beta ones (at list when you extract the zip, the fglrx version is the same.
setting LIBGL_DEBUG=verbose; export LIBGL_DEBUG
then running glxinfo gives a little more help
Code:
name of display: :0
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/xorg/modules/dri/swrast_dri.so
libGL error: failed to load driver: swrast
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: ATI
server glx version string: 1.4
as you can see, very generic, created by aticonfig --initial
the attached monitor is a vga lcd screen 1680x1050 resolution, which is detected and runs at that resolution in both 64 and 32bit versions of slackware 14.1 (and windows 7).
Last edited by timsoft; 04-28-2015 at 11:14 AM.
Reason: extra info added
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Original Poster
Rep:
nope. /etc/X11/xorg.conf.d directory is completely empty.
I tried adding a Load "glx" line in the Module section, but it seemed to make no difference. same message with glxinfo.
if it helps, the output when running celestia (which runs just fine) is below
I'm nor sure why swrast is trying to be loaded by both, but celestia must ignore it and runs anyway (I assume that opengl functions are all in the hardware or fglrx driver, so swrast isn't really needed).
I did spot that under system settings-desktop effects some effects (blur, startup feedback and wobbly windows) could not be loaded with message saying the effect requires OpenGL which leads me to think that some software is not recognising the fglrx opengl implementation
Last edited by timsoft; 04-28-2015 at 04:11 PM.
Reason: even more info added
If swrast is loading it means there is a driver failure. You might want to try removing the AMD driver and reinstall the mesa package. Afterwards, just use the free driver. It should work.
The glxinfo readout should report back as AMD FGLRX rather than swrast.
you might want to check for any errors in
/usr/share/ati/fglrx-install.log
also have you checked that you have a file in /etc/modprobe.d/ that blacklists the radeon driver, this would be the open source driver and it needs to be blacklisted
If nothing comes up wrong on the above, I would remove the fglrx slackware package you built and try again installing fglrx and choosing not to make a slackware package method. At least for me on R9 280x using the create a slackware package, results in no 32 bit drivers on my multilib system, there could be other issues as well, I doubt amd does any bug testing or anything on their slackware package building code. After reinstalling again check the fglrx-install.log
If later you need to remove this fglrx driver built without making a slackware package, there is a script in /usr/share/ati/amd-unistall.sh
Last edited by pataphysician; 04-29-2015 at 07:51 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.