From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 112265] Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics Date: Wed, 13 Nov 2019 21:30:11 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1672003415==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 61F836EE79 for ; Wed, 13 Nov 2019 21:30:11 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1672003415== Content-Type: multipart/alternative; boundary="15736806111.c88D2bcF.17600" Content-Transfer-Encoding: 7bit --15736806111.c88D2bcF.17600 Date: Wed, 13 Nov 2019 21:30:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D112265 Bug ID: 112265 Summary: Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: not set Component: DRM/other Assignee: dri-devel@lists.freedesktop.org Reporter: John.p.donnelly@oracle.com bisect took to me to this change that certainly reflects the behavior I am seeing : 5.1.0-rc5 commit 81da87f63a1edebcf8cbb811d387e353d9f89c7a (refs/bisect/bad) Author: Thomas Zimmermann Date: Tue May 21 13:08:29 2019 +0200 drm: Replace drm_gem_vram_push_to_system() with kunmap + unpin The push-to-system function forces a buffer out of video RAM. This decis= ion should rather be made by the memory manager. By replacing the function w= ith calls to the kunmap and unpin functions, the buffer's memory becomes available, but the buffer remains in VRAM until it's evicted by a pin operation. This patch replaces the remaining instances of drm_gem_vram_push_to_syst= em() in ast and mgag200, and removes the function from DRM. My 1st impression is we need a method that restores the previous behavior = that pushes the content to the device .=20=20=20=20 I found this issue using=20 gnome-desktop3-3.28.2-1.el8.x86_64 If there is a more specific. RPM I can look at for guidance I will . --=20 You are receiving this mail because: You are the assignee for the bug.= --15736806111.c88D2bcF.17600 Date: Wed, 13 Nov 2019 21:30:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 112265
Summary Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity major
Priority not set
Component DRM/other
Assignee dri-devel@lists.freedesktop.org
Reporter John.p.donnelly@oracle.com

bisect took to me to  this change that certainly reflects the =
behavior I am
seeing :

 5.1.0-rc5


commit 81da87f63a1edebcf8cbb811d387e353d9f89c7a (refs/bisect/bad)
Author: Thomas Zimmermann <tz=
immermann@suse.de>
Date:   Tue May 21 13:08:29 2019 +0200

   drm: Replace drm_gem_vram_push_to_system() with kunmap + unpin

   The push-to-system function forces a buffer out of video RAM. This decis=
ion
   should rather be made by the memory manager. By replacing the function w=
ith
   calls to the kunmap and unpin functions, the buffer's memory becomes
available,
   but the buffer remains in VRAM until it's evicted by a pin operation.

   This patch replaces the remaining instances of drm_gem_vram_push_to_syst=
em()
   in ast and mgag200, and removes the function from DRM.


My 1st impression is we need a method  that restores the previous behavior =
that
pushes the content to the device .=20=20=20=20



I found this issue using=20

gnome-desktop3-3.28.2-1.el8.x86_64

If there is a more specific. RPM  I can look at for guidance I will .


You are receiving this mail because:
  • You are the assignee for the bug.
= --15736806111.c88D2bcF.17600-- --===============1672003415== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1672003415==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 112265] Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics Date: Wed, 13 Nov 2019 21:33:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0336857292==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 197F16EE79 for ; Wed, 13 Nov 2019 21:33:38 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0336857292== Content-Type: multipart/alternative; boundary="15736808180.DC95DB486.18261" Content-Transfer-Encoding: 7bit --15736808180.DC95DB486.18261 Date: Wed, 13 Nov 2019 21:33:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D112265 John.p.donnelly@oracle.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |John.p.donnelly@oracle.com --- Comment #1 from John.p.donnelly@oracle.com --- Created attachment 145949 --> https://bugs.freedesktop.org/attachment.cgi?id=3D145949&action=3Dedit dmesg and message file on bi-sected kernel Starting gnome=20 See messages for=20 " starting gnome " and=20 " Stopping gnome " --=20 You are receiving this mail because: You are the assignee for the bug.= --15736808180.DC95DB486.18261 Date: Wed, 13 Nov 2019 21:33:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated John.p.donn= elly@oracle.com changed bug 11226= 5
What Removed Added
CC   John.p.donnelly@oracle.com

Commen= t # 1 on bug 11226= 5 from Jo= hn.p.donnelly@oracle.com
Created attachment 145949 [details]=

dmesg and message file on bi-sected kernel

Starting gnome=20

See messages for=20

  " starting gnome "

  and=20

"  Stopping gnome "


You are receiving this mail because:
  • You are the assignee for the bug.
= --15736808180.DC95DB486.18261-- --===============0336857292== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0336857292==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 112265] Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics Date: Wed, 13 Nov 2019 21:48:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1546141339==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 12B2D6E0D7 for ; Wed, 13 Nov 2019 21:48:49 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1546141339== Content-Type: multipart/alternative; boundary="15736817280.1750f.21380" Content-Transfer-Encoding: 7bit --15736817280.1750f.21380 Date: Wed, 13 Nov 2019 21:48:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D112265 --- Comment #2 from John.p.donnelly@oracle.com --- debugfs content : With gnome running=20 # for f in `find . -type f ` ; do=20 > echo "$f : `cat $f` "=20 > done ./VGA-1/edid_override :=20=20=20 ./VGA-1/force : unspecified=20 ./internal_clients :=20=20=20 ./framebuffer : framebuffer[35]: allocated by =3D Xorg refcount=3D2 format=3DXR24 little-endian (0x34325258) modifier=3D0x0 size=3D1024x768 layers: size[0]=3D1024x768 pitch[0]=3D4096 offset[0]=3D0 obj[0]:(null) framebuffer[34]: allocated by =3D [fbcon] refcount=3D1 format=3DXR24 little-endian (0x34325258) modifier=3D0xb7e2c74500000010 size=3D1024x768 layers: size[0]=3D1024x768 pitch[0]=3D4096 offset[0]=3D4294967295 obj[0]:(null)=20 ./gem_names : name size handles refcount=20 ./clients : command pid dev master a uid magic systemd-logind 1563 0 y y 0 0=20 ./name : mgag200 dev=3D0000:3d:00.0 unique=3D0000:3d:00.0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15736817280.1750f.21380 Date: Wed, 13 Nov 2019 21:48:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 11226= 5 from Jo= hn.p.donnelly@oracle.com
debugfs content :


With gnome running=20


 # for f in `find . -type f ` ; do=20
> echo "$f :  `cat $f` "=20
> done
./VGA-1/edid_override :=20=20=20
./VGA-1/force :  unspecified=20
./internal_clients :=20=20=20
./framebuffer :  framebuffer[35]:
        allocated by =3D Xorg
        refcount=3D2
        format=3DXR24 little-endian (0x34325258)
        modifier=3D0x0
        size=3D1024x768
        layers:
                size[0]=3D1024x768
                pitch[0]=3D4096
                offset[0]=3D0
                obj[0]:(null)
framebuffer[34]:
        allocated by =3D [fbcon]
        refcount=3D1
        format=3DXR24 little-endian (0x34325258)
        modifier=3D0xb7e2c74500000010
        size=3D1024x768
        layers:
                size[0]=3D1024x768
                pitch[0]=3D4096
                offset[0]=3D4294967295
                obj[0]:(null)=20
./gem_names :    name     size handles refcount=20
./clients :               command   pid dev master a   uid      magic
      systemd-logind  1563   0   y    y     0          0=20
./name :  mgag200 dev=3D0000:3d:00.0 unique=3D0000:3d:00.0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15736817280.1750f.21380-- --===============1546141339== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1546141339==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 112265] Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics Date: Wed, 13 Nov 2019 22:08:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1282245799==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 090F56E0DD for ; Wed, 13 Nov 2019 22:08:42 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1282245799== Content-Type: multipart/alternative; boundary="15736829211.f073aa26.24173" Content-Transfer-Encoding: 7bit --15736829211.f073aa26.24173 Date: Wed, 13 Nov 2019 22:08:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D112265 --- Comment #3 from John.p.donnelly@oracle.com --- Created attachment 145950 --> https://bugs.freedesktop.org/attachment.cgi?id=3D145950&action=3Dedit Running startx on the console This likely doesn't help much=20 On a 4.18 kernel ; when I do "startx" on the console ; it eventually ru= ns gnone. On the bad kernel ; I just see x11 noise ; then nothing . --=20 You are receiving this mail because: You are the assignee for the bug.= --15736829211.f073aa26.24173 Date: Wed, 13 Nov 2019 22:08:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 3 on bug 11226= 5 from Jo= hn.p.donnelly@oracle.com
Created attachment=
 145950 [details]
Running startx on the console

This likely doesn't help much=20
On a 4.18 kernel  ; when I do "startx"  on the console   ; it eve=
ntually runs
gnone.

 On the bad kernel ;   I just see  x11 noise ;  then nothing .


You are receiving this mail because:
  • You are the assignee for the bug.
= --15736829211.f073aa26.24173-- --===============1282245799== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1282245799==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 112265] Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics Date: Thu, 14 Nov 2019 09:29:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1918625909==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B3C56E524 for ; Thu, 14 Nov 2019 09:29:46 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1918625909== Content-Type: multipart/alternative; boundary="15737237862.B31D4.408" Content-Transfer-Encoding: 7bit --15737237862.B31D4.408 Date: Thu, 14 Nov 2019 09:29:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D112265 Thomas Zimmermann changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |tzimmermann@suse.de |.org | --=20 You are receiving this mail because: You are the assignee for the bug.= --15737237862.B31D4.408 Date: Thu, 14 Nov 2019 09:29:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Thomas Zimmermann changed bug 11226= 5
What Removed Added
Assignee dri-devel@lists.freedesktop.org tzimmermann@suse.de


You are receiving this mail because:
  • You are the assignee for the bug.
= --15737237862.B31D4.408-- --===============1918625909== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1918625909==--