LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   direct rendering on i810 (https://www.linuxquestions.org/questions/linux-general-1/direct-rendering-on-i810-362075/)

luminiscence 09-10-2005 10:49 AM

direct rendering on i810
 
Hi all,
I had Suse installed on my comp earlier, and direct rendering worked in it. I have just installed gentoo, and I don't know what to do to make direct rendering work. Movies and stuff are working perfectly, but when I do
glxinfo | grep rendering
Then it returns "direct renderng:no". Similarly glxgears gives a fps of 100.

I have Intel 845 motherboard (I guess the graphics driver is i810). I am pasting my xorg.conf below:

Code:

############################################################
Section "Module"

    Load        "dbe"          # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load      "glx"
    Load      "dri"

EndSection
############################################################
Section "Files"

    RgbPath        "/usr/X11R6/lib/X11/rgb"
    FontPath  "/usr/share/fonts/misc/"
    FontPath  "/usr/share/fonts/TTF/"
    FontPath  "/usr/share/fonts/Type1/"
    FontPath  "/usr/share/fonts/75dpi/"
    FontPath  "/usr/share/fonts/100dpi/"
    FontPath  "/usr/share/fonts/local/"

EndSection
############################################################
Section "InputDevice"

    Identifier        "Keyboard1"
    Driver        "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"        "xorg"
    Option "XkbModel"        "pc105"
    Option "XkbLayout"        "us"

EndSection
############################################################
Section "InputDevice"

    Identifier        "Mouse1"
    Driver        "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"

    Option "Emulate3Buttons"
    Option "ZAxisMapping" "4 5"

EndSection
############################################################
Section "Monitor"

    Identifier  "samsung"
    HorizSync  30-71
    VertRefresh 50-160

EndSection
############################################################
Section "Device"
    Identifier  "intel-test"
    Driver      "i810"
    VideoRam    16384
EndSection
############################################################
Section "Screen"
    Identifier  "Screen 1"
    Device      "intel-test"
    Monitor    "samsung"
    DefaultDepth 24

    Subsection "Display"
        Depth      8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
############################################################
Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
############################################################
 Section "dri"
    Mode 0666
 EndSection
############################################################

Can anyone help me to start direct rendering? Any help/pointers would be helpful.

Thanks

masand 09-10-2005 12:51 PM

you have DRI enabled in ur Xorg

"Direct Rendering Open Source Project. The Direct Rendering Infrastructure, also known as the DRI"

regards

imitheos 09-10-2005 04:40 PM

Re: direct rendering on i810
 
Quote:

Originally posted by luminiscence
Hi all,
I had Suse installed on my comp earlier, and direct rendering worked in it. I have just installed gentoo, and I don't know what to do to make direct rendering work. Movies and stuff are working perfectly, but when I do
glxinfo | grep rendering
Then it returns "direct renderng:no". Similarly glxgears gives a fps of 100.

I have Intel 845 motherboard (I guess the graphics driver is i810). I am pasting my xorg.conf below:

Code:

############################################################
Section "Module"

    Load      "dri"

EndSection
Section "Device"
    Identifier  "intel-test"
    Driver      "i810"
    VideoRam    16384
EndSection
Section "Screen"
    DefaultDepth 24
EndSection

Can anyone help me to start direct rendering? Any help/pointers would be helpful.

Thanks

You have "dri" enabled in your config, so the first step is correct.
If i remember correctly, the i810 driver supports dri only on some depths.

Code:

from the i810(4) manpage
The driver supports hardware accelerated 3D via the Direct Rendering Infrastructure (DRI), but only in depth 16 for the i810/i815 and depths 16 and 24 for the 830M and later.

Since you have 845 chipset, dri should work with 24 bit depth also.
Check /var/log/Xorg.0.log to see the error.
For example in my i810 it used to have "24 bit depth, disabling dri" error (not exact message but something like that)
Maybe there is something that disables dri


All times are GMT -5. The time now is 11:12 PM.