Re: OpenGL 3.x, VMware Workstation 12 with vmwgfx 2.9.0 not working

Albert Freeman <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAHD8uZM-D3LiSPZ6mwOF=f_Rw7kXB9NZw-n7ddim_c-yhHZ8JA@mail.gmail.com>
On 30 December 2015 at 23:24, Philipp Kemmeter <[email protected]> wrote:
> On Wed, Dec 30, 2015 at 08:44:33PM +1000, Albert Freeman wrote:
>> On 29 December 2015 at 21:21, Philipp Kemmeter <[email protected]> wrote:
>> > Heya!
>> >
>> > I'm a games developer and try to set up a VM with gentoo linux and
>> > vmware in order to test compiling and running our game in this
>> > environment.
>> >
>> > The host is running Windows 7 with 64bit, running dxdiag confirms, that
>> > DirectX 11 is available (I have a physical intel HD 5500 gpu).
>> >
>> > On the guest system I have gentoo installed with Kernel version 4.3.2.
>> > All vmware capabilities are compiled into the kernel (not a module).
>> >
>> > # dmesg | grep vmwgfx
>> > [    1.896754] [drm] Initialized vmwgfx 2.9.0 20150810 for 0000:00:0f.0 on minor 0
>> >
>> > So vmwgfx 2.9.0 is confirmed.
>> >
>> > from lspci I get:
>> > 00:0f.0 VGA compatible controller: VMware SVGA II Adapter
>> >
>> > # glxinfo | grep version
>> > server glx version string: 1.4
>> > client glx version string: 1.4
>> > GLX version: 1.4
>> >     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 version string: 2.1 Mesa 11.0.7
>> > OpenGL shading language version string: 1.20
>> > OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.0.7
>> > OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
>> >
>> > I don't understand, why I do not have OpenGL 3.x, which I need to run my
>> > game.
>> >
>> > On http://www.mesa3d.org/vmware-guest.html it sais:
>> >
>> > |    If OpenGL 3.3 is not working (you only get OpenGL 2.1):
>> > |
>> > |    - Make sure the VM uses hardware version 12.
>> > |    - Make sure the vmwgfx kernel module is version 2.9.0 or later.
>> > |    - Check the vmware.log file for errors.
>> > |    - Run 'dmesg | grep vmwgfx' and look for "DX: yes".
>> >
>> >
>> > Where do I find the vmware.log? "find / -name vmware.log" does not find
>> > a thing.
>> >
>> > |    - Run 'dmesg | grep vmwgfx' and look for "DX: yes".
>> >
>> > Is it a good thing, that I don't have "DX: yes" or a bad thing and what
>> > to do next? The documentation on this is a bit too little for me to find
>> > the next step on my own.
>> >
>> > Thanks a lot,
>> > Phil
>> >
>> > _______________________________________________
>> > mesa-users mailing list
>> > [email protected]
>> > http://lists.freedesktop.org/mailman/listinfo/mesa-users
>> >
>>
>> try mesa git or something from the 11.1 branch, that version of mesa
>> (11.0.7) does not have GL 3.3 svga support
>>
>> I think "DX: no" is a bad thing, but I have never used vmwgfx before
>> (it is not a mesa issue though, either something wrong with the host
>> or the kernel)
>> also I think vmware.log is on the windows host
>
> Heya!
>
> I installed 11.1, but it didn't help:
>
> From glxinfo:
> OpenGL version string: 2.1 Mesa 11.1.0
>
> I've found the vmware.log on the host, but it contains no errors, but
> confirms that it detected my graphics hardware and that it's directX11
> capable.
>
> I'm not quite sure what to do next.
>
> If have not "DX: no", I don't have a "DX: ..." at all in my log:
>
> # dmesg | grep vmwgfx
> [    1.896754] [drm] Initialized vmwgfx 2.9.0 20150810 for 0000:00:0f.0 on minor 0
>
> Don't know how to interprete this output.
>
> Kernel version is 4.3.2.
>
> Many thanks,
> Phil
>
> _______________________________________________
> mesa-users mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>

Sorry for the delayed reply, I believe my email glitched (did not show
that I had new emails from mesa-users).
Try this (if you are not using Arch Linux, you will have to adapt the
PKGBUILD scripts to something for your environment):
https://bbs.archlinux.org/viewtopic.php?pid=1566380#p1566380
You shouldn't need to rebuild mesa or libdrm or the llvm packages.
_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.