XFree86 DRI : glxinfo -> Direct rendering : No
Hi all,
I have been working on getting accelerated 3D today for Gentoo, following the Gentoo guidelines at: http://www.gentoo.org/doc/en/dri-howto.xml I have an Intel chipset 82845G/GL. There doesn't seem to be any mention of an AGP bridge in my lspci, which I don't understand - I thought all modern cards were AGP, but this is a laptop so I guess thats why? Any explanation? Does it matter? Anyway, as you can see from my lsmod the agpgart module is loaded (automatically). Do I even need this if it is not an AGP card? When I run startx I get a few strange errors and warnings, but it starts up fine anyway. One of the messages is: Code:
[drm] failed to load kernel module "i830" I tried running glxinfo and it reports that dri is not working. Code:
$ glxinfo | grep rendering Here follows some information about my system, I will post more info if requested. Thanks for your time reading this post, it was a long one! Mark. Code:
# lspci |
The other one is kernel(drm) module, other an XF86-driver. Try loading the kernel module by hand and see if it gets loaded.
|
What is the name of the kernel module I should load?
|
Ah it turns out it was quite simple to fix... I changed one line of my /etc/make.conf:
Code:
#VIDEO_CARDS="i810" Code:
mark@tux mark $ glxinfo | grep rendering Hopefully this post will help others that run into the same problem. |
I'm still convinced i can get more out of my card... looking at other people's frame rates, my 400FPS doesn't look that great! It seems that the drivers for the 845G have some problems with the BIOS or something, according to this site:
http://www.xfree86.org/~dawes/845driver.html I still get a number of warnings in my XFree86.log.0: $ grep '(WW)' /var/log/XFree86.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (WW) Open APM failed (/dev/apm_bios) (No such file or directory) (WW) I810(0): Extended BIOS function 0x5f11 not supported. (WW) I810(0): PGTBL_ER is 0x00000049 (WW) I810(0): Extended BIOS function 0x5f61 not supported. (WW) I810(0): Option "AGPMode" is not used (WW) I810(0): Option "AGPFastWrite" is not used (WW) I810(0): Option "EnablePageFlip" is not used Seems that my optimisations are being ignored, APM isn't working and BIOS isn't working as it should, oh joy, so many problems! I guess I'll be spending most of today searching the Web, and I might even try the CVS version of DRI, since there appear to be some changes to the driver for my card which were not in the last release. I'd love to hear from anyone that has had success with this card... Mark. |
Upgraded to kernel 2.6.6-rc1 and now I'm getting 600FPS.
The saga continues... would still be interested to hear what others are getting for this card. |
I am also having a problem with my Dimension 2300
Here are the system specs 2.4 Ghz P4 1 GB pc 133 SDRAM Linux Mandrake 9.1 Intel 845GL Graphics Sound Blaster Live! 5.1 Surround For some reason my version of linux comes with Kernel 2.6.x My XFree86 version is 4.3.x as well. Also, it finds the graphics card as a Intel 845GL card but still no direct rendering. I have tried the I810 that is supplied as well as I830 and still no luck. I am curious on how to get this machine running it so that I may play UT2k4 on it. LOL... I await some answers or questions. I will post the needed information if asked for, on here when I get home today. That way I can be at the machine when posting here. Also, I don't get hardly any errors except for the one about the DRI message. Which is typical. I can run most games including tux racer but the refresh rate is very very bad. Especially with no direct rendering. |
I can help you get as far as I got...
What frame rate do you get with glxgears at the default size? Code:
$ glxgears Code:
$ glxinfo | grep rendering |
Will do. I will be home at 5:00pm (GMT -7:00 Mountain Standard Time)
I will post those once I get home to sit down at the machine. Thanks Muzzy.. It is muchly appreciated. |
I think the breakthrough for me was realising I had to use the i810 driver in XF86Config, but both the i810 and i830 drivers have to be installed.
Here are some extracts from my XF86Config. Check that something like this in your /etc/X11/XF86Config: Code:
Section "Module" |
So do you actually have to manually input it into the XF86config file?? If so, I believe I have done that once before. Then what do you think I should do.
|
Also, with mandrake, I should also be able to set the graphics card using the xfdrake, I believe.
|
Editing it manually is fine. It is the way I would recommend because it simple, and it works on all distributions, so if you ever decide to switch distribution you don't have to relearn it.
The Mandrake tools might work. I don't know, because I've never tried them... |
sweet. I will post the info once I get home. Thanks Muzzy.
|
This is the results of the commands
Code:
glxgears shows 200fps |
OK.. I fixed it all I had to due was add the load "DRI" and the module "DRI" Then change the graphics to I810.. Thanks Muzzy for giving me the pointers. They muchly appreciated..
|
Ah it seems that lspci it is installed to /usr/bin/lspci on Mandrake systems. Try that instead:
Code:
/usr/bin/lspci Anyway I can see that the modules i810 and i830 are not listed in lsmod, so try doing this an d see if you get any errors (you need to be root): Code:
# modprobe i810 |
I will try that tonight. will post them when I get home. Thanks again Muzzy..
|
Here are the 3 things you wanted.
Code:
$ lspci Code:
# modprobe i810 Code:
$ lsmod |
It looks fine! No errors during the modprobe... have you tried modprobing then restarting the X server? If that doesn't work then I'm stumped... perhaps there is more info in the XFree86.0.log file that would be interesting to see.
|
Yeah, everything is working great other than the slowness to the actual FPS. When the direct rendering is on, it shows a framerate of about 200 - 400 frames verying on what I am doing. Otherthan that it is working great. Thanks for the help muzzy....
|
All times are GMT -5. The time now is 02:41 PM. |