Thinkpad W541 cannot detect second monitor on Ubuntu 15.04

I have a Thinkpad W541 which freshly installed the Ubuntu 15.04 64 bit version. The laptop has two graphical cards, one is the integrated Intel graphical card, the other is nvidia Quadro K2100M Optimus Discrete with 2GB RAM. I have an extended monitor (Samsung SyncMaster 2443BW) via VGA port, but the Ubuntu cannot detect the monitor.

The output of “xrandr” is:

xrandr: Failed to get size of gamma for output default

Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080

default connected primary 1920x1080+0+0 0mm x 0mm

1920x1080      77.0*   

"1280x1024_59.90" (0x197)  108.7MHz

h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   63.5KHz
v: height 1024 start 1025 end 1028 total 1060           clock   59.9Hz

"1024x768_59.90" (0x198)   64.0MHz

h: width  1024 start 1080 end 1184 total 1344 skew    0 clock   47.6KHz
v: height  768 start  769 end  772 total  795           clock   59.9Hz

According to the “Software & Updates” tool, the laptop is using nvidia-346.59-updates driver. I am also using bumblebee tool to get the NVIDIA Optimus technology under Linux. Here is the content related to the nvidia driver of /etc/bumblebee/bumblebee.conf:

##Section with nvidia driver specific options, only parsed if Driver=nvidia
Driver=nvidia
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-346-updates
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-346-updates:/usr/lib32/nvidia-346-updates
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-346-updates/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

I actually doubt whether the nvidia driver is correctly loaded, since:

1) In “nvidia-settings”, there is no profile or information regarding the monitor;

2) The output of the command “glxinfo | grep OpenGL” is:

OpenGL vendor string: VMware, Inc.

OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)

OpenGL version string: 3.0 Mesa 10.5.2

OpenGL shading language version string: 1.30

OpenGL context flags: (none)

OpenGL extensions:

3) I encounter error when I try to explicitly use the nvidia card to do 3D acceleration:

type “optirun firefox”, I get:

[ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ERROR]Aborting because fallback start is disabled.

I would appreciate any suggestion from you, thanks in advance!


Source: ubuntu

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.