<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - amdgpu: xterm scrollback buffer disappears while paging up/down"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110214">110214</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>amdgpu: xterm scrollback buffer disappears while paging up/down
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>XOrg git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/AMDgpu
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>diego.viola@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Whenever I run `dmesg' on a xterm that uses the following options:
xterm -fa "DejaVu Sans Mono:style=Book:antialias=true" -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 options
I mentioned above.
Steps to reproduce:
- run `xterm -fa "DejaVu Sans Mono:style=Book:antialias=true" -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 driver
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 xterm
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] Raven
Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>