You are not logged in.
Hello,
I have several problems since i updated libdrm/libgl/mesa/ati-dri/xf86-video-ati yesterday.
First, 3d hardware acceleration is not working (or working really really slowly). Mupen64plus (a Nintendo 64 emulator) was running flawlessly on my computer yesterday. Now i get 1.5fps...
Same problem with glxgears. It runs at 250~ FPS, i had 500 before the update. And it now uses 50% of my CPU (1% or less before the update...).
Also, i cannot run a flash video in fullscreen (i could before...)
I downgraded these 5 packages, and now flash videos are working but glxgears and mupen64plus segfault when i run them from my account. I need to launch them as root
Here is the gdb backtrace of glxgears launched from my account:
Core was generated by `glxgears'.
Program terminated with signal 11, Segmentation fault.
#0 0xb73af084 in vbo_VertexAttrib4fvARB () from /usr/lib/xorg/modules/dri/libdricore.so
(gdb) bt full
#0 0xb73af084 in vbo_VertexAttrib4fvARB () from /usr/lib/xorg/modules/dri/libdricore.so
No symbol table info available.
#1 0xb73a18d1 in neutral_VertexAttrib4fvARB () from /usr/lib/xorg/modules/dri/libdricore.so
No symbol table info available.
#2 0x0804a275 in ?? ()
No symbol table info available.
#3 0x00000001 in ?? ()
No symbol table info available.
#4 0x00001300 in ?? ()
No symbol table info available.
#5 0x0804b220 in ?? ()
No symbol table info available.
#6 0xbfe2f73c in ?? ()
No symbol table info available.
#7 0xbfe2f738 in ?? ()
No symbol table info available.
#8 0x00000000 in ?? ()
No symbol table info available.
BTW, my graphic card is a ATI Radeon X300 (RV370) and KMS is enabled (and yes, i also tried to disable it).
Is anyone else having similar issues ?
Offline
Same problem here! Tried to go back to mesa-full from aur, but I can't compile it today and I get this error.
In Datei, eingefügt von radeon_buffer.c:33:
radeon_buffer.h:43:23: Fehler: radeon_bo.h: Datei oder Verzeichnis nicht gefunden
radeon_buffer.h:44:23: Fehler: radeon_cs.h: Datei oder Verzeichnis nicht gefunden
In Datei, eingefügt von radeon_drm.h:46,
von radeon_buffer.h:46,
von radeon_buffer.c:33:
radeon_r300.h:31:27: Fehler: radeon_cs_gem.h: Datei oder Verzeichnis nicht gefunden
radeon_buffer.c:35:27: Fehler: radeon_bo_gem.h: Datei oder Verzeichnis nicht gefunden
radeon_buffer.c: In Funktion »radeon_buffer_create«:
radeon_buffer.c:76: Fehler: »RADEON_GEM_DOMAIN_VRAM« nicht deklariert (erste Benutzung in dieser Funktion)
radeon_buffer.c:76: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
radeon_buffer.c:76: Fehler: für jede Funktion in der er auftritt.)
radeon_buffer.c:79: Fehler: »RADEON_GEM_DOMAIN_GTT« nicht deklariert (erste Benutzung in dieser Funktion)
radeon_buffer.c:85: Warnung: Implizite Deklaration der Funktion »radeon_bo_open«
radeon_buffer.c:86: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
radeon_buffer.c: In Funktion »radeon_buffer_user_create«:
radeon_buffer.c:105: Warnung: Implizite Deklaration der Funktion »radeon_bo_map«
radeon_buffer.c:106: Fehler: Dereferenzierung eines Zeigers auf unvollständigen Typen
radeon_buffer.c:107: Warnung: Implizite Deklaration der Funktion »radeon_bo_unmap«
radeon_buffer.c: In Funktion »radeon_buffer_del«:
radeon_buffer.c:136: Warnung: Implizite Deklaration der Funktion »radeon_bo_unref«
radeon_buffer.c: In Funktion »radeon_buffer_map«:
radeon_buffer.c:149: Warnung: Implizite Deklaration der Funktion »radeon_bo_is_referenced_by_cs«
radeon_buffer.c:156: Warnung: Implizite Deklaration der Funktion »radeon_bo_is_busy«
radeon_buffer.c:167: Fehler: Dereferenzierung eines Zeigers auf unvollständigen Typen
radeon_buffer.c: In Funktion »radeon_pipe_winsys«:
radeon_buffer.c:264: Warnung: Implizite Deklaration der Funktion »radeon_bo_manager_gem_ctor«
radeon_buffer.c:264: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
make[5]: *** [radeon_buffer.o] Fehler 1
make[5]: Leaving directory `/var/abs/local/yaourtbuild/mesa-full/src/mesa-build/src/gallium/winsys/drm/radeon/core'
make[4]: *** [default] Fehler 1
make[4]: Leaving directory `/var/abs/local/yaourtbuild/mesa-full/src/mesa-build/src/gallium/winsys/drm/radeon'
make[3]: *** [default] Fehler 1
make[3]: Leaving directory `/var/abs/local/yaourtbuild/mesa-full/src/mesa-build/src/gallium/winsys/drm'
make[2]: *** [default] Fehler 1
make[2]: Leaving directory `/var/abs/local/yaourtbuild/mesa-full/src/mesa-build/src/gallium/winsys'
make[1]: *** [subdirs] Fehler 1
make[1]: Leaving directory `/var/abs/local/yaourtbuild/mesa-full/src/mesa-build/src'
make: *** [default] Fehler 1
==> FEHLER: Build fehlgeschlagen.
Breche ab ...
Error: Makepkg was unable to build mesa-full package.
When I try to use an old mesa-full package I compiled before, the xorg-server doesnt start anymore.
Offline
I'm sorry, I don't have anything to add, just that I think I'm having the same problem. I am using a Radeon X850 video card with the open source drivers. I updated and installed the 12/22 releases of ati-dri, libdrm, libgl, mesa, and xf86-video-ati. (I think that was it, I'm at work right now) "Direct rendering" was still enabled, but compiz now crashes with X errors. My temporary workaround was to disable compiz.
I will report more when I get home, if someone doesn't already have a fix.
Offline
same here, using ati x1150. The latest updates included libdrm(2.4.16->2.4.17), ati-dri, mesa, libgl (7.6 -> 7.6.1) and with xf86-video-ati(6.12.4-2). I tried with xf86-video-ati from testing, it's even worse with that package. (6.12.99.git20091221-1).
Offline
Please see the comments from the Arch Linux developer here:
http://bbs.archlinux.org/viewtopic.php?id=87321
Downgrade xf86-video-ati to get it working, or, install xf86-video-ati-git from AUR. (I think)
You may want to mark this as "SOLVED", since it appears that this package has been "downgraded" by choice. It looks like the official Arch Linux ATI drivers have been changed from git to stable. See here:
http://mailman.archlinux.org/pipermail/ … 14689.html
DISCLAIMER: I am not an Arch Linux developer.
Last edited by drcouzelis (2009-12-23 20:12:04)
Offline
Please see the comments from the Arch Linux developer here:
http://bbs.archlinux.org/viewtopic.php?id=87321
Downgrade xf86-video-ati to get it working, or, install xf86-video-ati-git from AUR. (I think)
You may want to mark this as "SOLVED", since it appears that this package has been "downgraded" by choice. It looks like the official Arch Linux ATI drivers have been changed from git to stable. See here:
http://mailman.archlinux.org/pipermail/ … 14689.html
DISCLAIMER: I am not an Arch Linux developer.
So, if i understand the message from the mailing list correctly, everything should be fixed with mesa 7.7 ?
Last edited by aze489 (2009-12-23 22:54:24)
Offline
Yeah, that's what I understand. I'm going to try downgrading tonight.
Offline
I don't know if this help but after the last update i disable the "Early start" mode of KMS because i have a problem with Hardware acceleration and reabuild Initcpio
I realize after reboot the KMS is enable in "Late start" mode :S and i disable it by adding "options radeon modeset=0" to my /etc/modprobe.d/modprobe.conf file.
And everything back to normal for me
Last edited by SaturnTheIcy (2009-12-30 01:24:54)
P.S. : sorry for my bad English
Offline
Thank you! Me too. I disabled KMS as is instructed here:
http://wiki.archlinux.org/index.php/ATI#Disable_KMS
and now I have hardware accelerated graphics again. Also, I am using all of the latest mesa/drm/libgl/ati packages.
Offline
I tried to disable KMS and reboot again with the lastest packages, just to make sure, And i still don't have hardware acceleration.
I just tried to play a flash video in fullscreen and it lagg... 3D apps have very poor performances.
I'm going to have to downgrade again...
Last edited by aze489 (2009-12-24 03:29:02)
Offline
I finally found out why all my 3d program were segfaulting with the old packages, thanks to strace...
(...)
open("/dev/dri/card0", O_RDWR) = -1 EACCES (Permission denied)
(...)
crw-rw---- 1 root video 226, 0 déc. 24 04:34 card0
And yet, in my xorg.conf i have:
Section "DRI"
Mode 0666
EndSection
I have no idea why this problem appeared just after i upgraded and downgraded mesa/xf86-video-ati...
Last edited by aze489 (2009-12-24 09:20:41)
Offline
I'm using an R610 card here and I had to rebuild the latest libdrm with --enable-radeon-experimental-api. I have also compiled and install the latest ati driver from git http://aur.archlinux.org/packages.php?ID=15374 , it seems version 6.13 is needed now.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
drcouzelis look at this bug it's related whith Compiz
P.S. : sorry for my bad English
Offline
Looks as if KMS isn't particularly stable for ATI cards, now its disabled by default acceleration/compositing should be back...the old way anyway...
I myself am going to enable KMS/DRI2, it worked better for me by far...
Offline
Since i updated to the latest packages (mesa 7.7, xf86-video-ati 6.12.4, kernel 2.6.32) and disabled kms (i had no other choice, "early start" kms isn't working with the new kernel...), 3d acceleration is back, but flash videos in fullscreen are still laggy
All those problems are really annoying. Everything was working fine before :-(
Last edited by aze489 (2010-01-02 21:50:58)
Offline
Well I recompiled everything with ATI KMS support, then realised later that the only advantage I'd experienced is acceleration using the EXA method. I noticed you could specify this in xorg.conf, and after reinstalling the default arch packages and setting it up the old way, I enabled EXA. Turns out its very stable and works better than the KMS/DRI2 way of doing it
I've actually been an idiot for not realising this earlier
Offline
EXA is already enabled in my xorg.conf
Offline
Is it possible to manually enable KMS without having to recompile packages ?
Last edited by aze489 (2010-01-05 02:18:04)
Offline
Apparently, it is possible by adding "radeon" to the MODULES line in rc.conf, but now, i have no hardware acceleration. *again*.
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7
OpenGL shading language version string: 1.20
:'(
Last edited by aze489 (2010-01-05 15:42:01)
Offline
I think you have to recompile libdrm with --enable-radeon-experimental-api to get KMS & acceleration.
And libdrm is a dependency from mesa and xf86-video-ati. Maybe you have to recompile these packages too.
Offline
I just tried that.
I compiled and installed libdrm with radeon-experimental-api from abs, rebooted, compiled and installed mesa(and libgl/ati-dri) from abs, rebooted, compiled and installed xf86-video-ati from abs, added radeon in my MODULES list, rebooted.
KMS is working (it was working without recompiling), but i still don't have hardware acceleration.
When i launch any opengl app with LIBGL_DEBUG=verbose, it says the driver used is swrast_dri.so
I also have an error message in my Xorg log file.
[dri] radeon kernel module version is 2.0.0 but version 1.17.0 or newer is needed.
[dri] Disabling DRI.
edit:
using xf86-video-ati-git seems to fix the problem.
Last edited by aze489 (2010-01-05 18:53:27)
Offline