From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110214] amdgpu: xterm scrollback buffer disappears while paging up/down Date: Thu, 21 Mar 2019 01:34:02 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1531575663==" 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 31C5689D6C for ; Thu, 21 Mar 2019 01:34:03 +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 --===============1531575663== Content-Type: multipart/alternative; boundary="15531320431.26DBAA091.21626" Content-Transfer-Encoding: 7bit --15531320431.26DBAA091.21626 Date: Thu, 21 Mar 2019 01:34:03 +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=3D110214 Bug ID: 110214 Summary: amdgpu: xterm scrollback buffer disappears while paging up/down Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: diego.viola@gmail.com Whenever I run `dmesg' on a xterm that uses the following options: xterm -fa "DejaVu Sans Mono:style=3DBook:antialias=3Dtrue" -fs 9 and I scroll up with the keyboard (shift+page up) parts of the scrollback buffer disappears, making it difficult to read the output. I've tested other terminals (urxvt and alacritty) and I cannot trigger the = bug with these terminals, with xterm it happens only with xft and with the opti= ons I mentioned above. Steps to reproduce: - run `xterm -fa "DejaVu Sans Mono:style=3DBook:antialias=3Dtrue" -fs 9' - run `dmesg', hit enter and page up You should notice parts of the buffer disappearing. I use the modesetting DDX driver, I also tried the xf86-video-amdgpu DDX dr= iver and I can reproduce it with both, however, when setting Option "Accel" "off= " in /etc/X11/xorg.conf.d/20-amdgpu.conf I cannot reproduce it anymore. Actual Results: As mentioned, the scrollback buffer disappears when paging up with these xt= erm options that I mentioned above. Expected Results: xterm works normally with these options, with no scrollback buffer issues. System details: - Arch Linux (x86_64) - linux 5.0.2-arch1-1-ARCH - xorg-server 1.20.4-1 - i3-wm 4.16.1-1 - xterm 344-1 - mesa 19.0.0-1 My machine is a "AMD Ryzen 5 2400G with Radeon Vega Graphics" APU with integrated vega graphics. $ lspci | grep VGA 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] R= aven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6) --=20 You are receiving this mail because: You are the assignee for the bug.= --15531320431.26DBAA091.21626 Date: Thu, 21 Mar 2019 01:34:03 +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 110214
Summary amdgpu: xterm scrollback buffer disappears while paging up/do= wn
Product DRI
Version XOrg git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter diego.viola@gmail.com

Whenever I run `dmesg' on a xterm that uses the following opti=
ons:

xterm -fa "DejaVu Sans Mono:style=3DBook:antialias=3Dtrue" -fs 9

and I scroll up with the keyboard (shift+page up) parts of the scrollback
buffer disappears, making it difficult to read the output.

I've tested other terminals (urxvt and alacritty) and I cannot trigger the =
bug
with these terminals, with xterm it happens only with xft and with the opti=
ons
I mentioned above.

Steps to reproduce:

- run `xterm -fa "DejaVu Sans Mono:style=3DBook:antialias=3Dtrue"=
 -fs 9'
- run `dmesg', hit enter and page up

You should notice parts of the buffer disappearing.

I use the modesetting DDX driver, I also tried the xf86-video-amdgpu DDX dr=
iver
and I can reproduce it with both, however, when setting Option "Accel&=
quot; "off" in
/etc/X11/xorg.conf.d/20-amdgpu.conf I cannot reproduce it anymore.

Actual Results:

As mentioned, the scrollback buffer disappears when paging up with these xt=
erm
options that I mentioned above.

Expected Results:

xterm works normally with these options, with no scrollback buffer issues.

System details:

- Arch Linux (x86_64)
- linux 5.0.2-arch1-1-ARCH
- xorg-server 1.20.4-1
- i3-wm 4.16.1-1
- xterm 344-1
- mesa 19.0.0-1

My machine is a "AMD Ryzen 5 2400G with Radeon Vega Graphics" APU=
 with
integrated vega graphics.

$ lspci | grep VGA
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] R=
aven
Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)


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