I just installed mesa-full-i915 from aur on a poor 1005ha asus netbook, chipset is 945GM.
Now i can enable kde 4.5 desktop effects in opengl mode, yes, there are some glitches here and there, but the speed is awesome, at least compared to stock intel-dri.
Compiz literally "flies", it stick to 60fps and never goes down, still i can't enable blur effect, but who cares...
Having the same settings, sauerbraten which usually gave me 30...40 fps now is at 50..60.
with libjpeg-turbo this little baby is shining
If you have similar hardware i strongly encourage you to give it a try, and if are there other similar topics, silly me who missed them.
still i can't enable blur effect, but who cares...
If it in theory would work and I only forgot some compile options then please tell me.
Actually I have no idea what the i915 supports or if I did it right. I just took the mesa-full and mesa-full-gallium from the radeon repository and put them somehow together.
For example it still builds r300 and I have no idea how to get rid of it...
Glad that it works so good though. I wondered why gallium isn't the default for intel yet. Are there any known major issues?
Phoronix has opposite results on a NC10.
I'm going to try this out on my 1000H to see how it goes. Maybe the compiler flags used for building this package are helping the performance? Also, the tests on Phoronix were done with ubuntu so, not exactly the same thing.
Phoronix has opposite results on a NC10.
I wouldn't trust Phoronix' results.
I just readed the phoronix tests. What can i say, my experience is totally different.
The only thing i did was to remove the 'classic' intel driver and builded+installed the gallium one.
Compiler options was optimized for an atom cpu,and i was using intel driver 2.13, while phoronix uses 2.14.
This is the only 'unfair' thing i can think about, but i doubt it can explains a 20%+ of speed improvement.
...Looking forward for more testers!
PS: phoronix is known to leave compiz enabled when making his benchmarks, i don't know if he disabled it or at least 'unredirected fullscreen windows'.
Last edited by kokoko3k (2011-02-28 07:11:12)
Maybe now that openbenchmarking is open we can also submit benchmark results.
Can anyone start warcraft3 in wine with i915g? I wanted to see how it performs but it eats up all my RAM and gets killed by OOM...
The package mesa-full-i915 will now build the classic mesa and the gallium-mesa is under mesa-full-i915g. You can't install both, they build exclusively and conflict (it's easier for me this way).
I think libdrm-git is needed, so I also created the package libdrm-git-intel (and changed the dependency), that just has --enable-intel and --disable radeon. You could just use libdrm-git but it will be bloat.
Also there is the package xf86-video-intel-beta with the 2.14.901 (only version changed in abs PKGBUILD (and removed patch, whatever it was for)).
I also recommend creating a xorg.conf and turning color tiling, pageflipping etc. on. Warcraft3 begins to show playable framerates on netbooks!
I tried xonotic and while it is painfully slow on both drivers with i915c I get ~2 fps, with i915g I get ~8fps. But warcraft3 in wine is much slower on i915g than on i915c.
gltron is much slower on i915 too...
I didn't really test much so far but the things I have seen are really mixed results.
Are you sure sure there are options for color tiling and page flipping (which is enabled by default)? I think those are restricted to the radeon driver.
I created a xorg.conf with X -configure.
But no pageflipping, right. That's not there. But I have set "SwapbuffersWait" to false.
[ 2043.800] (**) intel(0): Option "Tiling" "True" [ 2043.801] (**) intel(0): Tiling enabled
Is this not color tiling?
And by default it seems:
[ 2043.864] (II) intel(0): Kernel page flipping support detected, enabling
Weirdly with the i915g driver I can't do 3D.. not even dcompmgr in --gl mode or glxgears: Error: couldn't get an RGB, Double-buffered visual.
Anyone else got this? I have a MHD 4500 (aka G45).
I wonder if the mesa-i965 will be superior to this, since my card is compatible.
Wait, your card runs with i915 and i965? How? Can you provide the output of
LIBGL_DEBUG=verbose glxinfo | grep render
Btw: I don't provide a gallium package with i965 because I have read on phoronix that it isn't as developed as much as i915 and the commits are very, very seldom so I don't expect it to perform well.
Also, I have to update the i915 gallium package I think.
Last edited by Cdh (2011-07-06 18:28:47)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/mariachi/.drirc: No such file or directory. libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/mariachi/.drirc: No such file or directory. direct rendering: Yes OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GL_EXT_vertex_array_bgra, GL_NV_conditional_render,
I'm downloading nexuiz to see if there is a difference between i965 (currently installed), i915c and i915g (if I get 3D to work).
Are you really sure it should work with i915?
lol it has been working for.. say... 3 years and I get a decent frame-rate in nexuiz and good 1080p with mplayer2 -- no vaapi yet though.
but maybe it's really not supposed to work with i915g. Since I'm at it, I'll check i965g out
Actually I don't know enaugh about intel. I only have a gme945 netbook and no intel graphics besides... I thought they were strictly disjunct.
Just ready with mesa-full-i915g update. mesa adds features quicker than I can enable them.
It's probably easier to change that PKGBUILD to i965g.
I think with llvm it should be faster so I added it as a dependency. I don't know if --enablegbm is a good idea because it needs --enable-shared-glapi which is marked experimental, so I didn't do that.
This is the article btw:
http://www.phoronix.com/scan.php?page=n … &px=OTYxNA
Also I am pretty sure I have read that there is an experimental mesa branch with g45 vaapi support... I only found that now: http://www.phoronix.com/scan.php?page=n … &px=OTMxNw
Way too much editing... G45 was better for googling: Here it is, in libva rather than mesa: http://www.phoronix.com/scan.php?page=n … &px=OTQ1NA
Last edited by Cdh (2011-07-06 19:05:40)
I remember reading somewhere that i965g was experimental. I'll give it a go anyway.
I read that phoronix article, but it seems too much trouble at this point (kernel patching, etc)
Ta-daa list of gallium drivers.
http://www.phoronix.com/scan.php?page=n … &px=OTYxNg
Last edited by el mariachi (2011-07-06 19:16:48)
It doesn't appear that any Intel DRM driver update is required on the kernel side to take advantage of this video playback acceleration
hehe I get a ~10fps increase in nexuiz with i965g
although glxgears and dcompmgr --gl will freeze everything except the mouse cursor :S
Last edited by el mariachi (2011-07-06 20:23:24)
Another hit to the applications that gains with i915g is extreme tux racer.
with intel-dri, it reaches 11, 12fps, while with i915g it goes to 28,29.
Sadly enough, i just discovered that youtube in fullscreen is black and white when hw acceleration (scaling) is used as long as gallium, and that some applications will cause the system to heavily swap.
But there is a workaround, you can use intel-dri and gallium without going to install one and uninstall the other; what i did is to keep intel-dri installed for normal desktop use.
Next, i made the pkg for mesa-full-i915g with makepkg and unpacked it to (say) /mesai915g/.
When i need to use i915g for a particular app, i just do:
LD_LIBRARY_PATH=/mesai915g/usr/lib/ LIBGL_DRIVERS_PATH=/mesai915g/usr/lib/xorg/modules/dri sauerbraten
This is also a quick way to make tests, comparisions and benchmarks
You could do it as how the radeon driver did it for a while:
and of course removing intel-dri from the conflictig files and adding it to the dependencies.
And for comfort I'd create a script like
#!/bin/bash LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri_g $@
for starting it like
(LIBG_DRIVERS_PATH should be a bit better than the whole LD_LIBRARY_PATH)
Damn... They discontinued i965g (and removed it from git) just when I was about to try it! Apparently I have the same chipset with el mariachi. Is there a chance anyone still has their x86_64.pkg.tar.xz?
Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, 1878 MB, XFCE 4.12, x86_64. AURs.
“No one without the knowledge of geometry may enter.“ Plato.