AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Depth 30 enablement for ati-ddx + exa. Rev 3
@ 2018-01-22  2:14 Mario Kleiner
       [not found] ` <20180122021437.9361-1-mario.kleiner.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Mario Kleiner @ 2018-01-22  2:14 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: mario.kleiner.de-Re5JQEeQqe8AvxtiuMwx3w

Ok, 3rd revision, now with per-x-screen drmmode_crtc_funcs rec
and set_gamma = NULL in the depth 30 case. Also back to Fredrik's
original exa 10 bit patch, just with his signed-off tacked on.

Tested with single and dual x-screen, depth 24, depth 30 and mixed
24 and 30 on separate x-screens. Also tested against current tip
of ati-ddx master.

In other news:

When testing against current master in dual-x-screen mode,
i found out that the current ati-ddx commit at the top 1fe8ca75974c52
"Keep track of how many SW cursors are visible on each screen"
breaks multi x-screen setups by screwing up cursor handling.

If i start such a config on KUbuntu 16.04.3 LTS with X-Server 1.19.3
and sddm login manager, the displays come up with the sddm login
prompt on the display of x-screen 0, and a black display on screen 1,
as expected. Mouse cursor starts off on screen 0. As long as i move
the cursor only on x-screen 0 all is fine. As soon as i try to move
the cursor to the display of x-screen 1, the cursor disappears, the
whole display freezes and top shows x-org consuming 100% of a cpu
core, apparently caught in an infinite loop. Attaching gdb suggests
it is calling the new cursor handling code of that commit in some
infinite loop.

I had a look at the commit and couldn't find anything obviously
wrong with it. But then i just learned enough about cursor handling
to understand that commits logic in the first place, and obviously
the machine disagrees with my judgment. Reverting that commit makes
everything work again on dual x-screen. Haven't tested on amdgpu-ddx
but if it has the same patch i'd expect the same breakage.

I am also currently looking into broken pageflipping with the ati-ddx
under DRI2. This seems to be due to recent changes in the drmAddFB()
calls to no longer pass in the depth/bpp of the x-screens root window
pixmap, but instead the depth/bpp of the pixmap that should be
flipped onto the scanout. On DRI3 this behaves as i'd expect, but
on DRI2 the passed in pixmaps don't seem to have depth 24 on a depth
24 screen or depth 30 on a depth 30 screen, like the root windows,
but instead the pixmaps come in at depth 32. That leads the pagelip
ioctl to fail, with the kernel complaining that "Page flip is not
allowed to change frame buffer format."

If i hack mesa gallium/st's dri2_drawable_get_buffers() to avoid
use of the DRI2GetBuffersWithFormat() request and instead use the
older DRI2GetBuffers() request, then pageflips work again, as the
old request derives the buffers depth from the glx drawables depth,
which is 24 or 30 for a depth 24 or depth 30 x-screen, so a better
match.

thanks,
-mario

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [ANNOUNCE] xf86-video-amdgpu 18.0.0
@ 2018-03-02 17:44 Michel Dänzer
  0 siblings, 0 replies; 14+ messages in thread
From: Michel Dänzer @ 2018-03-02 17:44 UTC (permalink / raw)
  To: xorg-announce-go0+a7rfsptAfugRpC6u6w@public.gmane.org
  Cc: xorg-go0+a7rfsptAfugRpC6u6w@public.gmane.org,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org


[-- Attachment #1.1.1: Type: text/plain, Size: 4077 bytes --]


I'm pleased to announce the 18.0.0 release of xf86-video-amdgpu, the
Xorg driver for AMD Radeon GPUs supported by the amdgpu kernel driver.
This release supports xserver versions 1.13-1.19. It also works with
xserver 1.20 RC1, so unless something unexpected happens, it should work
with xserver 1.20 as well.

Highlights:

* New year-based versioning scheme
* Page flipping can now be used even when the HW cursor can't be used in
  some cases
* Support for 30-bit RGB colour output. Note that gamma correction is
  currently not available with 30-bit colour. Also, hardware
  acceleration is not available with 30-bit colour with xserver versions
  before 1.20.

Plus other improvements and fixes. Thanks to everybody who contributed
to this release in any way!


Christoph Haag (1):
      fix include order for present.h configure test

Daniel Martin (3):
      modesetting: Check crtc before searching link-status property
      modesetting: Use helper to fetch drmModeProperty(Blob)s
      modesetting: Reset output_id if drmModeGetConnector failed

Darren Salt (1):
      Clarify when TearFree is automatically enabled.

Hawking Zhang (1):
      Add 30bit RGB color format support

Keith Packard (2):
      modesetting: Skip no-longer-present connectors when resetting BAD links
      modesetting: Update property values at detect and uevent time

Mario Kleiner (1):
      Define per x-screen individual drmmode_crtc_funcs

Michel Dänzer (20):
      Post-release version bump
      Fix VT switching with ShadowFB
      Bail if there's a problem with ShadowFB
      Free pAMDGPUEnt memory in AMDGPUFreeRec
      Free memory returned by xf86GetEntityInfo
      Call TimerFree for timer created in LeaveVT
      Always call drmModeFreeProperty after drmModeGetProperty
      Use correct ScrnInfoPtr in redisplay_dirty
      Add amdgpu_dirty_src_drawable helper
      Move cursor related ScreenInit calls into AMDGPUCursorInit_KMS
      Keep track of how many SW cursors are visible on each screen
      Fix linear check in amdgpu_glamor_share_pixmap_backing
      Always use screen depth/bpp for KMS framebuffers
      Guard against pAMDGPUEnt == NULL in AMDGPUFreeRec
      Don't call AMDGPUFreeRec from AMDGPUPreInit_KMS
      Revert "Guard against pAMDGPUEnt == NULL in AMDGPUFreeRec"
      If glamor is too old for depth 30, fall back to ShadowFB
      Don't bail from drmmode_set_desired_modes immediately
      Disable all unused CRTCs before setting desired modes
      Bump version for 18.0.0 release

Qiang Yu (1):
      Disable gamma set when deep color

git tag: xf86-video-amdgpu-18.0.0

https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-18.0.0.tar.bz2
MD5:  24b2c9dc27a6083289bc86023eb3b1fe  xf86-video-amdgpu-18.0.0.tar.bz2
SHA1: 360d619de1629913d356c60f1e155553e0e55dbb  xf86-video-amdgpu-18.0.0.tar.bz2
SHA256: e909b9707d2562dfc36d8075a8cbddbc93901aaa8f2522d9a429c3fc5ad66d94  xf86-video-amdgpu-18.0.0.tar.bz2
SHA512: 5f9fa173c1b2f90878a9cc961e49abb0ad56db16fd80ec9fe6788fcc90eaa1906f3bff74437cb9afa95b9212ff946e1558736739f27e959a3848e77e4dabbd17  xf86-video-amdgpu-18.0.0.tar.bz2
PGP:  https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-18.0.0.tar.bz2.sig

https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-18.0.0.tar.gz
MD5:  042955c587ad786eaa7727a1bb216d93  xf86-video-amdgpu-18.0.0.tar.gz
SHA1: 78d8a3a7fb86efd30a9da53cf055d96f9c03fdf1  xf86-video-amdgpu-18.0.0.tar.gz
SHA256: 359c065d91a5866d56c0ffbc802441880a8244b64fc98e2d965aefac0c993e7d  xf86-video-amdgpu-18.0.0.tar.gz
SHA512: 45c314012685446985303ec9f87b18fa58d2accd3aad2799dbf49e87f2d374df0f6151502fc1e6b5d875f6746b879caba08216f3c2c0086022ad16e56c78ee1e  xf86-video-amdgpu-18.0.0.tar.gz
PGP:  https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-18.0.0.tar.gz.sig


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-03-05  9:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-22  2:14 Depth 30 enablement for ati-ddx + exa. Rev 3 Mario Kleiner
     [not found] ` <20180122021437.9361-1-mario.kleiner.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-22  2:14   ` [PATCH 1/4] Define per x-screen individual drmmode_crtc_funcs Mario Kleiner
2018-01-22  2:14   ` [PATCH 2/4] Skip xf86HandleColormaps() at color depth 30. (v2) Mario Kleiner
2018-01-22  2:14   ` [PATCH 3/4] exa: Accelerate ARGB2101010 pictures Mario Kleiner
2018-01-22  2:14   ` [PATCH 4/4] Support exa screen color depth 30 on Linux 3.16 and later. (v2) Mario Kleiner
2018-01-22 18:01   ` Depth 30 enablement for ati-ddx + exa. Rev 3 Michel Dänzer
     [not found]     ` <04923fbb-dffb-b849-2f59-16e1f993a728-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-01-24 11:35       ` Michel Dänzer
2018-01-24 17:35       ` Mario Kleiner
     [not found]         ` <046a48e6-ef6d-11b4-99ec-8a8f668df5e6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-25 16:06           ` Michel Dänzer
     [not found]             ` <24d16c05-9d78-b5fd-4f0c-4e64577be1c4-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-01-26 21:42               ` Mario Kleiner
     [not found]                 ` <3e8f6391-8e2f-591e-4341-ead830f72def-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-29 11:50                   ` Michel Dänzer
2018-03-04  7:25       ` [ANNOUNCE] xf86-video-amdgpu 18.0.0 Mario Kleiner
     [not found]         ` <bca9b6ef-c675-95ba-fe02-4e5821902066-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-03-05  9:55           ` Michel Dänzer
  -- strict thread matches above, loose matches on Subject: below --
2018-03-02 17:44 Michel Dänzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox