Re: Re: Bug#758460: xserver-xorg-video-nouveau: Crash and freeze with GeForce 6150SE
> dmesg:[ 68.627296] nouveau E[PBUS][:00:0d.0] MMIO write of > x00820001 FAULT at 0x00b000 I've had the same here, with a C61 onboard chip. The next message, caught with a serial console just before freezing with a sheared pattern on the screen, is: nouveau E[PBUS][:00:0d.0] MMIO write of 0x010c0001 FAULT at 0x00b010 They're caused the following line in core/engine/mpeg/nv31.c:194: nv_wr32(priv, 0x00b008 + (i * 0x10), tile->pitch); So, disabling just the mpeg engine in core/engine/device/nv40.c did the trick for me: no more freezing or fault messages in dmesg. For now, I think that's better than going full nouveau.noaccel=1. Patch is just for the 0x4c/C61 chipset; the same could be done for other chipsets. --- linux-source-3.16/drivers/gpu/drm/nouveau/core/engine/device/nv40.c~ 2015-05-29 09:12:37.876649108 +0300 +++ linux-source-3.16/drivers/gpu/drm/nouveau/core/engine/device/nv40.c 2015-05-29 09:17:10.716649906 +0300 @@ -322,7 +322,9 @@ nv40_identify(struct nouveau_device *dev device->oclass[NVDEV_ENGINE_FIFO ] = nv40_fifo_oclass; device->oclass[NVDEV_ENGINE_SW ] = nv10_software_oclass; device->oclass[NVDEV_ENGINE_GR ] = &nv40_graph_oclass; + /* XXX device->oclass[NVDEV_ENGINE_MPEG ] = &nv44_mpeg_oclass; + */ device->oclass[NVDEV_ENGINE_DISP ] = nv04_disp_oclass; device->oclass[NVDEV_ENGINE_PERFMON] = nv40_perfmon_oclass; break; -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1e533c87ca19074f531ad85ceda35e08.6b0b1753@showman
Bug#787144: VESA(0): Cannot read int vect
Package: xserver-xorg-core Version: 2:1.17.1-2 Severity: normal Forwarded: https://bugs.freedesktop.org/show_bug.cgi?id=89353 Dear Maintainer, Trying to boot Debian in virtualbox or qemu with vesa results in xorg bailing out. The upstream fix is: http://cgit.freedesktop.org/xorg/xserver/patch/?id=0a78b599b34cc8b5fe6fe82f90e90234e8ab7a56 And there is a downstream bug (and fix): https://launchpad.net/bugs/1433198 -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages xserver-xorg-core depends on: ii keyboard-configuration 1.127 pn libaudit0 ii libc6 2.19-18 ii libdrm2 2.4.60-3 pn libgcrypt11 ii libpciaccess0 0.13.3-1 ii libpixman-1-0 0.32.6-3 ii libselinux1 2.3-2 pn libudev0 ii libxau6 1:1.0.8-1 ii libxdmcp6 1:1.1.2-1 pn libxfont1 ii udev215-18 pn xserver-common Versions of packages xserver-xorg-core recommends: ii libgl1-mesa-dri 10.5.5-1 Versions of packages xserver-xorg-core suggests: pn xfonts-100dpi | xfonts-75dpi pn xfonts-scalable -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150529013631.7310.51763.reportbug@Loki.local
Processed: bug 787142 is forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=89807
Processing commands for cont...@bugs.debian.org: > forwarded 787142 https://bugs.freedesktop.org/show_bug.cgi?id=89807 Bug #787142 [xserver-xorg-video-intel] yuv to rgb translation is faulty for Intel Generation 8 Graphics Set Bug forwarded-to-address to 'https://bugs.freedesktop.org/show_bug.cgi?id=89807'. > thanks Stopping processing here. Please contact me if you need assistance. -- 787142: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787142 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/handler.s.c.14328625271189.transcr...@bugs.debian.org
Bug#787142: yuv to rgb translation is faulty for Intel Generation 8 Graphics
Package: xserver-xorg-video-intel Version: 2:2.99.917-1~exp1 Severity: normal Tags: patch Hi there, The video output of video players, such as mplayer or vlc, is corrupted. I've been experiencing this problem for a while now and it seems to be a well known problem: https://bugs.freedesktop.org/show_bug.cgi?id=89807 I could get this sorted by recompiling the driver with the patch attached to the upstream's bug report. Thanks for considering. Regards. -- Alessio Treglia | www.alessiotreglia.com Debian Developer | ales...@debian.org Ubuntu Core Developer| quadris...@ubuntu.com 0416 0004 A827 6E40 BB98 90FB E8A4 8AE5 311D 765A -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150529011706.13703.76228.reportbug@nemesis
xserver-xorg-video-intel: Changes to 'ubuntu-utopic'
debian/changelog |6 +++ debian/patches/series |1 debian/patches/sna-clear-cursor-image-after-rotation.patch | 24 + 3 files changed, 31 insertions(+) New commits: commit 241a672570698fb69504334103c36c567ae6c54c Author: Robert Hooker Date: Thu May 28 17:57:04 2015 -0400 Add a patch to fix lp1376760, double cursor on rotation diff --git a/debian/changelog b/debian/changelog index 426edc8..8ba312b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,14 @@ xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.5) UNRELEASED; urgency=medium + [ Timo Aaltonen ] * sna-gen8-clear-instancing-enabled-bit-between-batches.diff: Fix corruptions and missing letters on 2nd head. (LP: #1432194) + [ Robert Hooker ] + * sna-clear-cursor-image-after-rotation.patch: Fix a double cursor problem after +rotating the screen (LP: #1376760) (LP: #1443345) backport from +a88795c641 upstream. + -- Timo Aaltonen Mon, 11 May 2015 13:41:20 +0300 xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.4) utopic; urgency=medium diff --git a/debian/patches/series b/debian/patches/series index 83950b0..557bed1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -15,3 +15,4 @@ bdw-annotate-more-64bit-pointer-locations.diff bdw-clamp-urb-allocations-for-gt3.diff fix-sna-trapezoids.patch sna-gen8-clear-instancing-enabled-bit-between-batches.diff +sna-clear-cursor-image-after-rotation.patch diff --git a/debian/patches/sna-clear-cursor-image-after-rotation.patch b/debian/patches/sna-clear-cursor-image-after-rotation.patch new file mode 100644 index 000..b71b118 --- /dev/null +++ b/debian/patches/sna-clear-cursor-image-after-rotation.patch @@ -0,0 +1,24 @@ +From a88795c64123e4084044451d8861838ea904abd9 Mon Sep 17 00:00:00 2001 +From: Chris Wilson +Date: Tue, 29 Jul 2014 21:11:09 +0100 +Subject: sna: Clear cursor image after rotation + +Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81886 +Signed-off-by: Chris Wilson + +diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c +index 8964e77..eed68d3 100644 +--- a/src/sna/sna_display.c b/src/sna/sna_display.c +@@ -4294,7 +4294,7 @@ static struct sna_cursor *__sna_get_cursor(struct sna *sna, xf86CrtcPtr crtc) + image = sna->cursor.scratch; + cursor->last_width = cursor->last_height = size; + } +- if (width < cursor->last_width || height < cursor->last_height) ++ if (width < cursor->last_width || height < cursor->last_height || rotation != cursor->rotation) + memset(image, 0, 4*size*size); + if (rotation == RR_Rotate_0) { + if (argb == NULL) { +-- +cgit v0.10.2 + -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1yy5na-0007on...@moszumanska.debian.org
xserver-xorg-video-intel: Changes to 'ubuntu-utopic'
Rebased ref, commits from common ancestor: commit 7180b5be2159bd0ef7c8ef6ae7991f2a38263158 Author: Timo Aaltonen Date: Fri May 29 00:45:29 2015 +0300 Import changes from 2:2.99.914-1~exp1ubuntu4.4 diff --git a/debian/changelog b/debian/changelog index 028286c..426edc8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,17 @@ -xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.4) UNRELEASED; urgency=medium +xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.5) UNRELEASED; urgency=medium * sna-gen8-clear-instancing-enabled-bit-between-batches.diff: Fix corruptions and missing letters on 2nd head. (LP: #1432194) -- Timo Aaltonen Mon, 11 May 2015 13:41:20 +0300 +xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.4) utopic; urgency=medium + + * fix-sna-trapezoids.patch: Fix client-side shadows for GTK+ 3.14 +(LP: #1378188). + + -- Marius Gedminas Tue, 05 May 2015 11:25:15 +0100 + xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.3) utopic; urgency=medium * bdw-annotate-more-64bit-pointer-locations.diff diff --git a/debian/patches/fix-sna-trapezoids.patch b/debian/patches/fix-sna-trapezoids.patch new file mode 100644 index 000..6252e64 --- /dev/null +++ b/debian/patches/fix-sna-trapezoids.patch @@ -0,0 +1,122 @@ +From 48a33fc379b17eed195875222ad773c911d9dff1 Mon Sep 17 00:00:00 2001 +From: Chris Wilson +Date: Tue, 2 Sep 2014 19:08:36 +0100 +Subject: sna/trapezoids: Use the corrected trapezoid origin for aligned boxes + +The rule for the origin of the CompositeTrapezoids routine is the +upper-left corner of the first trapezoid. Care must be taken in case the +trapezoid edge is upside down to consider the upper vertex. + +Reported-by: "Jasper St. Pierre" +Signed-off-by: Chris Wilson + +diff --git a/src/sna/sna_trapezoids_boxes.c b/src/sna/sna_trapezoids_boxes.c +index 2f7028f..a2045dc 100644 +--- a/src/sna/sna_trapezoids_boxes.c b/src/sna/sna_trapezoids_boxes.c +@@ -120,13 +120,16 @@ composite_aligned_boxes(struct sna *sna, + BoxRec stack_boxes[64], *boxes; + pixman_region16_t region, clip; + struct sna_composite_op tmp; ++ int16_t dst_x, dst_y; + bool ret = true; + int dx, dy, n, num_boxes; + + if (NO_ALIGNED_BOXES) + return false; + +- DBG(("%s\n", __FUNCTION__)); ++ DBG(("%s: pixmap=%ld, nboxes=%d, dx=(%d, %d)\n", __FUNCTION__, ++ get_drawable_pixmap(dst->pDrawable)->drawable.serialNumber, ++ ntrap, dst->pDrawable->x, dst->pDrawable->y)); + + boxes = stack_boxes; + if (ntrap > (int)ARRAY_SIZE(stack_boxes)) { +@@ -168,19 +171,20 @@ composite_aligned_boxes(struct sna *sna, + if (num_boxes == 0) + goto free_boxes; + +- DBG(("%s: extents (%d, %d), (%d, %d) offset of (%d, %d)\n", ++ trapezoid_origin(&traps[0].left, &dst_x, &dst_y); ++ ++ DBG(("%s: extents (%d, %d), (%d, %d) offset of (%d, %d), origin (%d, %d)\n", +__FUNCTION__, +region.extents.x1, region.extents.y1, +region.extents.x2, region.extents.y2, +region.extents.x1 - boxes[0].x1, +- region.extents.y1 - boxes[0].y1)); +- +- src_x += region.extents.x1 - boxes[0].x1; +- src_y += region.extents.y1 - boxes[0].y1; ++ region.extents.y1 - boxes[0].y1, ++ dst_x, dst_y)); + + if (!sna_compute_composite_region(&clip, + src, NULL, dst, +-src_x, src_y, ++src_x + region.extents.x1 - dst_x - dx, ++src_y + region.extents.y1 - dst_y - dy, + 0, 0, + region.extents.x1 - dx, region.extents.y1 - dy, + region.extents.x2 - region.extents.x1, +@@ -193,14 +197,24 @@ composite_aligned_boxes(struct sna *sna, + if (op == PictOpClear && sna->clear) + src = sna->clear; + ++ DBG(("%s: clipped extents (%d, %d), (%d, %d); now offset by (%d, %d), orgin (%d, %d)\n", ++ __FUNCTION__, ++ clip.extents.x1, clip.extents.y1, ++ clip.extents.x2, clip.extents.y2, ++ clip.extents.x1 - boxes[0].x1, ++ clip.extents.y1 - boxes[0].y1, ++ dst_x, dst_y)); ++ + if (force_fallback || + !sna->render.composite(sna, op, src, NULL, dst, +- src_x, src_y, ++ src_x + clip.extents.x1 - dst_x, ++ src_y + clip.extents.y1 - dst_y, + 0, 0, + clip.extents.x1, clip.extents.y1, + clip.extents.x2 - clip.extents.x1, + clip.extents.y2 - clip.extents.y1, +- COMPOSITE_PARTIAL, memset(&tmp, 0, size
xserver-xorg-video-intel: Changes to 'ubuntu-utopic'
debian/changelog | 15 + debian/patches/bdw-annotate-more-64bit-pointer-locations.diff | 20 - debian/patches/bdw-clamp-urb-allocations-for-gt3.diff |9 debian/patches/fix-sna-trapezoids.patch | 122 ++ debian/patches/series |1 5 files changed, 154 insertions(+), 13 deletions(-) New commits: commit a867797fedf60067a88f4ecfb6e44cc0a270802a Author: Robert Hooker Date: Thu May 28 09:58:38 2015 -0400 Update to what's currently in Utopic. diff --git a/debian/changelog b/debian/changelog index 680ee24..dd711c9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,18 @@ +xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.4) utopic; urgency=medium + + * fix-sna-trapezoids.patch: Fix client-side shadows for GTK+ 3.14 +(LP: #1378188). + + -- Marius Gedminas Tue, 05 May 2015 11:25:15 +0100 + +xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.3) utopic; urgency=medium + + * bdw-annotate-more-64bit-pointer-locations.diff +bdw-clamp-urb-allocations-for-gt3.diff: +Fix BDW GT3. (#136) + + -- Timo Aaltonen Wed, 22 Apr 2015 19:57:12 +0300 + xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.2) utopic-proposed; urgency=medium [ Timo Aaltonen ] diff --git a/debian/patches/bdw-annotate-more-64bit-pointer-locations.diff b/debian/patches/bdw-annotate-more-64bit-pointer-locations.diff index 3ba449b..d42090d 100644 --- a/debian/patches/bdw-annotate-more-64bit-pointer-locations.diff +++ b/debian/patches/bdw-annotate-more-64bit-pointer-locations.diff @@ -8,7 +8,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 --- a/src/sna/gen8_render.c +++ b/src/sna/gen8_render.c -@@ -474,7 +474,7 @@ gen8_emit_vs_invariant(struct sna *sna) +@@ -523,7 +523,7 @@ gen8_emit_vs_invariant(struct sna *sna) OUT_BATCH(GEN8_3DSTATE_VS | (9 - 2)); OUT_BATCH64(0); /* no VS kernel */ OUT_BATCH(0); @@ -17,7 +17,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 OUT_BATCH(0); OUT_BATCH(1 << 1); /* pass-through */ OUT_BATCH(1 << 16 | 1 << 21); /* urb write to SBE */ -@@ -500,12 +500,10 @@ static void +@@ -549,12 +549,10 @@ static void gen8_emit_hs_invariant(struct sna *sna) { OUT_BATCH(GEN8_3DSTATE_HS | (9 - 2)); @@ -32,7 +32,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 OUT_BATCH(0); OUT_BATCH(0); /* pass-through */ -@@ -541,11 +539,9 @@ static void +@@ -590,11 +588,9 @@ static void gen8_emit_ds_invariant(struct sna *sna) { OUT_BATCH(GEN8_3DSTATE_DS | (9 - 2)); @@ -46,7 +46,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 OUT_BATCH(0); OUT_BATCH(0); OUT_BATCH(0); -@@ -573,15 +569,13 @@ static void +@@ -622,15 +618,13 @@ static void gen8_emit_gs_invariant(struct sna *sna) { OUT_BATCH(GEN8_3DSTATE_GS | (10 - 2)); @@ -65,7 +65,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 #if SIM OUT_BATCH(GEN8_3DSTATE_CONSTANT_GS | (11 - 2)); -@@ -690,13 +684,15 @@ gen8_emit_wm_invariant(struct sna *sna) +@@ -744,13 +738,15 @@ gen8_emit_wm_invariant(struct sna *sna) OUT_BATCH(WM_PERSPECTIVE_PIXEL_BARYCENTRIC); #if SIM @@ -84,7 +84,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 OUT_BATCH(0); #endif -@@ -834,6 +830,7 @@ gen8_emit_cc(struct sna *sna, uint32_t b +@@ -891,6 +887,7 @@ gen8_emit_cc(struct sna *sna, uint32_t b } else OUT_BATCH(PS_BLEND_HAS_WRITEABLE_RT); @@ -92,7 +92,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 OUT_BATCH(GEN8_3DSTATE_BLEND_STATE_POINTERS | (2 - 2)); OUT_BATCH((render->cc_blend + blend * GEN8_BLEND_STATE_PADDED_SIZE) | 1); -@@ -896,6 +893,9 @@ gen8_emit_wm(struct sna *sna, int kernel +@@ -953,6 +950,9 @@ gen8_emit_wm(struct sna *sna, int kernel wm_kernels[kernel].name, wm_kernels[kernel].num_surfaces, kernels[0], kernels[1], kernels[2])); @@ -102,7 +102,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 OUT_BATCH(GEN8_3DSTATE_PS | (12 - 2)); OUT_BATCH64(kernels[0] ?: kernels[1] ?: kernels[2]); -@@ -1185,8 +1185,8 @@ static bool gen8_magic_ca_pass(struct sn +@@ -1242,8 +1242,8 @@ static bool gen8_magic_ca_pass(struct sn true, true, op->is_affine)); @@ -113,7 +113,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 OUT_BATCH(sna->render.vertex_index - sna->render.vertex_start); OUT_BATCH(sna->render.vertex_start); OUT_BATCH(1); /* single instance */ -@@ -1371,7 +1371,7 @@ static void gen8_emit_primitive(struct s +@@ -1435,7 +1435,7 @@ static void gen8_emit_primitive(struct s } OUT_BATCH(GEN8_3DPRIMITIVE | (7 - 2)); @@ -122,7 +122,7 @@ Date: Wed Oct 22 19:30:21 2014 +0100 sna->render.vertex_offset = sna->kgem.nbatch; OUT_BATCH(0); /* vertex count, to be filled in later */
Bug#786816: xserver-xorg-video-radeon: Leaving X (suspend, switch to VT) scrambles the desktop colours
Alex, That fixed it - many thanks. Should this bug be reassigned to the vesa driver or marked as closed? cheers, Rich. Alex Deucher wrote: > > You appear to have disabled kms somehow and you are getting the vesa > driver rather than the native radeon driver. > > Alex > > >> [18.639] (II) [KMS] drm report modesetting isn't supported. >> [18.639] (II) [KMS] drm report modesetting isn't supported. >> [18.639] (II) [KMS] drm report modesetting isn't supported. >> [18.645] (WW) Falling back to old probe method for modesetting -- rich walker | Shadow Robot Company | r...@shadowrobot.com managing director 251 Liverpool Road | skype: rich_at_shadow need a Hand? London N1 1LX | w: +442077002487 http://www.shadowrobot.com/hand/ - hands| m: +447866561014 -- -- *Shadow Robot Company Ltd.* 251 Liverpool Road, N1 1LX, UK Registered Number 3308007 (England & Wales) RoNeX - Building Robots with ROS Made Easy http://www.shadowrobot.com/products/ronex/ -- -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/878uc9t4hw@shadowrobot.com