LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2005, 10:49 AM   #1
luminiscence
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 09-10-2005, 12:51 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
you have DRI enabled in ur Xorg

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

regards
 
Old 09-10-2005, 04:40 PM   #3
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 441

Rep: Reputation: 141Reputation: 141
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
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Direct Rendering not working on Intel 82810E (driver i810) mmmm Linux - Hardware 2 07-06-2005 11:21 AM
Slackware current i810 direct rendering securitybreach Slackware 4 05-03-2005 09:09 PM
direct rendering zaraza Linux - Hardware 2 02-08-2004 07:20 PM
i810 direct rendering weird problem smith847be Linux - Hardware 9 01-31-2004 04:46 AM
Help with direct rendering HellBound Linux - General 3 08-27-2002 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:44 AM.

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