[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #60 from Diego Viola  ---
Used clang to compile the latest mesa git master and it made no difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #59 from Diego Viola  ---
If I do this:

$ git revert -n 6328536ff28ca26f2ad4e6f2c956c467acebda88
$ git revert -n 621b0fa8922ade0a8122b868177308e65e6d3595

Then xterm works fine and I still have direct rendering.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #58 from Diego Viola  ---
I restarted the bisect and ended up at the same "bad commit":

6328536ff28ca26f2ad4e6f2c956c467acebda88 is the first bad commit

I wonder what I'm doing wrong...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #57 from Diego Viola  ---
I contacted Thomas Dickey (maintainer of xterm) and he said this about the
issue:

drivers, or Xorg in general -

for instance the parts painting by XCopyArea
(used by xterm and some other applications)
may not be getting repainting-events

https://lists.cairographics.org/archives/cairo/2015-May/026284.html

or buggy acceleration features

https://invisible-island.net/xterm/xterm.faq.html#compiz_bugs

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #56 from Diego Viola  ---
Here's more or less what I'm currently seeing:

$ ldd /usr/bin/glxinfo | grep libGL
libGL.so.1 => /home/diego/mesa/lib/libGL.so.1 (0x7fbaac886000)
$ ls -l /home/diego/mesa/lib/libGL.so.1
lrwxrwxrwx 2 diego diego 14 Apr  2 00:03 /home/diego/mesa/lib/libGL.so.1 ->
libGL.so.1.2.0
$ sudo lsof | grep libGL.so
[sudo] password for diego: 
Xorg   4873  diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4874 Xorg:cs0diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4875 Xorg:disk   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4876 Xorg:sh0diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4877 Xorg:sh1diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4878 Xorg:sh2diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4879 Xorg:sh3diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4880 Xorg:sh4diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4881 Xorg:sh5diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4882 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4883 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4884 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4885 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   4873 4886 Xorg:gdrv   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520  diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5521 Xorg:cs0diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5522 Xorg:disk   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5523 Xorg:sh0diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5524 Xorg:sh1diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5525 Xorg:sh2diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5526 Xorg:sh3diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5527 Xorg:sh4diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5528 Xorg:sh5diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5529 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5530 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5531 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5532 Xorg:shlo   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
Xorg   5520 5533 Xorg:gdrv   diego  mem   REG   0,22  
591624 438107 /usr/lib/libGL.so.1.7.0
$ pacman -Qo /usr/lib/libGL.so.1.7.0 
/usr/lib/libGL.so.1.7.0 is owned by libglvnd 1.1.1-1

This is after I startx with LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH pointing to
my mesa build.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #55 from Diego Viola  ---
(In reply to Michel Dänzer from comment #53)
> It's probably worth trying git bisect again, double-checking at each step
> that you're testing the right thing.

I tried again and I can't get to replace the system mesa with my own build
because of some conflicts with libglvnd, and when I compile mesa in my home
directory and export LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH to my mesa build,
glxinfo reports the right version of mesa and links to the libGL from my build,
but lsof shows the libGL from libglvnd is being used.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #54 from Diego Viola  ---
(In reply to Michel Dänzer from comment #53)
> It's probably worth trying git bisect again, double-checking at each step
> that you're testing the right thing.

Sure, I think my attempt from #c47 should have allowed me to reproduce the
problem, I wonder why that failed.

I will try again.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #53 from Michel Dänzer  ---
It's probably worth trying git bisect again, double-checking at each step that
you're testing the right thing.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #52 from Diego Viola  ---
(In reply to Michel Dänzer from comment #51)
> (In reply to Diego Viola from comment #46)
> > Maybe that's why the bisect went bad?
> 
> That's likely one reason at least. At this point it's probably best if you
> double-check everything before testing anything. :)

Sure, sorry about any possible false-positives that I might have provided by
accident.

> 
> (In reply to Diego Viola from comment #47)
> > But then I cannot reproduce the bug anymore.
> 
> The working hypothesis is that it's a Mesa regression between 18.3 and 19.0,
> so that makes sense?

Yes, is there any more info that I can provide that you think would be useful?

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #51 from Michel Dänzer  ---
(In reply to Diego Viola from comment #46)
> Maybe that's why the bisect went bad?

That's likely one reason at least. At this point it's probably best if you
double-check everything before testing anything. :)

(In reply to Diego Viola from comment #47)
> But then I cannot reproduce the bug anymore.

The working hypothesis is that it's a Mesa regression between 18.3 and 19.0, so
that makes sense?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #50 from Diego Viola  ---
I can reproduce the issue with apitrace on Ubuntu 19.04.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #49 from Diego Viola  ---
apitrace replay -w Xephyr.trace also seems to work.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #48 from Diego Viola  ---
Created attachment 143834
  --> https://bugs.freedesktop.org/attachment.cgi?id=143834=edit
Xephyr.trace

Here is an apitrace to reproduce the bug, I used this:

export MESA_EXTENSION_OVERRIDE="-GL_ARB_buffer_storage"
apitrace trace /usr/bin/Xephyr -glamor :1 -screen 1024x768

As described here: https://github.com/apitrace/apitrace/wiki/Glamor

I can replay it with either of those commands:

eglretrace -w Xephyr.trace

or

glretrace -w Xephyr.trace

This was iive's suggestion (thanks).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #47 from Diego Viola  ---
OK, this one is also weird, I've compiled mesa-18.3.0 in my home directory,
exported these two variables:

export LD_LIBRARY_PATH=/home/diego/mesa/lib
export LIBGL_DRIVERS_PATH=/home/diego/mesa/lib/gallium

I startx after that, glxinfo reports the right mesa version (18.3.0) and lsof
says this:

$ sudo lsof | grep radeonsi_dri.so
[sudo] password for diego: 
Xorg  8082  diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8083 Xorg:cs0diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8084 Xorg:disk   diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8085 Xorg:sh0diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8086 Xorg:sh1diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8087 Xorg:sh2diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8088 Xorg:sh3diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8089 Xorg:sh4diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8090 Xorg:sh5diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8091 Xorg:shlo   diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8092 Xorg:shlo   diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8093 Xorg:shlo   diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8094 Xorg:shlo   diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so
Xorg  8082 8095 Xorg:gdrv   diego  mem   REG   0,22
84191168 322546 /home/diego/mesa/lib/gallium/radeonsi_dri.so

But then I cannot reproduce the bug anymore.

Any ideas?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #46 from Diego Viola  ---
For some reason glxinfo reports mesa 19.0.0 (stock package on Arch) after I've
installed mesa system-wide (18.3.0).

I didn't use a PKGBUILD and installed mesa by doing a `sudo make install'.

Maybe that's why the bisect went bad?

I know using a PKGBUILD is the right way to do it, but the last time I tried to
use it I got some conflicts with libglvnd when I tried to replace the Arch
Linux mesa package with the custom one.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #45 from Diego Viola  ---
Created attachment 143833
  --> https://bugs.freedesktop.org/attachment.cgi?id=143833=edit
glxinfo with LLVM 8.0.0

(In reply to Michel Dänzer from comment #39)
> (In reply to Diego Viola from comment #38)
> > Unfortunately that's not the issue, llvm-libs 8.0.0 just landed on Arch
> > Linux [extra] repository and the issue still persists.
> 
> Has Mesa been rebuilt against the new LLVM? Check the glxinfo output.

Here's the current glxinfo output with the stock mesa on Arch.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #44 from Diego Viola  ---
(In reply to Daniel Stone from comment #43)
> (In reply to Diego Viola from comment #41)
> > $ git bisect good
> > 6328536ff28ca26f2ad4e6f2c956c467acebda88 is the first bad commit
> > commit 6328536ff28ca26f2ad4e6f2c956c467acebda88
> > Author: Eric Anholt 
> > Date:   Fri Nov 2 14:35:06 2018 -0700
> > 
> > gbm: Introduce a helper function for printing GBM format names.
> > 
> > This requires that the caller make a little (stack) allocation to store
> > the string.
> > 
> > v2: Use gbm_format_canonicalize (suggested by Daniel)
> > 
> > Reviewed-by: Eric Engestrom 
> > Reviewed-by: Daniel Stone 
> > 
> > :04 04 033db8e2d54ead2f34691e6b8e234a06428381fd
> > 50d5e1cbd57b488d0e24fd86787c611bf58bd588 M  src
> 
> I'm afraid this is a red herring: as you can see from looking at the commit,
> it simply adds new API with no actual user.

Are you sure? I've compiled the previous commit and that makes it work.

commit ee7f848c000112a98e9614f42921b176be473792 (HEAD)

Should I restart the git bisect?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #43 from Daniel Stone  ---
(In reply to Diego Viola from comment #41)
> $ git bisect good
> 6328536ff28ca26f2ad4e6f2c956c467acebda88 is the first bad commit
> commit 6328536ff28ca26f2ad4e6f2c956c467acebda88
> Author: Eric Anholt 
> Date:   Fri Nov 2 14:35:06 2018 -0700
> 
> gbm: Introduce a helper function for printing GBM format names.
> 
> This requires that the caller make a little (stack) allocation to store
> the string.
> 
> v2: Use gbm_format_canonicalize (suggested by Daniel)
> 
> Reviewed-by: Eric Engestrom 
> Reviewed-by: Daniel Stone 
> 
> :04 04 033db8e2d54ead2f34691e6b8e234a06428381fd
> 50d5e1cbd57b488d0e24fd86787c611bf58bd588 Msrc

I'm afraid this is a red herring: as you can see from looking at the commit, it
simply adds new API with no actual user.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #42 from Diego Viola  ---
Created attachment 143832
  --> https://bugs.freedesktop.org/attachment.cgi?id=143832=edit
git bisect log

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #41 from Diego Viola  ---
$ git bisect good
6328536ff28ca26f2ad4e6f2c956c467acebda88 is the first bad commit
commit 6328536ff28ca26f2ad4e6f2c956c467acebda88
Author: Eric Anholt 
Date:   Fri Nov 2 14:35:06 2018 -0700

gbm: Introduce a helper function for printing GBM format names.

This requires that the caller make a little (stack) allocation to store
the string.

v2: Use gbm_format_canonicalize (suggested by Daniel)

Reviewed-by: Eric Engestrom 
Reviewed-by: Daniel Stone 

:04 04 033db8e2d54ead2f34691e6b8e234a06428381fd
50d5e1cbd57b488d0e24fd86787c611bf58bd588 M  src

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #40 from Diego Viola  ---
Something really funny is going on.

I've compiled Mesa 18.3.0 and installed it system-wide and that works (xterm
scrollback is fine with this).

I've compiled the latest Mesa git HEAD and installed that system-wide, this
fails.

Bisect time.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #39 from Michel Dänzer  ---
(In reply to Diego Viola from comment #38)
> Unfortunately that's not the issue, llvm-libs 8.0.0 just landed on Arch
> Linux [extra] repository and the issue still persists.

Has Mesa been rebuilt against the new LLVM? Check the glxinfo output.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #38 from Diego Viola  ---
(In reply to Michel Dänzer from comment #37)
> Hmm, Mesa was built against LLVM 7 in Arch & Fedora, against LLVM 8/9 in
> Ubuntu. Maybe this was an LLVM issue fixed in version 8?

Unfortunately that's not the issue, llvm-libs 8.0.0 just landed on Arch Linux
[extra] repository and the issue still persists.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #37 from Michel Dänzer  ---
Hmm, Mesa was built against LLVM 7 in Arch & Fedora, against LLVM 8/9 in
Ubuntu. Maybe this was an LLVM issue fixed in version 8?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #36 from Diego Viola  ---
(In reply to Michel Dänzer from comment #32)
> (In reply to Diego Viola from comment #27)
> > export LD_LIBRARY_PATH=/home/diego/mesa/lib
> > export LIBGL_DRIVERS_PATH=/home/diego/mesa/lib/gallium
> > 
> > So I assume this should make the X server pick the radeonsi_dri.so from
> > /home/diego/mesa/lib/gallium right?
> 
> Doubtful, environment variables from the user shell aren't propagated to the
> Xorg process for me (which makes it very mysterious how
> LIBGL_ALWAYS_SOFTWARE=1 could make any difference...).
> 
> > Is there a way to verify beyond this which radeonsi driver it's using?
> 
> sudo lsof | grep radeonsi_dri.so

Thanks.

> 
> 
> (In reply to Diego Viola from comment #29)
> > Mesa 19.0.0-devel (git-8daf5bb209)
> > 
> > Which is the commit prior to the bad commit I mentioned above.
> > 
> > Sadly xterm is still breaking as usual, the output disappears as I
> > Shift+Page Up and nothing changed in that regard. :(
> 
> What if you install Mesa 18.3 system-wide?

I'll try that.

> 
> 
> (In reply to Diego Viola from comment #30)
> > I can reproduce this on Fedora 29 (workstation), [...]
> (In reply to Diego Viola from comment #31)
> > I can't reproduce it on Ubuntu 18.04.2 or 19.04 beta.
> 
> Please attach the outputs of glxinfo from Fedora and Ubuntu.

Done.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #35 from Diego Viola  ---
Created attachment 143831
  --> https://bugs.freedesktop.org/attachment.cgi?id=143831=edit
glxinfo from Fedora 29

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #34 from Diego Viola  ---
Created attachment 143830
  --> https://bugs.freedesktop.org/attachment.cgi?id=143830=edit
glxinfo from Ubuntu 18.04.2

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #33 from Diego Viola  ---
Created attachment 143829
  --> https://bugs.freedesktop.org/attachment.cgi?id=143829=edit
glxinfo from Ubuntu 19.04 beta

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-04-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #32 from Michel Dänzer  ---
(In reply to Diego Viola from comment #27)
> export LD_LIBRARY_PATH=/home/diego/mesa/lib
> export LIBGL_DRIVERS_PATH=/home/diego/mesa/lib/gallium
> 
> So I assume this should make the X server pick the radeonsi_dri.so from
> /home/diego/mesa/lib/gallium right?

Doubtful, environment variables from the user shell aren't propagated to the
Xorg process for me (which makes it very mysterious how LIBGL_ALWAYS_SOFTWARE=1
could make any difference...).

> Is there a way to verify beyond this which radeonsi driver it's using?

sudo lsof | grep radeonsi_dri.so


(In reply to Diego Viola from comment #29)
> Mesa 19.0.0-devel (git-8daf5bb209)
> 
> Which is the commit prior to the bad commit I mentioned above.
> 
> Sadly xterm is still breaking as usual, the output disappears as I
> Shift+Page Up and nothing changed in that regard. :(

What if you install Mesa 18.3 system-wide?


(In reply to Diego Viola from comment #30)
> I can reproduce this on Fedora 29 (workstation), [...]
(In reply to Diego Viola from comment #31)
> I can't reproduce it on Ubuntu 18.04.2 or 19.04 beta.

Please attach the outputs of glxinfo from Fedora and Ubuntu.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #31 from Diego Viola  ---
I can't reproduce it on Ubuntu 18.04.2 or 19.04 beta.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #30 from Diego Viola  ---
I can reproduce this on Fedora 29 (workstation), I don't think the problem is
Arch Linux specific.

- XTerm(334)
- Linux 5.0.4-200.fc29.x86_64
- GNOME Version 3.30.2
- xorg-x11-server-Xorg-1.20.4-1.fc29.x86_64

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #29 from Diego Viola  ---
OK, I was able to install Mesa system wide, glxinfo tells me this:

Mesa 19.0.0-devel (git-8daf5bb209)

Which is the commit prior to the bad commit I mentioned above.

Sadly xterm is still breaking as usual, the output disappears as I Shift+Page
Up and nothing changed in that regard. :(

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #28 from Diego Viola  ---
I guess I'll need to install mesa system wide to be really sure, I'll do that
and confirm.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #27 from Diego Viola  ---
Actually, about your question:

> And you're making sure that the X server picks up your self-built 
> radeonsi_dri.so for glamor?

I'm compiling Mesa in my home directory with the following configure switches:

./autogen.sh --enable-gles1 --enable-gles2 --enable-glx-tls
--with-egl-platforms=x11,drm,wayland --with-dri-drivers=radeon
--with-gallium-drivers=radeonsi --enable-debug --enable-autotools
make -j8

export LD_LIBRARY_PATH=/home/diego/mesa/lib
export LIBGL_DRIVERS_PATH=/home/diego/mesa/lib/gallium

So I assume this should make the X server pick the radeonsi_dri.so from
/home/diego/mesa/lib/gallium right?

I looked at the ~/.local/share/xorg/Xorg.0.log but it's not so clear:

[   437.304] (II) modeset(0): [DRI2]   DRI driver: radeonsi
[   437.307] (II) AIGLX: Loaded and initialized radeonsi

Is there a way to verify beyond this which radeonsi driver it's using?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

--- Comment #26 from Diego Viola  ---
(In reply to Michel Dänzer from comment #25)
> Just to make sure, you always restart the X server between building a Mesa
> commit and testing xterm against it, right? And you're making sure that the
> X server picks up your self-built radeonsi_dri.so for glamor?

Yes.

> 
> If so, since that commit doesn't seem to affect the xterm issue, let's
> assume for now that it's separate. Please file a new report about the GTK
> issue, also against radeonsi, with the information from git bisect.

OK.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 110214] radeonsi: xterm scrollback buffer disappears while paging up/down

2019-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214

Diego Viola  changed:

   What|Removed |Added

Summary|amdgpu: xterm scrollback|radeonsi: xterm scrollback
   |buffer disappears while |buffer disappears while
   |paging up/down  |paging up/down

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel