You are not logged in.
When switching from Catalyst to xf86-video-ati, a few problems occurred.
I tried to enable EXA rendering by setting the option in my Xorg.conf, but I got the message that EXA isn't supported on my card and that Glamor will be used. I'm fine with using Glamor, but using it gives me some weird problems. For instance, when I play a video, the top 5% of the screen has horizontal tearing, as explained in this bug report: https://www.libreoffice.org/bugzilla/sh … i?id=78717
It seems unfortunately that there is no way to solve the video tearing problem with Glamor. I tried playing my videos with mpv and vlc and with different video output options (xv, gl-hq, gl, vdpau), but they all gave horizontal tearing in the top 5% of the screen.
When playing a video or running glxgears, I get the following error messages:
radeon: Failed to allocate a buffer:
radeon: size : 0 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
And this goes on and on when running the program.
There are also messages appearing in dmesg when those problems occur:
[ 1587.499789] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (0, 6, 4096, -22)
[ 1587.516597] [TTM] Illegal buffer object size
[ 1587.516606] [TTM] Illegal buffer object size
My full xorg.log:
I understand that solving tearing is not a priority now with Glamor, but at least I want to get rid of the error messages. Any ideas?
lspci reports my card as:
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
The card that I use is this one http://www.sapphiretech.com/presentatio … 2022&lid=1 , the SAPPHIRE DUAL-X R9 280X 3GB GDDR5 OC
Last edited by robin007bond (2015-01-26 15:17:46)
Offline
Sorry for the late reply, but I happen to have recently built a similar setup (Arch Linux + Radeon R9 280) and I'm also getting the "Failed to allocate a buffer" (of size 0) messages whenever I run something that seems to use the radeonsi driver (i.e. games, 3D, shaders...). However, I do not have the video tearing issue, and I don't get the messages when playing a video either (well, at least not with VLC, which is the only software I've tried for this). I can't really help you more with the video tearing issue, but I filed a specific bug report for the "Failed to allocate a buffer" messages here :
Offline
Sorry for the late reply, but I happen to have recently built a similar setup (Arch Linux + Radeon R9 280) and I'm also getting the "Failed to allocate a buffer" (of size 0) messages whenever I run something that seems to use the radeonsi driver (i.e. games, 3D, shaders...). However, I do not have the video tearing issue, and I don't get the messages when playing a video either (well, at least not with VLC, which is the only software I've tried for this). I can't really help you more with the video tearing issue, but I filed a specific bug report for the "Failed to allocate a buffer" messages here :
Thanks for reporting the bug! I hope that there'll be a solution for both of us.
Good to hear that you don't see tearing. It only happens on fast sequences.
An example:
Offline
Seems like the problem will be fixed in the next mesa release, according to the bug report: https://bugs.freedesktop.org/show_bug.cgi?id=82162
The tearing issue still exists.
Offline
I downloaded and installed the appropriate packages from Laurent Carlier's repository (Laurent is the maintainer for most mesa driver-related packages) and I can confirm that the "Failed to allocate a buffer of size 0" issue got fixed in this version. As an added bonus, the recent LLVM packages from the same repository solved the other issue I was describing in my bug report (i.e. "LLVM ran out of registers").
Offline
It's solved with the new mesa update. Good work mesa developers!
Tearing is still an issue though.
Offline
Bumping this topic because tearing is still an issue.
My problem matches this bug report exactly:
https://www.libreoffice.org/bugzilla/sh … i?id=72248
I tried the opengl-hq output with mpv, but it doesn't resolve the tearing issue. Even if the video dimensions fit the whole screen. Tearing is also visible with 1920x1080 videos which is the resolution of my monitor. Page flipping is set to on. Also tried vdpau, but the tearing still occurs.
My XORG.conf:
SECTION "Device"
Identifier "Radeon"
Driver "radeon"
Option "EnablePageFlip" "on"
EndSection
I'm using Awesome WM by the way.
Last edited by robin007bond (2014-12-13 20:06:33)
Offline
Hooray! It seems that the tearing is fixed. I'm using mpv with opengl-hq as video output and don't see the tearing anymore. Could it be a Mesa update?
Offline