Linux - GamesThis forum is for all discussion relating to gaming in 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.
I can't get Wolfenstein ET to run on my Slackware 10 box. I have a Matrox G400 32mb video card. I am using Xorg 6.7 and the included mga drivers. I have my monitor set at 1024x768 @ 85 and 24bit color. When I run et I get the error below. What do I need to change?
bash-2.05b$ et
ET 2.56 linux-i386 Sep 10 2003
----- FS_Startup -----
Current search path:
/home/ghorning/.etwolf/etmain
/usr/local/games/enemy-territory/etmain/pak1.pk3 (10 files)
/usr/local/games/enemy-territory/etmain/pak0.pk3 (3725 files)
/usr/local/games/enemy-territory/etmain/mp_bin.pk3 (4 files)
/usr/local/games/enemy-territory/etmain
----------------------
3739 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
Xlib: extension "XFree86-DGA" missing on display ":0.0".
Failed to detect XF86DGA Mouse
XFree86-VidModeExtension Activated at 800x600
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect
***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 134
Minor opcode of failed request: 10
Serial number of failed request: 55
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XFree86-VidModeExtension Activated at 640x480
Received signal 11, exiting...
bash-2.05b$
bash-2.05b$ glxinfo |grep direct
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
Made a new kernel, still nothing. I guess I should try the drivers from the matrox website. Should I buy a cheap NVIDIA card?
(**) MGA(0): Chipset: "mgag400" (G400)
(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(WW) Warning, couldn't open module mga_hal
(II) UnloadModule: "mga_hal"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(==) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(==) MGA(0): Using AGP 1x mode
(--) MGA(0): Linear framebuffer at 0xF6000000
(--) MGA(0): MMIO registers at 0xF4800000
(--) MGA(0): Pseudo-DMA transfer window at 0xF4000000
(==) MGA(0): BIOS at 0xC0000
(--) MGA(0): Video BIOS info block at offset 0x07A60
(WW) MGA(0): Video BIOS info block not detected!
(II) MGA(0): MGABios.RamdacType = 0x0
(==) MGA(0): Write-combining range (0xf6000000,0x2000000)
Possible solution regarding OpenGL and Matrox cards
Hello,
I'm coming to this forum from a Google search. I ended up finding my own answer, which I thought I'd share here for any who may still be having this problem. For reference (and other's search parameters), I'm trying to run Neverwinter Nights Linux version on a Slack 8.1 install, with a Matrox G450 video card. I used the ravage installer (found on icculus.org) and am trying to resolve an OpenGL issue.
Each time I tried to run the game, I'd get two lines back that would say:
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
I tried running /usr/X11R6/bin/glxgears to test this issue. It turns out that I didn't have permissions to the video card when trying to run OpenGL. This is found at /dev/dri/card0 on my system (I can't speak to other systems and distros).
Long story short, I had to (as root) "chmod 755 /dev/dri " _and_ I had to "chmod 777 /dev/dri/card0". BUT here's the tricky part. These permissions appear to change. I was testing in X (so I could browse the web for help) and everything was fine. (And I do mean _FINE_! It was running so smoothly!) Then, I quit X and started the X server with no window manager (how I play all my video-intense games) and I'm back to slow and crappy.
Lo and behold, the permissions have changed again. At this point, I suspect I'll just have to remember to check permissions each time I want to play the game. Maybe I'll do some research as to _why_ this happens and how I can preserve my privileges at a later date. (Or would some Linux guru like to point me to the right place for reading?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.