Summary: | cairo very slow rendering with kabini vga card | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Neok <sounizan-neok> | ||||||||
Component: | Server/Acceleration/glamor | Assignee: | Xorg Project Team <xorg-team> | ||||||||
Status: | RESOLVED WORKSFORME | QA Contact: | Xorg Project Team <xorg-team> | ||||||||
Severity: | normal | ||||||||||
Priority: | medium | ||||||||||
Version: | unspecified | ||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||
OS: | Linux (All) | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
The driver is not loaded in the logs attached. Please attach a copy of your xorg log and dmesg output with the firmware installed. Note that if you are using an initrd, you need to update that with the firmware as well. Note that closed source drivers overwrite multiple files - libGL.so and libglx.so as a bare minimum. In the log that you've attached - the AMD Proprietary libglx.so is used, which won't work with the open source xf86-video-amdgpu or libGL (coming from mesa). Created attachment 124668 [details] Xorg.0.log > From: "bugzilla-daemon@freedesktop.org" <bugzilla-daemon@freedesktop.org> >To: sounizan-neok@yahoo.com >Sent: Wednesday, June 22, 2016 7:56 PM >Subject: [Bug 96634] Mesa or libGL very slow rendering with kabini vga card >Comment # 1 on bug 96634 from Alex Deucher >The driver is not loaded in the logs attached. Please attach a copy of your >xorg log and dmesg output with the firmware installed. Note that if you are>using an initrd, you need to update that with the firmware as well. I am sorry for my mistakes in setting up my system, producing wrong logs: With the setup as reported in the new dmesg and Xorg log I indeed have the case of very slow Cairo rendering. Thank you for your quick response. -- Best Regards Neoklis - Ham Radio Call:5B4AZ http://www.5b4az.org/ Created attachment 124669 [details]
dmesg
You are using the amdgpu driver. I suspect the problem is that you have radeon blacklisted due to having installed fglrx previously. If using the radeon kernel driver instead of amdgpu doesn't help, you can try Option "ShadowPrimary" in /etc/X11/xorg.conf . > From: "bugzilla-daemon@freedesktop.org" <bugzilla-daemon@freedesktop.org> >To: sounizan-neok@yahoo.com >Sent: Thursday, June 23, 2016 3:40 AM >Subject: [Bug 96634] Mesa or libGL very slow rendering with kabini vga card >Comment # 6 on bug 96634 from Michel Dänzer >If using the radeon kernel driver instead of amdgpu doesn't help, you can try >Option "ShadowPrimary" in /etc/X11/xorg.conf . Well Done! At Last! I tried so many ideas before I could narrow down the conditions that created the problem. And now you have given me the solution! Thank you! I tried installing the radeon driver but it didn't help, so I created this file /etc/X11/xorg.conf/20-radeon.conf, from ArchLinux wiki: Section "Device" Identifier "Radeon" Driver "radeon" Option "AccelMethod" "glamor" Option "DRI" "3" Option "TearFree" "on" Option "ShadowPrimary" "on" Option "ColorTiling" "on" Option "ColorTiling2D" "on" EndSection Some options may not be needed but Option "ShadowPrimary" "on" definitely fixes the problem. This problem exists in every major distro I tried except Puppy Linux, which does not include kabini firmware. I will report this to Void Linux but other distro developers may need to be informed about this, as I have seen a number of bug reports complaining about symptoms similar to what I have experienced. Thanks again! -- Best Regards Neoklis - Ham Radio Call:5B4AZ http://www.5b4az.org/ Closing per comment #7. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 124663 [details] dmesg and Xorg log Hi I have a Compulab FitPC4 computer with AMD G-Series Jaguar @2.0GHz CPU and Radeon HD 8400E GPU and latest Void Linux distro. I have noticed that rendering speed of Cairo is very much slower on this machine than on my laptop, of similar specs but different hardware. I tried various Linux distros including Debian, Arch and Mint, but all with the same problem. Then I tried a Puppy Linux LiveCD and surprisingly Cairo rendering was a lot faster. Eventually I found that the reason is Puppy Linux does not include KABINI firmware blobs so I tried removing these from my Void Linux installation and running it without them. The result was that the linux console went blank but I was able to log in blind and start my Xorg desktop. Sure enough, Cairo rendering became a lot faster. Unfortunately since the console goes blank, I had to reinstate the KABINI firmware and the slow down returned. The driver I use is the xf86-video-amdgpu. I felt I should persist and eventually found that if I install the catalyst-libs-15.12 or nvidia-libs-364.19, which replace libGL, then Cairo rendering again becomes much faster. I therefore suspect that the mesa/libGL combination slows down Cairo rendering, if KABINI firmware blobs are loaded by the system. And with the slow down comes a heavy increase in processor workload, which probably means that hardware acceleration is disabled when KABINI blobs are loaded. I attach dmesg and xorg log.