Results 1 to 5 of 5

Thread: Nvidia Optimus does not work on Alienware 13 R3

  1. #1
    Join Date
    Mar 2011
    Beans
    19

    Nvidia Optimus does not work on Alienware 13 R3

    Hello everyone,

    I have an alienware 13 r3 that I've been trying to get the nvidia optimus to work on. I installed nvidia-prime and the latest nvidia driver from the repositories, and when I run the command
    Code:
    sudo prime-select query
    I get
    Code:
    nvidia
    , so the driver seems to be recognized and working. However, when trying to run an application that uses glx I will get an error. When I run glxgears I get
    Code:
    Error: couldn't get an RGB, Double-buffered visual
    , and trying to start steam gives an error "OpenGL GLX extension not supported by display". I never had bumblebee installed (it's a fresh install) so I'm not sure where the problem is coming from. Any ideas?

    Thanks!
    Luke
    Last edited by Voc; October 13th, 2017 at 03:11 AM.

  2. #2
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: Nvidia Optimus does not work on Alienware 13 R3

    What do you get for the following:
    Code:
    glxinfo | grep -E 'direct render|OpenGL'
    lspci | grep -E 'VGA|3D'
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

  3. #3
    Join Date
    Mar 2011
    Beans
    19

    Re: Nvidia Optimus does not work on Alienware 13 R3

    For the first one I get:
    Code:
    :~$ glxinfo | grep -E 'direct render|OpenGL'
    Error: couldn't find RGB GLX visual or fbconfig
    and the second one:
    Code:
    :~$ lspci | grep -E 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
    01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c20 (rev a1)

  4. #4
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: Nvidia Optimus does not work on Alienware 13 R3

    Which Ubuntu or related Linux distro version are you running? And do you know what Nvidia graphics chip it has?

    Normally lspci would identify your Nvidia chip. My gaming laptop with Intel HD 4600 graphics and Nvidia GTX 765M no longer turns on properly, so I cannot demonstrate that. But its GTX 765M was shown as 3D instead of VGA in lspci and usually that also identifies the Nvidia chip. For example on my desktop PC:

    01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] (rev a1)

    It looks like your Nvidia graphics is 1c20 GP106M [GeForce GTX 1060 Mobile 3GB] and it is possible that the default nouveau driver or older nvidia drivers do not support that. If you need to add newer nvidia drivers, you can add the graphics-drivers ppa:
    Code:
    sudo add-apt-repository ppa:graphics-drivers/ppa
    sudo apt-get update
    sudo apt-get install nvidia-384
    Note that Ubuntu 16.04 or newer can use apt instead of apt-get. The most recent Nvidia driver is actually nvidia-387. I am actually currently using nvidia-381 for my desktop GTX 1060, but my Ubuntu 16.10 is no longer supported, so this weekend I need to see if the long term support version Ubuntu 16.04.3 LTS works for me now or update to shorter term 17.04.
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

  5. #5
    Join Date
    Mar 2011
    Beans
    19

    Re: Nvidia Optimus does not work on Alienware 13 R3

    Sorry for the long response.

    I am using a core Lubuntu built from a base installation of Ubuntu server 16.04. I think the problem may have been that I didn't have a required software package manually installed because when I installed lubuntu-core it installed an additional couple of packages, after which everything started working. I am able to play games in steam and run glxgears.

    Thanks!
    Luke

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •