[Mesa-users] Glxgears Crashes in VMware
Sam M
sam_h00 at hotmail.com
Fri Oct 28 00:50:20 UTC 2016
I've ran the "gdb glxgears" command on the local VM machine:
(gdb) r
Starting program: /usr/bin/glxgears
[Thread debugging using libthread_db enabled]
12449 frames in 5.0 seconds = 2489.733 FPS
12566 frames in 5.0 seconds = 2512.533 FPS
12675 frames in 5.0 seconds = 2534.869 FPS
^C
Program received signal SIGINT, Interrupt.
0x000000310687abf4 in malloc () from /lib64/libc.so.6
(gdb) bt
#0 0x000000310687abf4 in malloc () from /lib64/libc.so.6
#1 0x000000311743b673 in ?? () from /usr/lib64/libGL.so.1
#2 0x000000311743b90b in ?? () from /usr/lib64/libGL.so.1
#3 0x00007ffff776dbfd in ?? () from /usr/lib64/dri/vmwgfx_dri.so
#4 0x00007ffff776a688 in ?? () from /usr/lib64/dri/vmwgfx_dri.so
#5 0x00007ffff769bcfe in ?? () from /usr/lib64/dri/vmwgfx_dri.so
#6 0x00007ffff769d2c1 in ?? () from /usr/lib64/dri/vmwgfx_dri.so
#7 0x00007ffff765ff47 in ?? () from /usr/lib64/dri/vmwgfx_dri.so
#8 0x00007ffff7666a3f in ?? () from /usr/lib64/dri/vmwgfx_dri.so
#9 0x0000000000401a6e in ?? ()
#10 0x000000000040324c in ?? ()
#11 0x000000310681ed1d in __libc_start_main () from /lib64/libc.so.6
#12 0x00000000004017f9 in ?? ()
#13 0x00007fffffffe2a8 in ?? ()
#14 0x000000000000001c in ?? ()
#15 0x0000000000000001 in ?? ()
#16 0x00007fffffffe59a in ?? ()
#17 0x0000000000000000 in ?? ()
Running the same command on the server still crashes and a new login screen reappears. It works if I run it with "vglrun".
________________________________
From: mesa-users <mesa-users-bounces at lists.freedesktop.org> on behalf of Sam M <sam_h00 at hotmail.com>
Sent: October 27, 2016 6:36:50 PM
To: Brian Paul
Cc: mesa-users at lists.freedesktop.org
Subject: Re: [Mesa-users] Glxgears Crashes in VMware
I've ran the "gdb glxgears" command on the local machine:
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-90.el6)
Copyright (C) 2010 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 "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/glxgears...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install glx-utils-11.0.7-4.el6.x86_64
I've ran the "gdb glxgears" command on the server:
GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)
Copyright (C) 2009 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 "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/glxgears...(no debugging symbols found)...done.
________________________________
From: mesa-users <mesa-users-bounces at lists.freedesktop.org> on behalf of Sam M <sam_h00 at hotmail.com>
Sent: October 27, 2016 5:07:44 PM
To: Brian Paul
Cc: mesa-users at lists.freedesktop.org
Subject: Re: [Mesa-users] Glxgears Crashes in VMware
How would I use the "gdb" command? Can you give me an example.
On Oct 27, 2016 4:38 PM, Brian Paul <brianp at vmware.com> wrote:
Can you try running with gdb to get some information about the crash?
-Brian
On 10/27/2016 01:12 PM, Sam M wrote:
> Yes, I'm using CentOS 6.8 in the guest. Yes, OpenGL acceleration works
> "out of the box" without compiling.
>
>
> I have a 3D app that runs on a server that requires 3D to be working. If
> I run "vglconnect server1" then "vlgrun 3dapp" it will work without
> crashing, but if don't use "vglrun" it will crash. Very strange... It
> was working fine in CentOS 6.6 without using "vglrun".
>
> ------------------------------------------------------------------------
> *From:* Brian Paul <brianp at vmware.com>
> *Sent:* October 27, 2016 1:08:17 PM
> *To:* Sam M; mesa-users at lists.freedesktop.org
> *Subject:* Re: [Mesa-users] Glxgears Crashes in VMware
> So you're using CentOS 6.8 in the guest now?
>
> Did OpenGL acceleration work "out of the box" before you tried compiling
> things yourself?
>
> I've only tested with CentOS 7 a while back and that seemed to work.
> I'm afraid I don't have time to dig into this right now. Maybe next
> week when I'm back in my office.
>
> -Brian
>
> On 10/27/2016 10:06 AM, Sam M wrote:
>> When Open a terminal and run the following
>>
>>
>> LIBGL_ALWAYS_INDIRECT=y glxgears
>> LIBGL_ALWAYS_INDIRECT=n glxgears
>>
>> then X crashes, you're presented with the gnome login screen eventually.
>>
>> ------------------------------------------------------------------------
>> *From:* mesa-users <mesa-users-bounces at lists.freedesktop.org> on behalf
>> of Sam M <sam_h00 at hotmail.com>
>> *Sent:* October 27, 2016 10:10:10 AM
>> *To:* mesa-users at lists.freedesktop.org
>> *Subject:* [Mesa-users] Glxgears Crashes in VMware
>>
>> Hello,
>>
>>
>> I'm having issues with glxgears crashing in VMware v12. Glxgears will
>> crash the xorg (the screen will freeze and then a new login screen
>> reappears). I've tried compiling from source code, but with no luck. The
>> crash doesn't happen on CentOS 6.6
>>
>> OS: CentOS 6.8
>>
>> OpenGL vendor string: VMware, Inc.
>> OpenGL renderer string: Gallium 0.4 on SVGA3D; build: RELEASE;
>> OpenGL version string: 2.1 Mesa 10.6.9
>> OpenGL shading language version string: 1.20
>>
>> Any help would be much appreciated.
>>
>>
>> Thanks,
>>
>> Sam
>>
>>
>>
>> _______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.freedesktop.org
>>https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=CwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=LphSSgFpBvYn-HmKkMmyV8PtqUkXRlwZaaazmnF0348&s=WO23dDXiJLCrabKLIcBmTNq0uFJb-R0dDdpvhQnFuEA&e=
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20161028/e3c692a8/attachment-0001.html>
More information about the mesa-users
mailing list