You are not logged in.

#1 2006-09-05 06:39:47

karag
Member
Registered: 2006-09-05
Posts: 84

How to activate direct rendering?

Hello,
I have installed cedega but the test says I do not have direct rendering. I confirm this:

[karag@karag ~]$ glxinfo |grep direct
direct rendering: No

My card is nvidia ti4400 and I use all current packages - nvidia 1.0.8774-1 and xorg 11R7.0-1. I think it must be a problem in my xorg.conf, here

Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load        "glx"
# This loads the DRI module
    Load        "dri"
    Load        "extmod"
EndSection
Section "Device"
    Identifier  "nvidia4400"
    Driver      "nvidia"
#    Option     "NvAGP"         "1"
    Option      "RenderAccel"   "true"
#    Option      "RENDER"        "Enable"
#    Option      "EnablePageFlip""true"
    Option      "NoLogo"        "true"
    Option      "CursorShadow"  "true"
    Screen      0
    # BusID     "PCI:01:05:0"
    VideoRam    131072
    # Insert Clocks lines here if appropriate
EndSection
Section "DRI"
  Mode 0666
EndSection

any help to activate direct rendering is appreciated, thankyou.
karag

Offline

#2 2006-09-05 06:53:12

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: How to activate direct rendering?

Check /var/log/Xorg.0.log for anything suspicious.


I am a gated community.

Offline

#3 2006-09-05 08:15:02

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: How to activate direct rendering?

It's an nvidia card- so you should remove/ comment out all DRI related entries from xorg.conf
nvidia uses its own direct rendering subsystem.
See the WIKI


Microshaft delenda est

Offline

#4 2006-09-05 15:52:45

karag
Member
Registered: 2006-09-05
Posts: 84

Re: How to activate direct rendering?

thanks for your replies.
@stonecrest. I cannot find anything in the log related to direct rendering, but then I'm unsure what to look for  roll

@scarecrow. I have removed the dri module and end section from xorg.conf but still direct rendering says 'no'. Is there any other settings I need to make? I also confirm that user is member of video group.
thanks!

Offline

#5 2006-09-05 16:05:39

Gustavo
Member
From: Brazil
Registered: 2006-07-04
Posts: 92

Re: How to activate direct rendering?

Direct rendering works here. My modules section:

Section "Module"
    Load    "i2c"
    Load    "bitmap"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "type1"
    Load    "vbe"
EndSection

Offline

#6 2006-09-05 18:59:26

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: How to activate direct rendering?

wiki wrote:

Nasty performance after installing new nvidia-driver

If you experience very slow fps rate in compare with older driver first check if You have Direct Rendering turned on. You can do it by:

glxinfo | grep direct

If You get: direct rendering: No then that`s your problem. Next check if You have the same versions of glx for the client and server by this:

glxinfo | egrep "glx (vendor|version)"

And if You see different vendors or versions for the client and server run this:

VER=1.0.8774
ln -fs /usr/lib/libGL.so.$VER /usr/X11R6/lib/libGL.so
ln -fs /usr/lib/libGL.so.$VER /usr/X11R6/lib/libGL.so.1
ln -fs /usr/lib/libGL.so.$VER /usr/lib/libGL.so.1.2

Where $VER is the version of nvidia package, that you`re using. You can check it by nvidia-settings

That`s all. Now restart your Xserver and You should have normal acceleration wink

that's from the wiki, worked like a charm here. smile
/me hugs wiki

Offline

#7 2006-09-05 20:12:11

karag
Member
Registered: 2006-09-05
Posts: 84

Re: How to activate direct rendering?

big_smile thanks paranoos,
my vendor's were not the same, so I needed to run those commands.
direct rendering works now!

Offline

Board footer

Powered by FluxBB