![]() |
No 3D Acceleration on i5-2400 Asus P8Z68-V LE with Slack 13.37 Xfce
When I install the original/unaltered 32bit Slack 13.37 on an Asus P8Z68-V LE motherboard everything works fine when I bring up Xfce....except there's no 3D Acceleration and I could use some guidance. glxgears shows 60 FPS. I'm using the built in graphics, no separate video card.
Over the years I've always used NVIDIA video chips/cards usually with AMD processors. This is my first experience with Intel video hardware so I'm probably just ignorant of the tasks needed to get 3d acceleration with Intel. Please don't look for a bug if I've just not done my installation job properly. I've spent many hours searching online looking for "instructions" on this without success. I didn't see anything in slackbuilds.org that looked like it applied. I'd appreciate pointers to a link showing how to set the Xorg.conf file or stating what combination of libraries, etc are needed to get 3d acceleration to work on this Z68 Asus board with i5-2400 Sandybridge processor and Slack 13.37. Thanks. -------------- Some highlights. Full logs are available if they would be helpful. I've tried this with and without an X config file (/etc/X11/Xorg.conf). When I used the config file I set the Device driver to "intel". lsmod shows the i915, drm, drm_kms_helper,intel_agp, intel_gtt, and others loaded. glxinfo shows "direct rendering: Yes" and an OpenGL render string of "Mesa DRI Intel(R) Sandybridge Desktop x86/MMX/SSE2" lspci shows "VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)" I get the same results whether running Xfce as a user or as root. Boot up messages showed an MTRR allocation failure due to a type mismatch (write-back vs write-combining) which could result in poor graphics performance. (probably not related) Ran trials with the motherboard TPU switch set either way (enable/disable). didn't find BIOS settings to affect 3d acceleration. BIOS version 3702. "Z68 Express" motherboard chipset. 16GB RAM. I have logs of this activity but didn't want to take up space in this message if all I need to do is add a one-liner to Xorg.conf and try again. |
How are you measuring 3D acceleration? The glxinfo output suggests that hardware acceleration should be working. If you're just going by glxgears output it should be noted that some graphics card drivers sync the framerate to the display's refresh rate (hence the 60 FPS). glxgears really isn't a benchmarking tool, and treating it as one, *especially* with synchronized rendering, is erroneous. Is there some other way you're measuring poor 3D acceleration?
|
The Intel drivers in 13.37 have problems with the second generation Intel HD graphics. Intel the newer kernel, Mesa and libdrm from /testing and you should be fine.
|
Quote:
This started out by installing Virtualbox on a 32bit Slack host with Windows 7 running as one of the guest OSes. MS Windows was working well but when I installed a game to see if the 3d acceleration would work, the game would crash (instead of running). The game runs just fine on identical hardware with only Windows 7 installed. Anyway I didn't want to add too many variables and the cause of the guest OS failure could be other things as virtualbox is new to me. I took a step back to see if the host operating system had 3d working which is where I'm at now. Do you have a suggestion for another (simple) way to test that 3d acceleration is working? I'd like to try it. I'm not interested in the "benchmarking" aspect, just that it works. Thanks for your response. |
Quote:
|
Quote:
|
Quote:
You're right. A game running on real video hardware probably doesn't say anything about the same game running on the virtual video interface presented to it. My mistake in comparing the two. I'll first get the 3d running on the Slack host system and then see if that affects the virtual video resources presented to the virtual machines. Thanks for your comments. |
I'm having difficulty with my new motherboard(s) booting slackware-current from DVD (older motherboards are fine). Once I've resolved those problems. I'll post results/status of the OP to this thread. I may have to open a new thread to resolve my "current" problems, but first I'll try for a day or two on my own.
One step forward and two steps backwards. The more problems I have the more I learn. :-) |
Module Troubleshooting Questions
Howdy !
No time to read but would like to help out? Skip to the bottom and respond to one or more of my 8 basic questions. ------ I've been playing with many variations of kernels (Huge, Generic, 2.6, 3.2, 3.3, Slack 13.37 & current, drivers up to the latest stable versions) and making observations. I didn't yet get all the upstream ones (intellinuxgraphics.org, mesa3d.org, freedesktop.org) to compile/install due to my skillset limits to deal with conflicting OS release streams (2.x vs 3.x). Right now there have been too many changes on multiple builds on my 3 hardware-identical experimental boxes so I'm starting over to control the environment again and use what I've learned so far and follow the advice I've been given. Recent Results Here are some results on these Asus P8Z68-V LE motherboards that may be helpful to other owners of the board having problems. This is all 32 bit stuff, no Slack64 yet. xfce is the desktop environment. glxgears is used to measure the frames per second. I don't believe I've ever gotten the intel graphics hardware acceleration to function. Added "acpi=off noapic" boot parameters and upgrade to current Asus BIOS 3702 to get things started. http://www.linuxquestions.org/questi...2-bios-940376/ With NO xorg.conf file ...
I got the same fps results as above with xorg.conf using a vesa driver. When xorg.conf uses the intel driver X fails to run and gives the following messages on the screen. Code:
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 21 00:09:46 2012Code:
...These Xorg errors went away with the 3.3.2 kernel (and perhaps earlier kernels) and X ran, but the intel graphics driver never worked. lsmod in an early trial showed "i915" loaded but never in later trials. (I probably got it to successfully load manually at the time perhaps with the 3506 BIOS.) That same early "i915" trial showed a glxinfo lines of: Code:
direct rendering: YesCode:
direct rendering: YesI'm guessing I'm having basic problems and at this point need not worry about more refined details such as using the Gallium3D option when building mesa. I noticed these other recent related threads on this site which may be helpful to someone (me). http://www.linuxquestions.org/questi...s-card-935776/ http://www.linuxquestions.org/questi...driver-938020/ Questions Right now I'm NOT looking for help with my specific set of software as I've changed too many variables. Others have already given me advice regarding software versions. I'm going to start over and once again carefully control the changes made for each trial. With a vanilla build I will follow the suggestions of TobiSGD, dugan, ReaperX7, and others. I've probably blown right past the correct combination of software to make things work correctly. For example I ran huge-smp instead of generic-smp for about half of the trials. I become curious and get carried away exploring (that's what make computers fun). Though I do carefully control the trial variables (for a while). I would like assistance to increase my knowledge about the Linux modules environment/tools so I can improve my basic Linux driver/module troubleshooting technique and eventually solve my current intel driver issue. I hope someone can respond to the following LinuxQuestions.org I have. lspci shows: Code:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
I believe my (huge) knowledge gaps are resulting in my poor troubleshooting technique of even basic Linux stuff. That's what happened when I stopped experimenting with Linux 10 years ago and just became a Linux user to get work done. ------- |
At first, glxgears is in no way a reliable benchmark, the numbers you got say exactly nothing.
To your questions: 1. lspci is reliable: If a kernel module is mentioned it is loaded and used. 2. The driver name is i915 and is not related to the actual hardware. 3. lspci and /proc give information about different parts of hardware. As the name states, lspci gives only information about PCI(e) devices. 4. If the driver is loaded you should see the i915 module with lsmod/lspci, since this is the driver for that device. 5. ??? 6. You realize that the kernel module is not the only part of the driver? You also need a Mesa/libdrm version that supports 3D acceleration for your device. 7. You don'z need a "record" for that, if the module dependencies are correct (man depmod) the driver will be loaded automatically. 8. Except /var/log/Xorg.0.log I can't think of any, except glxinfo. Having said that, since you have used -current, what are your results in -current without xorg.conf (meaning the output of the renderer string of glxinfo and the framerate of a real 3D application)? In current your hardware should run out of the box with working 3D acceleration. |
I didn't realize that the same driver name i915 was used even with the newer intel HD hardware. I was incorrectly thinking that out of date software was incorrectly identifying the hardware and wanted to use the wrong driver.
Quote:
As I mentioned my systems have had a lot of changes/experiments. I'll be starting again from scratch and will build one with a vanilla slack-current release. I'll report the results and will only make changes to it that you suggest. I don't want to waste your time by my giving you possibly inaccurate information about my experience with -current. I'll report after the -current build. Thanks for your multiple responses. |
Quote:
|
Quote:
I don't believe the driver is being loaded and am looking for further suggestions. Details below. -------------------- lspci shows in part: Code:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])lsmod shows: Code:
Module Size Used byglxinfo shows: Code:
name of display: :0.0HEAVEN I installed the Unigine Heaven benchmark. It installed and came up with the initial screen. When "RUN" is selected the terminal it was started from displays in part: Code:
.... lines removed ...Note the "GLRender::GLRender(): Unknown GPU" Line. No Sound because the OpenAL software wasn't installed for this trial. I got the same results days earlier with OpenAL loaded and using a generic-smp kernel. The Unigine web site shows ATI and NVIDIA graphic card requirements but doesn't mention Intel. Perhaps this software doesn't support (the newer) Intel graphic chips? EXTREME TUX RACER I installed this game from Slackbuilds.org and got around 4 frames per second. ------------------ I ran Xfce with an xorg.conf file using the supplied vesa config file. When I changed the video driver to "intel" X failed as it had in the past. Xorg.0.log Excerpt: Code:
[ 38035.952] (II) LoadModule: "intel"Earlier, on another machine with the same motherboard version, I installed the Apr 23rd version of Slack current with a generic kernel and got the same results. I can try the generic kernel again if that would help identify the driver module that should be used. Suggestions are welcome. |
That is weird, the system should automatically load the driver (what happens when you modprobe it manually before starting X?), also the Unigine website mentions that the HD3000 from Intel is supported.
May be this whole thing is because the acpi=off parameter, is that really needed? |
Quote:
Code:
WARNING: Error inserting i2c_algo_bit (/lib/modules/3.2.13-smp/kernel/drivers/i2c/algos/i2c-algo-bit.ko): No such deviceRemember I'm running with the default huge-smp kernel. I can create an initrd and switch to the generic kernel if that helps narrow down the problem. I'm making changes judiciously so as not to complicate your efforts to assist me. Quote:
In one of my early trials I got the i915 module loaded somehow on one of the three machines. If I remember correctly I believe the kernel (2.6? 3.x?) would run with the 3506 BIOS without needing to turn "off" acpi. When I got the i915 module loaded early in the trials there had not been may changes yet. That configuration has been replaced with a new installation so it no longer exists. As I noted in my original post ... glxinfo shows "direct rendering: Yes" and an OpenGL render string of "Mesa DRI Intel(R) Sandybridge Desktop x86/MMX/SSE2". So I probably had at least partial success and didn't know it. That was before you and T3Slider opened my eyes to the fallacy of using the FPS rate in glxgears to determine if hardware acceleration was functioning. |
| All times are GMT -5. The time now is 08:38 AM. |