LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-15-2004, 10:17 PM   #1
evilshiznat
LQ Newbie
 
Registered: May 2004
Distribution: Red Hat Linux 8.0
Posts: 3

Rep: Reputation: 0
Games running very slow


Hey everybody. I'm pretty new to linux, but I know some things, so I'm not a complete newbie. Anyway, so far I've only tried 2 games on Red Hat 8. The first one was GTA: Vice City, which I ran with Wine. It was very very very choppy, like less than 1 frame per second choppy. The second one I tried was Enemy Territory, and that was very choppy also.

Anybody know what's causing this? These games work fine on my Windows partition.
 
Old 05-15-2004, 10:28 PM   #2
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Do this command:
Code:
glxinfo | grep direct
and post the output here.
 
Old 05-15-2004, 10:31 PM   #3
evilshiznat
LQ Newbie
 
Registered: May 2004
Distribution: Red Hat Linux 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
 
Old 05-15-2004, 11:35 PM   #4
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Theres your problem. Youre not using 3D acceleration. What is your video card, and what drivers are you using? I hope its not an ATI...
 
Old 05-15-2004, 11:52 PM   #5
evilshiznat
LQ Newbie
 
Registered: May 2004
Distribution: Red Hat Linux 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Ahh no, it's some crappy 16 MB trident video cyberblade something. I think I'm using windows drivers for it.

How do I "enable" 3d acceleration?

Last edited by evilshiznat; 05-16-2004 at 10:47 AM.
 
Old 05-17-2004, 03:38 PM   #6
Inhibit
Member
 
Registered: Apr 2004
Distribution: Mandrake, Gentoo, SuSe, JDS
Posts: 53

Rep: Reputation: 15
You can check the DRI project (dri.sourceforge.net) but last I knew Trident didn't release 3D drivers and the DRI project didn't support them either. The only referance I can find to Trident 3D support is at:

http://dri.sourceforge.net/cgi-bin/m...tegoryHardware

and that looks really beta.
 
Old 05-19-2004, 09:36 AM   #7
Tetsujin
LQ Newbie
 
Registered: May 2004
Location: Columbus, Ohio
Distribution: Fedora Core 1, SuSE 9.1
Posts: 7

Rep: Reputation: 0
Unhappy More of the same

I'm having much the same problem myself, here's my glxinfo output

Quote:
Xlib: extension "XFree86-DRI" missing on display ":0.0".
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
Unfortunately I do have an ATI Radeon 9200 SE, I've tried the Xfree 4.3.0 driver from their website but no dice..

In fact, I get this error message too:

Quote:
file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-4.3.0-3.7.6 confl icts with file from package XFree86-Mesa-libGL-4.3.0-55
Any ideas?

Fedora Core 1
700Mhz Athlon
368 MB SDRAM
14 GB hda (Windoze 98 ME)
120 GB hdb (Fedora Core 1)

Last edited by Tetsujin; 05-19-2004 at 09:48 AM.
 
Old 05-19-2004, 09:59 AM   #8
Inhibit
Member
 
Registered: Apr 2004
Distribution: Mandrake, Gentoo, SuSe, JDS
Posts: 53

Rep: Reputation: 15
Yea, sounds like you've got a library conflict between something installed as part of the Mesa stuff and from something else. Did you install binaries packaged for Ffedora Core 1 from somewhere or the RH binaries from ATI.. might be that you need some repackaged ones if that's the case. You may also need to change which XF86 server your loading in /etc/X11/XF86Config(-4) if the ATI driver doesn't go by the same name as the in-house XF86 driver.

That's actually the last card supported by the DRI project from ATI.
 
Old 05-19-2004, 10:42 AM   #9
Tetsujin
LQ Newbie
 
Registered: May 2004
Location: Columbus, Ohio
Distribution: Fedora Core 1, SuSE 9.1
Posts: 7

Rep: Reputation: 0
Well, this is what my xfree86-a file looks like, I notice that it recognises my video card, but I'm still getting a crappy 240 fps with glxgears. I did use the binaries from the ATI website, so should I snoop around for some ATI rpms elsewhere? Or compile a module for ATI?

Quote:
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Gateway EV500"
DisplaySize 280 210
HorizSync 31.0 - 69.0
VertRefresh 50.0 - 110.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9200SE"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 05-19-2004, 11:17 AM   #10
Inhibit
Member
 
Registered: Apr 2004
Distribution: Mandrake, Gentoo, SuSe, JDS
Posts: 53

Rep: Reputation: 15
Okay, I went and grabbed the drivers, converted them to tarballs, and took a looksie for ya'. It *looks* like the driver name should be "fglrx" from those.

So, what you'll want to do is replace that bit that says "radeon" for the driver name with "fglrx" as the driver it installs is fglrx_drv.o.

e.g.
Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9200SE"
EndSection

with
Section "Device"
Identifier "Videocard0"
Driver "fglrx"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9200SE"
EndSection
 
Old 05-19-2004, 02:01 PM   #11
Tetsujin
LQ Newbie
 
Registered: May 2004
Location: Columbus, Ohio
Distribution: Fedora Core 1, SuSE 9.1
Posts: 7

Rep: Reputation: 0
Thanks! I'll try that out when I get home from school *fingers crossed*

EDIT:

I tried changing the entry and rebooting the whole system, I ran glxgears and even tried tuxracer (which was what led me to wonder why my fps was so slow) to see if things had changed.

I do get this error when I run glxgears tho' I wonder if this has anything to do with it.
Quote:
Xlib: extension "XFree86-DRI" missing on display ":0.0".

Last edited by Tetsujin; 05-19-2004 at 04:36 PM.
 
Old 05-20-2004, 02:32 PM   #12
Tetsujin
LQ Newbie
 
Registered: May 2004
Location: Columbus, Ohio
Distribution: Fedora Core 1, SuSE 9.1
Posts: 7

Rep: Reputation: 0
anyone?
 
Old 05-20-2004, 02:45 PM   #13
Inhibit
Member
 
Registered: Apr 2004
Distribution: Mandrake, Gentoo, SuSe, JDS
Posts: 53

Rep: Reputation: 15
It sounds like the kernel bits needed for direct rendering aren't loading. I'm not totally sure there.. if no one else has any ideas (and my home internet service is back up tonight) I'll go ahead and install it and take a look for you.
 
Old 05-20-2004, 09:37 PM   #14
Tetsujin
LQ Newbie
 
Registered: May 2004
Location: Columbus, Ohio
Distribution: Fedora Core 1, SuSE 9.1
Posts: 7

Rep: Reputation: 0
Thanks so much, I do appreciate it :-D
 
Old 05-23-2004, 08:17 PM   #15
Tetsujin
LQ Newbie
 
Registered: May 2004
Location: Columbus, Ohio
Distribution: Fedora Core 1, SuSE 9.1
Posts: 7

Rep: Reputation: 0
Adding this to the etc/X11/XF86Config file
Code:
Load "dri"
seems to have worked quite well,
Code:
glxgears
now gives me upto 3000 fps in a normal window and 130 fps when minimised.

Tux Racer runs like a dream
 
  


Reply


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
Games are running slow with winex HadesThunder Linux - Software 10 05-13-2004 06:14 PM
Games Running Slow (Mandrake 10) magikmaster Linux - Newbie 1 04-25-2004 01:04 AM
Games too slow hank@$3800 Linux - Games 1 03-31-2004 08:43 PM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 03:53 PM
Linux games running slow? phishead Linux - Newbie 8 01-23-2002 05:36 PM

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

All times are GMT -5. The time now is 09:13 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