[Bug 100276] xf86-video-amdgpu-1.3.0 segfaults with a rotated screen (regression caused by commit ad53635af1)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 23 09:58:14 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100276
Michel Dänzer <michel at daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #130373|0 |1
is obsolete| |
--- Comment #6 from Michel Dänzer <michel at daenzer.net> ---
Comment on attachment 130373
--> https://bugs.freedesktop.org/attachment.cgi?id=130373
Bail from drmmode_set_mode_major if it's called too early
(In reply to timon37 from comment #5)
> Patch didn't help. Actually it initially didn't compile for me
> (AMDGPUWindowExposures_oneshot was undefined)
Oops, sorry, I thought I'd at least compile-tested the patch, but I obviously
hadn't.
> but I added a prototype for it.
Did you also remove the static keyword from the function declaration
src/amdgpu_kms.c? If not, that might explain why the patch didn't work.
> But when I comment out the "Virtual 4096 4096" line it consistently works,
> and if then uncomment it it crashes.
Thanks, this allowed me to reproduce the problem.
https://patchwork.freedesktop.org/patch/145922/ fixes it for me.
BTW, does the Virtual line serve any purpose? Xorg seems to resize the screen
to fit the rotated output anyway for me.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20170323/5d9bfa46/attachment.html>
More information about the xorg-driver-ati
mailing list