Comment 24 for bug 1039157

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 1039157] Re: vmwgfx kernel module not loaded by default

Hi Tim,

On Sep 05, 2012, at 04:54 PM, Tim Gardner wrote:

>Barry - its not clear if the attached kern.log in comment #11 is after
>you've added vmwgfx to /etc/modules. At any rate, that module is getting
>loaded about 20 seconds into the boot:
>
>[ 20.863814] [drm] Initialized vmwgfx 2.4.0 20120209 for 0000:00:0f.0
>on minor 0
>
>The vmwgfx module is a PCI device driver and should get auto-loaded by
>udev when it sees the PCI device ID 0x15ad:0x0405 which I can see from
>your lspci.txt:
>
>00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter
>[15ad:0405] (prog-if 00 [VGA controller])

I don't remember actually, but I just disabled the /etc/modules entry and
rebooted. I'll attach my full kern.log, but here are some useful information:

% grep -i vmwgfx /var/log/kern.log
Sep 4 11:40:18 resist kernel: [ 7.393370] [drm] Initialized vmwgfx 2.4.0 20120209 for 0000:00:0f.0 on minor 0

% glxinfo | grep -i open
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x301)
OpenGL version string: 2.1 Mesa 8.1-devel
OpenGL shading language version string: 1.20
OpenGL extensions:

% lsmod | grep vmwgfx
(no output)

% lspci | grep -i vga
00:0f.0 VGA compatible controller: VMware SVGA II Adapter

% uname -a
Linux resist 3.5.0-13-generic #14-Ubuntu SMP Wed Aug 29 16:48:44 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

That kern.log hit is from yesterday, so definitely when I had the /etc/modules
line enabled. No hit from the reboot today, and the use of llvmpipe clearly
shows that the module isn't getting loaded by default.

>Have you made any external updates to VMware or OS/X ?

No. I'm still running Fusion 4.1.3 (build 730298) though I am considering
upgrading to Fusion 5.0 which was recently released. Host is running OS X
10.6.8.

>Also please try 'grep -i vmwgfx /lib/modules/`uname -r`/modules*'

% grep -i vmwgfx /lib/modules/`uname -r`/modules*
/lib/modules/3.5.0-13-generic/modules.dep:kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko: kernel/drivers/gpu/drm/ttm/ttm.ko kernel/drivers/gpu/drm/drm.ko
Binary file /lib/modules/3.5.0-13-generic/modules.dep.bin matches
/lib/modules/3.5.0-13-generic/modules.order:kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko