PDA

View Full Version : Ati + Kubuntu + Aiglx VERY SLOW


tharandur
November 2nd, 2007, 05:20 PM
Hello!

I execute

LIBGL_ALWAYS_INDIRECT=true compiz --replace &

And the exit is:

tharandur@moo:~$ Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 1002:5653 (prog-if 00 [VGA])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald
X Error: BadDevice, invalid or uninitialized input device 158
Major opcode: 149
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 158
Major opcode: 149
Minor opcode: 3
Resource id: 0x0
Failed to open device

(emerald:20511): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8


(emerald:20511): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8

/usr/bin/compiz.real (dbus) - Error: dbus_bus_get error: Failed to execute dbus-launch to autolaunch D-Bus session
/usr/bin/compiz.real (core) - Error: Couldn't activate plugin 'dbus'
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 0
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
/usr/bin/compiz.real (dbus) - Error: dbus_bus_get error: Failed to execute dbus-launch to autolaunch D-Bus session
/usr/bin/compiz.real (core) - Error: Couldn't activate plugin 'dbus'
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format


And it runs slow... I have a Ati X700 with the ATI's lastest drivers. My glxgears results:

tharandur@moo:~$ glxgears
21781 frames in 5.0 seconds = 4356.177 FPS
27126 frames in 5.0 seconds = 5424.619 FPS
30218 frames in 5.0 seconds = 6043.433 FPS
30892 frames in 5.0 seconds = 6178.227 FPS

Any idea? Excure my poor English :(

adamk
November 2nd, 2007, 05:38 PM
Please post or attach your /var/log/Xorg.0.log file.

tharandur
November 2nd, 2007, 06:07 PM
My /var/log/Xorg.0.log:

http://tharandur.palib.info/Xorg.0.log.txt

(It's to big to be attached or posted :/)

adamk
November 2nd, 2007, 06:20 PM
Well, the dbus problems are probably caused by not having dbus installed/running. The video warning are normal... I'm not sure about the "Warn: No GLXFBConfig for depth 0" errors though. I've never seen those before.

Your 3D drivers do appear to be installed properly... How slow is slow for you? Unfortunately, the AIGLX support in the latest fglrx drivers just isn't very fast at the moment, so it's possible that everything is running as well as can be expected.

If you turn on the benchmark plugin, what framerates do you get?

Adam

tharandur
November 2nd, 2007, 06:34 PM
The dbus I think that it's running:
root@moo:~# ps -A | grep dbus
4712 ? 00:00:06 dbus-daemon
19873 pts/1 00:00:00 dbus-launch
19874 ? 00:00:00 dbus-daemon


My definition of slow: for example, when I scroll in Opera it's get very slow... All don't work fluid.

What is the "benchmark plugin"??

Thanks for your help :)

adamk
November 2nd, 2007, 06:55 PM
Well, I don't have much of an explanation of the dbus problems, then... That's odd.

For the benchmark plugin, launch 'ccsm' and just use the filter to search for Benchmark. You should see the plugin. Just make sure it's enabled. You can then turn on the benchmark utility by hitting the windows key + F12 (which what it defaults to, iirc, but you can double check this in the "Actions" tab of the plugin).

tharandur
November 2nd, 2007, 07:29 PM
Edited: Too bad English xD.

adamk
November 2nd, 2007, 07:59 PM
You can't stop it? It should be the same keystroke you hit to start it.

tharandur
November 2nd, 2007, 08:15 PM
My question is: "How can I save that I activate the benchmark plugin?", because when I push the "Close" button after activate it, and I reopen the configuration, the Benchmark plugin is desactivated.

Excuse the poor English

adamk
November 2nd, 2007, 09:21 PM
Start up 'ccsm' and hit the 'Preferences' button. See if the "Enable integration into the desktop environment" button is checked. If it is, disable it, and try activating the benchmark plugin again.

If that doesn't work, see what "Backend" you are using in the preferences screen and, if it's not set to "Flat-file," change it to that.

Adam

tharandur
November 2nd, 2007, 09:43 PM
Ok, I could activate the Benchmark plugin, but when I pulse the buttos to "use" it, nothing occurs :/. I've tried different combinations and nothing...

adamk
November 2nd, 2007, 09:48 PM
Did you check the things I said?

Adam

tharandur
November 2nd, 2007, 10:41 PM
Yes, the backend is Flat-File and "Enable integration into..." isn't marked.

I also try change several times the buttons that launch the plugin, and with differents valors in the blacend field and with marked and unmarked "Enable integration into..."

adamk
November 2nd, 2007, 10:46 PM
Try changing the keybinding to something else and see if it works.

Adam

tharandur
November 2nd, 2007, 10:55 PM
Yuhu!, with F8 key works!

At the beginning the benchmark show that the fps are great (300 fps aprox.), but , for example, when I scroll with the web-browser the fps became slower (around 200 fps), and when I navigate in the K menu, the fps begin to down, and now i'm with only 3fps and I have close the K Menu...

adamk
November 2nd, 2007, 11:32 PM
Unfortunately, that just sounds like typical performance with AIGLX with the fglrx drivers. If you find the performance unacceptable, I can only recommend swithcing to Xgl or using the open source drivers.

Adam

tharandur
November 2nd, 2007, 11:43 PM
Ok! Thanks for your help... Really fast!

With XGL I have the problem that the process "xgl" uses a lot of CPU... Unfortunately, I think that I will use open surce drivers o not use compiz.

Thanks!