On 03.07.2015 02:42, Alfonso García wrote: > On 02/07/15, Michel Dänzer wrote: >> On 02.07.2015 01:39, Alfonso García wrote: >>> On 01/07/15, Michel Dänzer wrote: >>>> On 01.07.2015 01:44, alfon wrote: >>>>> >> Can you try if a simple compositing manager (e.g. xcompmgr -a) helps >> with the problem (with the options below commented out)? > > I probed this program and really improved the window manager performance > with the Xorg accel option and with the options you say commented out > > In return performance like mpv is now worse (the movement blinks and still > shots are slow) > >> >>>>> Option "EXAVSync" "on" >>>> [...] >>>>> Option "ColorTiling" "off" >>>>> Option "ColorTiling2D" "off" >>>>> Option "EXAPixmaps" "on" >>>> >>>> Does commenting out these options help? >>>> >>> >>> No, >> >> Please provide /var/log/Xorg.0.log corresponding to commenting out >> everything I recommended in xorg.conf. > > I attached the Xorg log file with the suggested configuration and running > xcompmgr -c
Note that I suggested xcompmgr -a, which should be lighter than -c. > [ 2331.952] (**) Option "AIGLX" "on" > [ 2331.952] (**) Option "DRI2" "on" [...] > [ 2332.078] (**) ModulePath set to "/usr/lib/xorg/modules" > [ 2332.078] (**) Extension "Composite" is enabled [...] > [ 2332.223] (**) RADEON(0): Depth 24, (--) framebuffer bpp 32 [...] > [ 2332.224] (**) RADEON(0): Option "Accel" "on" > [ 2332.224] (**) RADEON(0): Option "EnablePageFlip" "on" [...] > [ 2332.224] (**) RADEON(0): Option "AccelMethod" "EXA" > [ 2332.224] (**) RADEON(0): Option "ZaphodHeads" "LVDS,VGA-0" These are all defaults, no need to specify them explicitly in xorg.conf. > [ 2332.224] (**) RADEON(0): Option "RenderAccel" "off" I missed this before. Why did you disable this? Does not disabling it help? > [ 2363.450] (II) RADEON(0): Allocate new frame buffer 1920x1080 stride 1920 > [ 2363.508] (II) RADEON(0): VRAM usage limit set to 5371K [...] > [ 3099.062] Not enough RAM to hw accel xv operation This is probably why mpv isn't working well. Any chance you can try if the attached xf86-video-ati patch helps for this? Note that you can always use mpv -vo x11 to get basically the same video experience as with Option "NoAccel". -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c index 653de44..116bc9a 100644 --- a/src/radeon_textured_videofuncs.c +++ b/src/radeon_textured_videofuncs.c @@ -60,7 +60,7 @@ RADEONPrepareTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) int ret; radeon_cs_space_reset_bos(info->cs); - radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); + radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT, 0); if (pPriv->bicubic_enabled) radeon_cs_space_add_persistent_bo(info->cs, info->bicubic_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); @@ -430,7 +430,7 @@ R200PrepareTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) int ret; radeon_cs_space_reset_bos(info->cs); - radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); + radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT, 0); if (pPriv->bicubic_enabled) radeon_cs_space_add_persistent_bo(info->cs, info->bicubic_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); @@ -955,7 +955,7 @@ R300PrepareTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) int ret; radeon_cs_space_reset_bos(info->cs); - radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); + radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT, 0); if (pPriv->bicubic_enabled) radeon_cs_space_add_persistent_bo(info->cs, info->bicubic_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); @@ -2373,7 +2373,7 @@ R500PrepareTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) int ret; radeon_cs_space_reset_bos(info->cs); - radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0); + radeon_cs_space_add_persistent_bo(info->cs, src_bo, RADEON_GEM_DOMAIN_GTT, 0); if (pPriv->bicubic_enabled) radeon_cs_space_add_persistent_bo(info->cs, info->bicubic_bo, RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM, 0);
_______________________________________________ xorg-driver-ati mailing list xorg-driver-ati@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-ati