pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51140: MesaLib-11.2.1 doesn't support GLSL software with modular X11.



The following reply was made to PR pkg/51140; it has been noted by GNATS.

From: stack field <stackfield0trpg%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/51140: MesaLib-11.2.1 doesn't support GLSL software with
 modular X11.
Date: Mon, 16 May 2016 16:06:33 +0900

 >>> the brick demo works for me, how does it fail for you?
 the brick demo on my computer showed the following message:
 
 rainsbase# cd /usr/pkgsrc/graphics/MesaDemos/work/mesa-demos-8.2.0/src/glsl
 rainsbase# LIBGL_DEBUG=verbose ./brick
 libGL: OpenDriver: trying /usr/pkg/lib/dri/tls/r600_dri.so
 libGL: OpenDriver: trying /usr/pkg/lib/dri/r600_dri.so
 libGL: Can't open configuration file /usr/pkg/etc/drirc: No such file
 or directory.
 libGL: Can't open configuration file /root/.drirc: No such file or directory.
 libGL: Can't open configuration file /usr/pkg/etc/drirc: No such file
 or directory.
 libGL: Can't open configuration file /root/.drirc: No such file or directory.
 libGL: Using DRI2 for screen 0
 Memory fault (core dumped)
 rainsbase# gdb brick brick.core
 GNU gdb (GDB) 7.7.1
 Copyright (C) 2014 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i486--netbsdelf".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from brick...(no debugging symbols found)...done.
 [New process 1]
 Core was generated by `brick'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0xbb9e195d in shared_dispatch_stub_161 () from /usr/pkg/lib/libglapi.so.0
 (gdb) bt full
 #0  0xbb9e195d in shared_dispatch_stub_161 () from /usr/pkg/lib/libglapi.so.0
 No symbol table info available.
 #1  0x0804a705 in CompileShaderText ()
 No symbol table info available.
 #2  0x0804a858 in CompileShaderFile ()
 No symbol table info available.
 #3  0x0804b354 in main ()
 No symbol table info available.
 
 2016-05-16 9:25 GMT+09:00 Tobias Nygren <tnn%netbsd.org@localhost>:
 > The following reply was made to PR pkg/51140; it has been noted by GNATS.
 >
 > From: Tobias Nygren <tnn%NetBSD.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: pkg/51140: MesaLib-11.2.1 doesn't support GLSL software with
 >  modular X11.
 > Date: Mon, 16 May 2016 02:21:29 +0200
 >
 >  On Sun, 15 May 2016 13:50:00 +0000 (UTC)
 >  stackfield0trpg%gmail.com@localhost wrote:
 >
 >  > This problem seems partially corrected on xsrc/external/mit/MesaLib/dist/src/mapi/entry.c (refer to http://cvsweb.netbsd.org/bsdweb.cgi/xsrc/external/mit/MesaLib/dist/src/mapi/entry.c.diff?r1=1.1&r2=1.2&only_with_tag=MAIN&f=h).
 >  > Its code work on my system.
 >
 >  This is not the right fix. TLS dispatch is supposed to work in pkgsrc mesa.
 >  the brick demo works for me, how does it fail for you?
 >
 >  $ cd /tmp/pkgsrc-obj/graphics/MesaDemos/work/mesa-demos-8.2.0/src/glsl
 >  $ ./brick
 >  Uniforms:
 >    0: LightPosition size=1 type=0x8b51 loc=0 value=0.1, 0.1, 9, 0
 >    1: BrickColor size=1 type=0x8b51 loc=1 value=0.8, 0.2, 0.2, 0
 >    2: MortarColor size=1 type=0x8b51 loc=2 value=0.6, 0.6, 0.6, 0
 >    3: BrickSize size=1 type=0x8b50 loc=3 value=1, 0.3, 0, 0
 >    4: BrickPct size=1 type=0x8b50 loc=4 value=0.9, 0.8, 0, 0
 >  GL_RENDERER = Gallium 0.4 on AMD CEDAR (DRM 2.38.0, LLVM 3.8.0)
 >
 


Home | Main Index | Thread Index | Old Index