Bug#821763: xserver-xorg-video-radeon: LibreOffice Preferences UI font corruption on AMD A6-1450 APU/Radeon HD 8250

2016-04-19 Thread J Mo
Package: xserver-xorg-video-radeon
Version: 1:7.7.0-1
Severity: normal

Example image:
http://jmomo.net/files/snapshot_LibreOffice_fonts_broken-2.png

Notice the blocks under "Menu" in the middle-right where letters should be in 
the UI.

The hardware is a Zotac ZBox CA320 which has a AMD A6-1450 APU (Radeon HD 8250).

I have been using the hardware for about two weeks now and this is the first 
graphical glitch I've seen, so this could be LibreOffice too. Let me know if 
yuo want me to refile on LibreOffice.

I pulled the SSD from this system and ran it on other hardware with a different 
(NVidia) GPU and the artifacts went away.




-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Temash [Radeon HD 8250/8280G] [1002:983d]

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.5.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 5.3.1 
20160409 (Debian 5.3.1-14) ) #1 SMP Debian 4.5.1-1 (2016-04-14)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 21210 Apr 12 20:00 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 55352 Apr 18 17:15 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[ 4.920] (--) Log file renamed from "/var/log/Xorg.pid-652.log" to 
"/var/log/Xorg.0.log"
[ 4.922] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 4.922] X Protocol Version 11, Revision 0
[ 4.922] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 4.922] Current Operating System: Linux panic 4.5.0-1-amd64 #1 SMP Debian 
4.5.1-1 (2016-04-14) x86_64
[ 4.922] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.5.0-1-amd64 
root=UUID=bf908df3-15d5-4683-839e-2dbea668e58d ro ipv6.disable=1 quiet
[ 4.922] Build Date: 05 April 2016  07:00:43AM
[ 4.922] xorg-server 2:1.18.3-1 (http://www.debian.org/support) 
[ 4.922] Current version of pixman: 0.33.6
[ 4.922]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4.922] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4.923] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 18 17:14:22 
2016
[ 4.924] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4.925] (==) No Layout section.  Using the first Screen section.
[ 4.926] (==) No screen section available. Using defaults.
[ 4.926] (**) |-->Screen "Default Screen Section" (0)
[ 4.926] (**) |   |-->Monitor ""
[ 4.926] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 4.927] (==) Automatically adding devices
[ 4.927] (==) Automatically enabling devices
[ 4.927] (==) Automatically adding GPU devices
[ 4.927] (==) Max clients allowed: 256, resource mask: 0x1f
[ 4.930] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 4.930]Entry deleted from font path.
[ 4.933] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 4.933] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 4.933] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[ 4.933] (II) Loader magic: 0x55d0638cadc0
[ 4.933] (II) Module ABI versions:
[ 4.933]X.Org ANSI C Emulation: 0.4
[ 4.933]X.Org Video Driver: 20.0
[ 4.933]X.Org XInput driver : 22.1
[ 4.933]X.Org Server Extension : 9.0
[ 4.937] (++) using VT number 7

[ 4.937] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[ 4.938] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5.597] (--) PCI:*(0:0:1:0) 1002:983d:19da:b208 rev 0, Mem @ 
0xc000/268435456, 0xd000/8388608, 0xfeb0/262144, I/O @ 
0xf000/256, BIOS @ 0x/131072
[ 5.597] (II) LoadModule: "glx"
[ 5.598] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5.613] (II) Module glx: vendor="X.Org Foundation"
[ 5.613]compiled for 1.18.3, module version = 1.0.0
[ 5.616]ABI class: X.Org Server Extension, version 9.0
[ 5.616] (==) AIGLX 

Re: [PATCH xf86-video-ati] Handle Zaphod mode correctly in radeon_mode_hotplug

2016-04-19 Thread Alex Deucher
On Tue, Apr 19, 2016 at 3:41 AM, Michel Dänzer  wrote:
> From: Michel Dänzer 
>
> We need to scan both screens of the entity for existing connectors, and
> enumerate DVI & HDMI connectors consistently regardless of which screen
> they're assigned to.
>
> Fixes crash when hot-(un)plugging DVI or HDMI connector in Zaphod mode.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93415
> Signed-off-by: Michel Dänzer 

Reviewed-by: Alex Deucher 


> ---
>  src/drmmode_display.c | 45 +++--
>  1 file changed, 35 insertions(+), 10 deletions(-)
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index 4c66ca7..84c07c6 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -36,6 +36,7 @@
>  #include "damagestr.h"
>  #include "micmap.h"
>  #include "xf86cmap.h"
> +#include "xf86Priv.h"
>  #include "radeon.h"
>  #include "radeon_bo_helper.h"
>  #include "radeon_glamor.h"
> @@ -2514,10 +2515,12 @@ void
>  radeon_mode_hotplug(ScrnInfoPtr scrn, drmmode_ptr drmmode)
>  {
> xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
> +   RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn);
> drmModeResPtr mode_res;
> -   int i, j;
> +   int i, j, s;
> Bool found;
> Bool changed = FALSE;
> +   int num_dvi = 0, num_hdmi = 0;
>
> mode_res = drmModeGetResources(drmmode->fd);
> if (!mode_res)
> @@ -2553,21 +2556,43 @@ restart_destroy:
> for (i = 0; i < mode_res->count_connectors; i++) {
> found = FALSE;
>
> -   for (j = 0; j < config->num_output; j++) {
> -   xf86OutputPtr output = config->output[j];
> -   drmmode_output_private_ptr drmmode_output;
> +   for (s = 0; !found && s < xf86NumScreens; s++) {
> +   ScrnInfoPtr loop_scrn = xf86Screens[s];
> +   xf86CrtcConfigPtr loop_config =
> +   XF86_CRTC_CONFIG_PTR(loop_scrn);
>
> -   drmmode_output = output->driver_private;
> -   if (mode_res->connectors[i] == 
> drmmode_output->output_id) {
> -   found = TRUE;
> -   break;
> +   if (RADEONEntPriv(loop_scrn) != pRADEONEnt)
> +   continue;
> +
> +   for (j = 0; !found && j < loop_config->num_output; 
> j++) {
> +   xf86OutputPtr output = loop_config->output[j];
> +   drmmode_output_private_ptr drmmode_output;
> +
> +   drmmode_output = output->driver_private;
> +   if (mode_res->connectors[i] ==
> +   drmmode_output->output_id) {
> +   found = TRUE;
> +
> +   
> switch(drmmode_output->mode_output->connector_type) {
> +   case DRM_MODE_CONNECTOR_DVII:
> +   case DRM_MODE_CONNECTOR_DVID:
> +   case DRM_MODE_CONNECTOR_DVIA:
> +   num_dvi++;
> +   break;
> +   case DRM_MODE_CONNECTOR_HDMIA:
> +   case DRM_MODE_CONNECTOR_HDMIB:
> +   num_hdmi++;
> +   break;
> +   }
> +   }
> }
> }
> if (found)
> continue;
>
> -   changed = TRUE;
> -   drmmode_output_init(scrn, drmmode, mode_res, i, NULL, NULL, 
> 1);
> +   if (drmmode_output_init(scrn, drmmode, mode_res, i, _dvi,
> +   _hdmi, 1) != 0)
> +   changed = TRUE;
> }
>
> if (changed) {
> --
> 2.8.0.rc3
>
> ___
> xorg-driver-ati mailing list
> xorg-driver-ati@lists.x.org
> https://lists.x.org/mailman/listinfo/xorg-driver-ati
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95017] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).

2016-04-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95017

Alex Deucher  changed:

   What|Removed |Added

   Assignee|xorg-driver-ati@lists.x.org |dri-devel@lists.freedesktop
   ||.org
 QA Contact|xorg-t...@lists.x.org   |
Version|6.9.0   |unspecified
  Component|Driver/Radeon   |DRM/Radeon
Product|xorg|DRI

--- Comment #2 from Alex Deucher  ---
Does disabling AGP help?  Load the radeon module with agpmode=-1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 92889] Sound output starts several seconds late using DisplayPort with [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series] [1002:aaa0]

2016-04-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92889

--- Comment #5 from Etienne URBAH  ---
With Linux kernel 4.6.0-040600rc4 from
http://kernel.ubuntu.com/~kernel-ppa/mainline :

-  'Line Out - Built-in Audio' provides correct sound,

-  'HDMI / DisplayPort - Tahiti XT HDMI Audio [Radeon HD 7970 Series]' provides
NO SOUND AT ALL.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95017] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).

2016-04-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95017

Mathieu Malaterre  changed:

   What|Removed |Added

   Assignee|xorg-t...@lists.x.org   |xorg-driver-ati@lists.x.org
  Component|Driver/rage128  |Driver/Radeon

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[PATCH xf86-video-ati] Handle Zaphod mode correctly in radeon_mode_hotplug

2016-04-19 Thread Michel Dänzer
From: Michel Dänzer 

We need to scan both screens of the entity for existing connectors, and
enumerate DVI & HDMI connectors consistently regardless of which screen
they're assigned to.

Fixes crash when hot-(un)plugging DVI or HDMI connector in Zaphod mode.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93415
Signed-off-by: Michel Dänzer 
---
 src/drmmode_display.c | 45 +++--
 1 file changed, 35 insertions(+), 10 deletions(-)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 4c66ca7..84c07c6 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -36,6 +36,7 @@
 #include "damagestr.h"
 #include "micmap.h"
 #include "xf86cmap.h"
+#include "xf86Priv.h"
 #include "radeon.h"
 #include "radeon_bo_helper.h"
 #include "radeon_glamor.h"
@@ -2514,10 +2515,12 @@ void
 radeon_mode_hotplug(ScrnInfoPtr scrn, drmmode_ptr drmmode)
 {
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
+   RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn);
drmModeResPtr mode_res;
-   int i, j;
+   int i, j, s;
Bool found;
Bool changed = FALSE;
+   int num_dvi = 0, num_hdmi = 0;
 
mode_res = drmModeGetResources(drmmode->fd);
if (!mode_res)
@@ -2553,21 +2556,43 @@ restart_destroy:
for (i = 0; i < mode_res->count_connectors; i++) {
found = FALSE;
 
-   for (j = 0; j < config->num_output; j++) {
-   xf86OutputPtr output = config->output[j];
-   drmmode_output_private_ptr drmmode_output;
+   for (s = 0; !found && s < xf86NumScreens; s++) {
+   ScrnInfoPtr loop_scrn = xf86Screens[s];
+   xf86CrtcConfigPtr loop_config =
+   XF86_CRTC_CONFIG_PTR(loop_scrn);
 
-   drmmode_output = output->driver_private;
-   if (mode_res->connectors[i] == 
drmmode_output->output_id) {
-   found = TRUE;
-   break;
+   if (RADEONEntPriv(loop_scrn) != pRADEONEnt)
+   continue;
+
+   for (j = 0; !found && j < loop_config->num_output; j++) 
{
+   xf86OutputPtr output = loop_config->output[j];
+   drmmode_output_private_ptr drmmode_output;
+
+   drmmode_output = output->driver_private;
+   if (mode_res->connectors[i] ==
+   drmmode_output->output_id) {
+   found = TRUE;
+
+   
switch(drmmode_output->mode_output->connector_type) {
+   case DRM_MODE_CONNECTOR_DVII:
+   case DRM_MODE_CONNECTOR_DVID:
+   case DRM_MODE_CONNECTOR_DVIA:
+   num_dvi++;
+   break;
+   case DRM_MODE_CONNECTOR_HDMIA:
+   case DRM_MODE_CONNECTOR_HDMIB:
+   num_hdmi++;
+   break;
+   }
+   }
}
}
if (found)
continue;
 
-   changed = TRUE;
-   drmmode_output_init(scrn, drmmode, mode_res, i, NULL, NULL, 1);
+   if (drmmode_output_init(scrn, drmmode, mode_res, i, _dvi,
+   _hdmi, 1) != 0)
+   changed = TRUE;
}
 
if (changed) {
-- 
2.8.0.rc3

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati