Results 1 to 10 of 10

Thread: Ubuntu 15.10 nVidia Driver Problem

  1. #1
    Join Date
    Oct 2015
    Beans
    1

    Ubuntu 15.10 nVidia Driver Problem

    Hello, I installed Ubuntu 15.10 beta 2. When I try to install additional nVidia drivers [[version 355.11 from nvidia-355 (open source) and -version 352.41 from nvidia-352 (proprietary)]], after reboot, i see only black screen. The only thing that i can do, return to nouveau drivers.

    What is the correct configuration?

    I have two graphic cards. Intel HD4600 and GeForce 840M

    Code:
    lspci | egrep "VGA|3D|Display"
    Code:
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
    Also i installed Bumblebee and when i do this for example;

    Code:
    optirun google-chrome
    i get this:

    Code:
    [ 2105.171956] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
    
    [ 2105.172126] [ERROR]Aborting because fallback start is disabled.


    Code:
    dpkg -l | egrep "nvidia|bumblebee|prime"
    Code:
    ii  bumblebee                                     3.2.1-9                                    amd64        NVIDIA Optimus support for Linux
    ii  bumblebee-nvidia                              3.2.1-9                                    amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
    ii  nvidia-304                                    304.128-0ubuntu1                           amd64        NVIDIA legacy binary driver - version 304.128
    ii  nvidia-current                                304.128-0ubuntu1                           amd64        Transitional package for nvidia-current
    ii  nvidia-opencl-icd-304                         304.128-0ubuntu1                           amd64        NVIDIA OpenCL ICD
    ii  nvidia-settings                               355.11-0ubuntu0~gpu15.10.1                 amd64        Tool for configuring the NVIDIA graphics driver
    Code:
    cat /etc/bumblebee/bumblebee.conf
    Code:
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    
    
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    #         bbswitch - new in BB 3, recommended if available
    #       switcheroo - vga_switcheroo method, use at your own risk
    #             none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    
    ## 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-current
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    Thanks. Sory for my English.



    Last edited by gfb-gokberk; October 6th, 2015 at 02:30 PM.

  2. #2
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Ubuntu 15.10 nVidia Driver Problem

    Are you trying to use the dual screen option? because I think that there were problems with this and may be dealt with during next development cycle. Otherwise it should jockey with nouveau but not nvidia.

    regards..

  3. #3
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu 15.10 nVidia Driver Problem

    why opting for "do not use the device" ? you might accept the line above (microcode)
    open-source is "nouveau", not a nvidia driver

    the intel graphic needs xserver-xorg-video-intel driver to be able to work
    https://help.ubuntu.com/community/HybridGraphics

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu 15.10 nVidia Driver Problem

    There shouldn't be a problem with dual screens, as I can use both monitors with nouveau and the Nvidia proprietary drivers. I'm running a 32" Samsung TV and a Benq 22" with zero problems. I'm running the Nvidia 340.93 version from the repositories.

  5. #5
    Join Date
    Nov 2011
    Beans
    2,336
    Distro
    Ubuntu

    Re: Ubuntu 15.10 nVidia Driver Problem

    If you want to use only the Intel or only the Nvidia and can disable one or the other in BIOS, then Bumblebee is not needed. The appropriate Intel driver will be used automatically if Intel video is detected as active. Tthe Nouveau driver will be used if the Nvidia is active. You can then, in that instance, if you wish, use Additional Drivers to install a proprietary driver from Nvidia.

  6. #6
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Ubuntu 15.10 nVidia Driver Problem

    Quote Originally Posted by cariboo View Post
    There shouldn't be a problem with dual screens, as I can use both monitors with nouveau and the Nvidia proprietary drivers. I'm running a 32" Samsung TV and a Benq 22" with zero problems. I'm running the Nvidia 340.93 version from the repositories.
    But are they two different chipsets? ie: 1 Intel 1 nvidia ?

    regards..

  7. #7
    Join Date
    Jun 2007
    Beans
    16,847

    Re: Ubuntu 15.10 nVidia Driver Problem

    A quick test here on an optimus device shows bumblebee is broken, same errors (never liked or used bumblebee any way.

    nvidia-prime can work well though you'll likely black screen at either any lightdm greeter or on session login.
    If that is the case there is no forthcoming fix but quite easy to work-around in several ways. If you need a workaround then post in this thread, mention whether you login to the greeter screen or auto login to the session.
    http://ubuntuforums.org/showthread.php?t=2293682

    (- I've opted for auto-login & a startup script, that way no black screen & no blind login

    As far as nvidia drivers - 304 can't be used with nvidia-prime, 352 is a terrible driver, best option is 355 from the ppa

  8. #8
    Join Date
    Oct 2015
    Beans
    2

    Re: Ubuntu 15.10 nVidia Driver Problem

    Hi.

    I installed xubuntu 15.10, on my asus with 650m optimus. Got the login screen, and then a black screen after login. My solution:

    After getting the black screen I hit:

    CTRL+ALT+F1, then logged in.

    then:

    sudo nano /etc/X11/xorg.conf

    In the first section I changed:

    Code:
    Section "ServerLayout"
        Identifier "layout"
        Screen 0 "nvidia"
        Inactive "intel"
    EndSection
    to:
    Code:
    Section "ServerLayout"
        Identifier "layout"
        Screen 0 "intel"
        Inactive "nvidia"
    EndSection
    Switching the target of "Screen 0" and "Inactive", is the important part here.

    After a reboot, I logged in just fine. But when I went to the nvidia-settings, nvidia was set to active, but after setting intel be active, everything behaved just as expected.

    Hope it does you some good.

    Cheers.
    Last edited by emil15; October 19th, 2015 at 06:04 PM.

  9. #9
    Join Date
    Aug 2013
    Beans
    3

    Re: Ubuntu 15.10 nVidia Driver Problem

    if you are using optimus you don't load the nvidia drivers , everything is setup to use the intel ones and the nvidia driver (in my case nvidia_346_updates to run my GeForce GT 750M) just gets enabled automagically when applications do 3d stuff. You need to install nvidia-prime for this to work.
    This breaks some apps that check for nvidia drivers using the filesystem instead of the api

  10. #10
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu 15.10 nVidia Driver Problem

    Moved, as it has nothing to do with Xenial.

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
  •