FS#10500 - Last mesa is broken.
Attached to Project:
Arch Linux
Opened by Andrey Gusev (metal) - Sunday, 25 May 2008, 22:58 GMT
Last edited by Jan de Groot (JGC) - Sunday, 22 June 2008, 21:12 GMT
Opened by Andrey Gusev (metal) - Sunday, 25 May 2008, 22:58 GMT
Last edited by Jan de Groot (JGC) - Sunday, 22 June 2008, 21:12 GMT
|
Details
Description: I upgraded on mesa 7.0.3-2 and 3d acceleration
has broken(glxgears doesn't show any movement). Similar
trouble:
http://bbs.archlinux.org/viewtopic.php?id=40318
I downgraded to 7.0.3rc2-1 and glxgears runs, but it seems very slow. On intel 855GM 564 frames in 5.0 seconds = 112.696 FPS Additional info: * package version(s) 7.0.3-2 * config and/or log files etc [2008-05-26 01:22] upgraded mesa (7.0.3rc2-1 -> 7.0.3-2) .... [2008-05-26 01:23] installed intel-dri (7.0.3-1) [2008-05-26 01:23] upgraded xf86-video-intel (2.2.1-2 -> 2.3.1-1) [2008-05-26 01:23] upgraded xf86driproto (2.0.3-1 -> 2.0.4-1) [2008-05-26 01:23] upgraded xorg-server (1.4.0.90-9 -> 1.4.0.90-13) [2008-05-26 01:23] upgraded xproto (7.0.11-1 -> 7.0.12-1) [2008-05-26 01:23] upgraded xtrans (1.0.4-1 -> 1.2-1) Steps to reproduce: 1) updrade 2) run glxgears. |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 22 June 2008, 21:12 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 7.0.3-3.
Sunday, 22 June 2008, 21:12 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 7.0.3-3.
I take a copy from the abs tree and play my normal "try&error" game. With two modifications glxgears works as before:
replaces=('mesa-apps')
+options=('!makeflags') # optional (only if don't run make with -j1)
...
patch -Np0 -i ${startdir}/src/mesa-6.5-apps-noglut.patch || return 1
+
+# workaround to let the gears twist again
+unset CFLAGS
+unset CXXFLAGS
I can't test this with an intel card so perhaps one of you can give it a try to see if this works for you too.
The gears don't move, FPS are normal. Downgrading to mesa to 7.0.3rc2-1 (i686) solve it here, too.
Did not have hardware acceleration after the update. Somehow the intel-dri package was not installed cleanly and the /usr/lib/xorg/modules/dri/* files were missing.
Reinstallation of intel-dri fixed that. However, the wheels do not spin at all while the fps is ok and the hardware acceleration works (quake3 runs good ;) ).
CFLAGS="-march=i586 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i586 -mtune=generic -O2 -pipe"
I also tested march=i486 (worked) and march=pentium-m (worked not).
unset CFLAGS
unset CXXFLAGS
to the PKGBUILD works for me, too
CFLAGS/CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -fomit-frame-pointer"
CFLAGS/CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
CFLAGS/CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe"
That was the reason why i give "unset" a try.
@Adrian C. Thanks for the information that "spin" is the correct word and not "twist". -)
[code]
CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
[/code]
on
[code]
CFLAGS="-march=i686 -mtune=pentium-m -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=pentium-m -O2 -pipe"
[/code]
Rebuilt package, upgraded and it became working for me!
Recompiling mesa using these flags solves the problem (CPU is Turion 64):
CFLAGS="-march=i686 -mtune=k8 -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=k8 -O2 -pipe"