<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 - GL/DRI3 over ssh broken"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93261">93261</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>GL/DRI3 over ssh broken
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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>GLX
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pomidorabelisima@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=120365" name="attach_120365" title="gdb dri3 remote">attachment 120365</a> <a href="attachment.cgi?id=120365&action=edit" title="gdb dri3 remote">[details]</a></span>
gdb dri3 remote
$ cat /etc/X11/xorg.conf.d/nouveau-dri3.conf
Section "Device"
Identifier "nvidia0"
Driver "nouveau"
Option "DRI" "3"
EndSection
$ grep DRI /var/log/Xorg.0.log
[ 45.046] (**) NOUVEAU(0): Option "DRI" "3"
[ 45.046] (**) NOUVEAU(0): Allowed maximum DRI level 3.
...
[ 46.363] (II) NOUVEAU(0): DRI3 on EXA enabled
...
$ ssh -Y user@hostname
$ gdb glxinfo
...
Reading symbols from glxinfo...Reading symbols from
/usr/lib/debug/usr/lib64/mesa/glxinfo.debug...done.
done.
(gdb) run
Starting program: /usr/bin/glxinfo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
name of display: localhost:10.0
^C
Program received signal SIGINT, Interrupt.
0x00007ffff7531a40 in __poll_nocancel () at
../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) backtrace full
#0 0x00007ffff7531a40 in __poll_nocancel () at
../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x00007ffff4f36272 in poll (__timeout=-1, __nfds=1, __fds=0x7fffffffdd60)
at /usr/include/bits/poll2.h:46
No locals.
#2 _xcb_conn_wait (c=c@entry=0x555555762ea0, cond=cond@entry=0x7fffffffde80,
vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
ret = <optimized out>
fd = {fd = 3, events = 1, revents = 0}
#3 0x00007ffff4f37c27 in wait_for_reply (c=c@entry=0x555555762ea0, request=23,
e=e@entry=0x0) at xcb_in.c:516
cond = {__data = {__wseq = 0, __signals_sent = 0, __confirmed = 0,
__generation = 0, __mutex = 0x0, __quiescence_waiters = 0,
__clockid = 0}, __size = '\000' <repeats 47 times>, __align = 0}
reader = {request = 23, data = 0x7fffffffde80, next = 0x0}
ret = 0x0
#4 0x00007ffff4f37d31 in xcb_wait_for_reply (c=0x555555762ea0, request=23,
e=0x0) at xcb_in.c:546
ret = <optimized out>
#5 0x00007ffff7b8d225 in loader_dri3_open () from /lib64/libGL.so.1
No symbol table info available.
#6 0x00007ffff7b88018 in dri3_create_screen () from /lib64/libGL.so.1
No symbol table info available.
#7 0x00007ffff7b5c911 in __glXInitialize () from /lib64/libGL.so.1
No symbol table info available.
#8 0x00007ffff7b58ccb in GetGLXPrivScreenConfig.part.2 () from
/lib64/libGL.so.1
No symbol table info available.
#9 0x00007ffff7b58e2e in glXChooseVisual () from /lib64/libGL.so.1
No symbol table info available.
#10 0x0000555555556eb3 in mesa_hack (scrnum=0, dpy=0x555555760010) at
glxinfo.c:1168
visinfo = <optimized out>
attribs = {4, 8, 1, 9, 1, 10, 1, 12, 1, 13, 1, 14, 1, 15, 1, 16, 1, 17,
1, 5, 0}
#11 main (argc=<optimized out>, argv=<optimized out>) at glxinfo.c:1257
dpy = <optimized out>
numScreens = 1
scrnum = 0
opts = {mode = Normal, findBest = 0 '\000', limits = 0 '\000',
singleLine = 0 '\000', displayName = 0x0, allowDirect = 1 '\001'}
coreWorked = <optimized out>
(gdb) q
A debugging session is active.
Inferior 1 [process 4281] will be killed.
Quit anyway? (y or n) y
$ LIBGL_DEBUG=verbose LIBGL_DRI3_DISABLE=1 glxinfo
name of display: localhost:10.0
libGL error: failed to authenticate magic 1
libGL error: failed to load driver: nouveau
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /home/test/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/test/.drirc: No such file or
directory.
display: localhost:10 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
...
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
...
GLX version: 1.4
GLX extensions:
...
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 3.7, 128 bits) (0xffffffff)
Version: 11.2.0
Accelerated: no
Video memory: 1754MB
Unified memory: no
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits)
OpenGL version string: 2.1 Mesa 11.2.0-devel (git-56aff6b)
OpenGL shading language version string: 1.30
OpenGL extensions:
...
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.2.0-devel (git-56aff6b)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>