You are not logged in.

#1 2005-11-18 22:57:48

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

[SOLVED] direct rendering: yes, but tuxracer low framerate

hello!

i have a strange problem. i searched for hours, no luck.
i own a asus a3n with i855gm chipset. as the kernel-modul i'm using the i915. as xorg-modul the i810 driver. glxinfo says, that direct rendering is enabled. but when i want to play a opengl game like tuxracer or foobillard it runs with very low framerate (unplayable!). i don't know how to fix it or why i have this problem!?!?

i'm despair of this problem! please help me!

here are some information you will need:

xorg.conf:
Load        "glx"
Load        "dri"
Load        "GLcore"
Section "dri"

#    Mode 0666
    Group 91    # video
    Mode 0666

EndSection

Section "Device"
    
    Identifier  "i855GM"
    Driver      "i810"
    VideoRam    16252
    Option    "NoAccel" "false"
    Option    "DRI" "true"
    # Insert Clocks lines here if appropriate
    
EndSection
$lsmod
...
asus_acpi              10004  0 
i915                   18304  1 
drm                    62740  2 i915
intel_agp              21404  1 
agpgart                30160  3 drm,intel_agp
...
$glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
...
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM 20040919 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.2.1
...
$groups
video audio optical users

i'm using the arch stock kernel, stock xorg. please help me!

bye iggy


sorry for my bad english smile

Offline

#2 2005-11-18 23:24:24

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

I have the same video card and tuxracer/foobillard works well so it's probably a config issue. Make sure that the mesa package is *not* on your system as it is known to cause problem with tuxracer. 
I also have these modules loaded:
i810
intelfb

In my Section in xorg.conf, I have:

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "All"
        BoardName   "All"
EndSection

Make sure that you use the latest kernel and xorg. They really improved my video card performance. Also I get 1116.400 FPS in glxgears.

Offline

#3 2005-11-18 23:24:28

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Use ppracer from the AUR - tuxracer is a mess.

Offline

#4 2005-11-18 23:39:49

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

i can't believe it! the problem is the package mesa!!!! :shock:  oh my god! thank you very much! ultimately i can play foobillard, tuxracer and all the other little nice games! thanks, thx, yeah!  big_smile  big_smile  lol  8)


sorry for my bad english smile

Offline

#5 2005-11-18 23:46:19

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Oh yeah, Mesa is obsolete and messes things up. Should have thought of that.

Offline

#6 2005-11-19 00:39:27

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

$ pacman -Si gltron
Repository        : extra
Name              : gltron
Version           : 0.70-1
Groups            : None
Provides          : None
Depends On        : libpng mesa sdl_sound
Conflicts With    : None
Replaces          : None
Size (compressed) : 1955998
Description       : A tron-like lightcycle game with a nice 3D perspective.
MD5 Sum           : d4255e52084355142ff909ec0017a2a7

Should GLTron be depending on mesa?

Offline

#7 2005-11-19 01:46:26

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

No, it shouldn't. Mesa is integrated into XOrg as of now, and has been for some time.

Offline

#8 2005-11-25 13:01:34

wem
Member
Registered: 2005-02-11
Posts: 43

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

mates, how to replace mesa driver? i'm having similar prob whereby the graphic acceleration is very bad

Offline

#9 2005-11-25 13:18:03

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Don't need to replace, just remove it with extreme prejudice. tongue

pacman -R mesa

Offline

#10 2005-11-25 13:54:02

wem
Member
Registered: 2005-02-11
Posts: 43

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

after remove mesa package shall i replace it with any package?

Offline

#11 2005-11-25 16:00:36

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Well, if you have OpenGL drivers for your video card installed, then you don't need to replace it with anything. If your video card doesn't support OpenGL, then afaik Mesa is all you can use.

Offline

#12 2005-11-25 23:20:20

wem
Member
Registered: 2005-02-11
Posts: 43

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

i realize i don't have mesa package :-) . decided to install mesa package to see if it could improve my graphic accelaration but the result still the same. any idea on how to improve the graphic accelaration on Intel i915.

Offline

#13 2005-11-25 23:46:45

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Well, installing Mesa definitely wouldn't help. :?

Offline

#14 2006-01-25 01:17:51

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Cerebral wrote:
$ pacman -Si gltron
Repository        : extra
Name              : gltron
Version           : 0.70-1
Groups            : None
Provides          : None
Depends On        : libpng mesa sdl_sound 
Conflicts With    : None
Replaces          : None
Size (compressed) : 1955998
Description       : A tron-like lightcycle game with a nice 3D perspective.
MD5 Sum           : d4255e52084355142ff909ec0017a2a7

Should GLTron be depending on mesa?

To which Gullible Jones answered:

No, it shouldn't. Mesa is integrated into XOrg as of now, and has been for some time.

So what do I do to install GLTRon, then? Can I download the package without installing it, then remove the reference to mesa in the pkgbuild file, and install with pacman -A?
Should not this be changed in the package too?

Offline

#15 2006-01-25 01:57:54

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

If you're using Xorg 7 (i.e. have the Testing repo fully enabled), you won't have any problems, since that makes Mesa a separate package again.

If not, then the file you want to edit is .PKGINFO, that has the dependency information.

Offline

#16 2006-01-25 02:19:26

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Gullible Jones wrote:

If not, then the file you want to edit is .PKGINFO, that has the dependency information.

I don't recommend messing with package metadata. An easier way would be:

# pacman -S libpng sdl_sound
# pacman -Sd gltron

Offline

#17 2006-01-25 02:46:50

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Good point.

BTW, gltron should depend on speex - without that package it fails to start due to a missing library.

Offline

#18 2006-01-25 02:52:25

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

For the 855GM (my lappy has it), make sure you use the i915 kernel module. It runs *substantially* better than the i810. Like.. heaps better. Leave xorg on i830, but use i915 in kernel.

iphitus

Offline

#19 2006-04-10 21:09:44

rata
Member
Registered: 2006-04-10
Posts: 46

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Hi

I can't remove the mesa package...

$pacman -Q mesa
mesa 6.4.2-1

$pacman -R mesa
error: this will break the following dependencies:
  mesa: is required by xorg-utils
  mesa: is required by xorg-res-utils
  mesa: is required by freeglut
  mesa: is required by glob2
  mesa: is required by gstreamer0.10-bad
  mesa: is required by celestia

Anyone knows why?

I have the nvidia driver installed and running (i have a GeForce2 video card).

PD: sorry for my english

Offline

#20 2006-04-10 23:36:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] direct rendering: yes, but tuxracer low framerate

Don't remove the mesa package. This mesa package is the mesa included in xorg 7 not the one in the extra repo that was creating problems. BTW, this is an old thread. It would be better to explain your problem.

Offline

Board footer

Powered by FluxBB