Re: VMware guest 3D: vmw_ioctl error
Gyorgy Szekely <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAG3GjfOtCKn2iwg6Kk0CWMrOewpkkdaPOsivb8FeeoxCmHfd1Q@mail.gmail.com> |
Hi, Yesterday I gave it another try, but no luck. My issue is similar to this mesa bug: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=78123 This time I used released packages (instead of git): libdrm-2.4.54 Mesa-10.1.6 xf86-video-vmware-13.0.2 For vmwgfx I didn't find any recent package so I used a commit from the beginning of this year (658dd79434...) I renamed /usr/include/drm and /usr/src/kernels/2.6.32-431.el6.x86_64/include/drm to avoid any conflict with existing stuff. The first 3 packages compiled fine, for vmwgfx I had to do some modifications: http://pastebin.com/CkatBfXt - a few stuff in vmwgfx_compat.h which conflicted with kernel definitions (I suppose features are backported from newer kernels) - some includes are modified to take headers from vmwgfx src dir instead of the kernel include dir (which I renamed) The module compiles and loads fine, but I get the same error as before. Some notes: - CMD 1050 is valid (set render target) - the problem is in vmw_cmd_res_check where the resource is 0x0 (different from my last mail, same as the above bugid) I'm completely unfamiliar with the DRM arch, I don't know where look. If you have hints, or ideas what should I check I would gladly help. I want this thing running. Regards, Gyorgy On Thu, Jun 26, 2014 at 11:17 AM, Gyorgy Szekely <[email protected]> wrote: > Hi, > I'm tring to add guest 3D support to a ScientificLinux 6.5 64bit guest > (RHEL6.5 binary compatible) running in VMware player 6.0.2 with Win7 64 bit > host. > > I perfomed the steps discribed on the mesa page: > http://www.mesa3d.org/vmware-guest.html > All packages compiled (with minor tweaks) and installed ok. > > When I try to use 3D (glxgears), I get the following error: > WMware: vmw_ioctl_command error Invalid argument. > The glxgears window is black, _nothing_ is rendered. > > According to glxinfo driver seems fine: > OpenGL vendor string: VMware, Inc. > OpenGL renderer string: Gallium 0.4 on SVGA3D; build: RELEASE; > OpenGL version string: 2.1 Mesa 10.3.0-devel (git-4ccbbbd) > OpenGL shading language version string: 1.20 > > Kernel log is full of the following messages: > [vmwgfx:vmw_cmd_res_check] *ERROR* Could not find or use resource > 0x00007fff. > Pid: 2165, comm: glxgears Not tainted 2.6.32-431.el6.x86_64 #1 > Call Trace: > [<ffffffffa03f09cb>] ? vmw_cmd_res_check+0x1bb/0x1d0 [vmwgfx] > [<ffffffffa03f114b>] ? vmw_cmd_set_render_target_check+0x5b/0xc0 [vmwgfx] > [<ffffffffa03f1f91>] ? vmw_execbuf_process+0x221/0xc30 [vmwgfx] > [<ffffffffa03e9045>] ? ttm_read_lock+0x25/0x160 [vmwgfx] > [<ffffffffa03f2a1f>] ? vmw_execbuf_ioctl+0x7f/0xf0 [vmwgfx] > [<ffffffffa03d42fa>] ? drm_ioctl+0x33a/0x490 [vmwgfx] > [<ffffffffa03f29a0>] ? vmw_execbuf_ioctl+0x0/0xf0 [vmwgfx] > [<ffffffff8122f864>] ? inode_has_perm+0x54/0xa0 > [<ffffffff812334af>] ? selinux_file_permission+0xbf/0x150 > [<ffffffffa03e9dd1>] ? vmw_unlocked_ioctl+0x51/0x80 [vmwgfx] > [<ffffffff8119db42>] ? vfs_ioctl+0x22/0xa0 > [<ffffffff8119dce4>] ? do_vfs_ioctl+0x84/0x580 > [<ffffffff8119e261>] ? sys_ioctl+0x81/0xa0 > [<ffffffff810e1e5e>] ? __audit_syscall_exit+0x25e/0x290 > [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b > [vmwgfx:vmw_cmd_check] *ERROR* Invalid SVGA3D command: 1050 > > Any idea, what should I try? > > Regards, > Gyorgy > > _______________________________________________ mesa-users mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-users