LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 07-01-2004, 07:06 PM   #1
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Rep: Reputation: 55
cant get wolfenstein et to run


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$
 
Old 07-01-2004, 07:16 PM   #2
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Original Poster
Rep: Reputation: 55
also,
kernel 2.4.26 (stock)

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
 
Old 07-02-2004, 01:40 AM   #3
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Original Poster
Rep: Reputation: 55
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)
 
Old 07-03-2004, 01:38 PM   #4
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Original Poster
Rep: Reputation: 55
Does anyone have a clue to what I should do?
 
Old 07-07-2004, 12:11 AM   #5
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Original Poster
Rep: Reputation: 55
I bought a NVIDIA GeForce TI 4200 for $85, hope this fixes the problem.
 
Old 03-27-2005, 08:09 PM   #6
annekaelber
Member
 
Registered: Sep 2003
Posts: 49

Rep: Reputation: 15
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?)

Anne.
 
Old 04-17-2005, 04:34 PM   #7
yoshi5534
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Hi,

permissions should be set by the udevd. in my case (gentoo linux) they were set in /etc/udev/permissions.d/..

Hope this will help you

yoshi

EDIT: adding the user to the video (or eq.) group seems to be the best solution.

Last edited by yoshi5534; 04-18-2005 at 08:01 AM.
 
Old 10-05-2006, 03:38 PM   #8
VsMaX
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Yeah thnanx guys. It helped me a lot
 
  


Reply



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
Error when trying to run ET:Return to Castel Wolfenstein lilrowdy18 Linux - Software 5 01-28-2005 02:01 AM
Wolfenstein ET AGilley007 Slackware 2 07-29-2004 02:27 PM
Wolfenstein PIayer Linux - Software 2 09-27-2003 03:37 PM
Wine and Wolfenstein? Gerardoj Linux - Software 1 09-24-2003 03:00 AM
Wolfenstein bax Linux - Software 6 02-14-2003 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 08:33 PM.

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