I have reported before that in my system, the CPU was used intensively by xorg. With the ATI proprietary fglrx driver, it helped to reduce the slowliness in the applications, and eliminated dvd jerky playback in gnome.
But in KDE is a different story. Playing a DVD with Kaffeine gives black rectangles flickering in the screen. Clicking in the menus of Kaffeine cause them to flicker too. If Kaffeine is reduced to a small window and another application cover is full screen, then I can see the black window of Kaffeine overlaying the application.
Top shows also that xorg, both in Gnome and KDE, uses the CPU at very high %, although this only for a short moment. But this is not normal. My previous system had a 1GHz CPU with an old Radeon 9250 card and never saw that kind of problems.
I still believe that the ATI propietary driver still does not provide perfect support for this integrated gpu, HD-3200
Or can someone with a similar system tell me if my xorg.conf should be modified? Here is my present configuration. Thanks for your suggestions.
The config options are definitely wrong for the graphics block -- starting with the 5xx generation we completely changed the display block and no longer use the overlay for normal video playback. The older chips had dedicated video processing hardware in the overlay block, but newer chips use shaders to perform the back end video processing. This will result in higher CPU utiliization but also makes it possible to run the video through a compositor (although we're not doing that yet).
I would comment out all of the Option lines in Device, but at minimum you want VideoOverlay off and TexturedVideo on. That said, the driver gets most of its settings from amdpcsdb, and those contents are set & viewed using CCCLE or the aticonfig utility.
Are the settings in your xorg.conf left over from the earlier card ?
Anyways, first thing IMO would be to comment out all the Display option lines (leave Identifier and Driver), then take a look in amdpcsdb using aticonf. Try starting with aticonfig --help and that will give you the rest of the info you need.
No, these options are written by my script. Because that was the way to enable Xv with older releases. I can not check which series a card is and then enable or disable those options. It was definitely not my fault that the older fglrx drivers _required_ those options.
Usually those options are not critical, some of em are just ignored. The TexturedVideo option is one of the options which is absolutely nonsence anyway, because the driver has to switch that itself. I basically write those:
That means that the driver should use Xv. It does not say anything about what _how_ the driver should provide Xv, it is still up to the driver. If the user has to specify that if he wants to see a video correctly then fglrx is faulty. The aticonfig tools is one of the worst things ever created. My perl/sed replacements work much better. Also I can not see any logic in aticonfig, it writes only a template with initial - and a very bad one when the xorg.conf looked a bit more complex before. In some cases the tool just segfaults anyway - so no way to rely on it.
Yeah, the problem is that the options are too low-level. The "VideoOverlay" option doesn't mean "enable Xv", it means "have Xv use the dedicated video processor built into the overlay block of older ATI parts". TexturedVideo means "have Xv use shaders".
I think we do need options more like the ones you are talking about, eg "enable Xv" but those are not the options we have today.
Thank you bridgman and kano for posting comments. Although this goes a bit far from my limited knowledge, I do agree that kano's script modified the Device section as is shown, and it uncommented the options that I was testing with the previous (bad) installed fglrx.
So, if I well understood, this integrated GPU is relatively new, and hence the options that kano suggested may not apply to it?
Alright. I'll have to play around with the options to find out if something can improve (or worsen!) the driver's function. I will try that, begining by uncomenting all, except what brigdmnan suggests, understanding that the option "enable Xv" does not exist yet.
I will post latter on. Thank you.
I have tested the xorg options, by commenting out all the options, and by enabling them also. To me, there are no noticeable differences. It's like the fglrx driver just ignores whatever option is in the device section.
Anyway, I solved the flickering of the kaffeine window in KDE by disabling the transparency and shadow effects in KDE control center.
Xorg CPU use is very high at moments and is the same whether I coment out all options or leave them enabled.
One more thing. When I logout from KDE using the logout button, I lose the X server. I get a black screen, and CTRL+ALT+BACKSPACE cannot rescue it, so I have to switch the power button off then on to get back. But if I restart the xserver with CTRL+ALT+BACKSPACE (instead of using that logout button) I can get back to the gdm. strange, but maybe this has nothing to do with the driver.
I hope that ATI developers take a closer look at this driver, maybe some more fixing is needed, especially to provide 3D support. Thanks