Yet another i810 graphics problem, very very poor 3D support
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The reason the 8 bit and 24 bit resolutions above are commented out is that the i810 can only render 3D graphics in 16 bit colour.
I tried a strace, but the log that resulted from it just had one loooong line with no text. When I tried the less command at the prompt, I just got a pageful of ^@ repeating endlessly. Also, this does run perfectly in windows. It's not the hardware.
I've been looking high and low on the net for an answer, with no luck. I even used the top-secret LinuxQuestions.org search feature!
If you can help at all, I'd greatly appreciate it.
The monitor resolution is too high for this graphics card. In section device try not to use VideoRam variant because this card is a dynamic one. VideoRam is system-OS depended. Just comment it. Also try to comment this line in xorg.conf:
Option "omit xfree86-dga" So it can load the DGA extention in your X. If it crashes again, try ctrl-alt-F4-5-6.. to open another session and check what is wrong.
adz: No, I'm not using the framebuffer driver, I don't have the kernel version(I'm running 2.4.6).
PSHLOS_007: First, I don't understand what you mean by the monitor resolution. I've run the desktop at 1280x1024 both in Win and Lin, plus Half-Life 1 in Win, on this hardware, so I don't quite follow you.
As far as your suggestions go, I'll let you know in a half hour(I'm in win atm).
axobeauvi: Mmk, I'll change the color bit and see what happens. Which section of DRI do you want me to comment out though, 'Load "dri"' or 'Section "DRI"
OK. messed around with my xorg.conf, commented out the VideoRam. That got Q3 to load and display, but with a LOT of lag. glxgears now only gets ~40 fps when it used to get ~200. Commenting DRI, DGA, or making the default display depth 24 has had no effect.
My only guess is that Xorg isn't allocating Video RAM dynamically, even without the VideoRam tag in the xorg.conf. This would explain why glxgears is running at such a low fps. The question is, how do I get xorg to allocate dynamically now?
Originally posted by axobeauvi I agree with PSHLOS_007
plus I would comment out dri and change the default color to 24bit
This is really good advise that I just decided to try out. I have now given up with using DRI with the I810. It just plain sucks. Everything now looks better at 24 bit and I don't have to deal with all of the weird redraw problems that have plagued my system.
The down side is glxgears dropped from 400 to 90 fps. But I think that it is well worth it.
You'd have a point if I wasn't able to run Quake III in windows. The problem lies in the configuration, not the chipset.
I'm well aware that it's not the lastest nVIDIA card. But it is capable of running the programs I'm asking it to. The reason it's not is because something in linux is FUBAR'd. Weather it's the reverse-engineered i810 driver, my xorg settings, or something else, I don't know. That's sorta kinda why I came here.
I know it can do the work. I can give you screen shots of my chipset running Quake III with all the bells and whistles at 800x600, w/o OpenGL in 1024x768.
OK. I did a modprobe agpgart, restarted, and KDE looked very different. I could tell that the effects of the 3-D were finally being used. However, glxgears was still at ~50 fps. Only thing I could think of(I was running in 16 bit already) was to set the VideoRam. I do so, shutdown X and type startx. It tells me it can't find a screen to run. I dutifully open and edit xorg.conf and comment out the VideoRam line. When I start KDE up again it's back into flat 2-D mode. glxgears is also still at 50.
Before loading X, modprobe agpgart, (everything depends on it) and..
add this to Section Device:
Option "AGPMode" "1"
so its kinda like:
Identifier "Intel Linux config"
Option "AGPMode" "1"
VideoRam 32768 # 32 MB of VRAM, the max according to documentation
#VideoRam 65536 - # 64 MB of VRAM, the true ammount according to win diagnostics.
# Insert Clocks lines here if appropriate
check the following:
The kernel module for the i810 is named i810.o and should be installed in /lib/modules/2.4.x/kernel/drivers/char/drm/. It will be automatically loaded by the Xserver if needed.
The DRI 3D driver for the i810 should be in /usr/X11R6/lib/modules/dri/i810_dri.so. This will be automatically loaded by libGL.so.
then start x and see whats up, and if glxinfo | grep -i "direct rendering" is yes yet.