https://bugs.freedesktop.org/show_bug.cgi?id=103370
--- Comment #40 from Shih-Yuan Lee fourdollars@gmail.com --- Created attachment 135662 --> https://bugs.freedesktop.org/attachment.cgi?id=135662&action=edit dmesg
(In reply to Alex Deucher from comment #38)
Created attachment 135647 [details] [review] workaround for radeon
workarounds for radeon and amdgpu to fix the issue.
I applied this patch on top of Ubuntu-4.4.0-101.124 Linux kernel and it seems to fix the issue in the beginning. But it has some problem later on.
$ seq 20 | while read i; do echo Loop $i; DRI_PRIME=1 glxgears -info|head -n 5; done Loop 1 radeon: Failed to allocate virtual address for buffer: radeon: size : 65536 bytes radeon: alignment : 4096 bytes radeon: domains : 4 radeon: va : 0x0000000000800000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 65536 bytes radeon: va : 0x800000 radeon: Failed to allocate virtual address for buffer: radeon: size : 65536 bytes radeon: alignment : 4096 bytes radeon: domains : 4 radeon: va : 0x0000000000800000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 65536 bytes radeon: va : 0x800000 radeonsi: Failed to create a context. Loop 2 ...