Results 1 to 4 of 4

Thread: primusrun not working after flawless bumblebee installation

  1. #1

    Question primusrun not working after flawless bumblebee installation

    Hi Community,

    I just installed bumblebee for a Geforce 325m graphics card using the proprietary driver (340.96).

    Then I wanted to use primusrun to start steam, which resulted in the folliwing output:

    [~] λ primusrun steam
    Running Steam on opensuse 42.1 64-bit
    STEAM_RUNTIME is enabled automatically
    Installing breakpad exception handler for appid(steam)/version(1465948400)
    primus: fatal: failed to load any of the libraries: /usr/$LIB/nvidia/libGL.so.1
    libnvidia-tls.so.340.96: falsche ELF-Klasse: ELFCLASS64
    [2016-06-30 12:29:00] Startup - updater built Jun 14 2016 23:23:08

    I was able to start steam using optirun but it crashed after a short amount of time.

    What do I need to do to get primus working?

    Cheers

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: primusrun not working after flawless bumblebee installation

    Reading from SDB:NVIDIA Bumblebee:
    Running Steam

    Steam requires usage of a newer command line tool called "primusrun".
    NOTE: You absolutely must have installed nvidia-bumblebee-32bit for this to work.
    So the root cause is clear: you need the 32 bit GL libraries to run a 32 bit application like Steam.
    Unfortunately, I never used Steam and I don't know how to install the 32 bit stuff with the 340.96 driver.
    There should be a way running the /usr/src/NVIDIA-Linux-x86_64-340.96.run with appropriate options, but I never did that and cannot help you any further.
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  3. #3

    Default Re: primusrun not working after flawless bumblebee installation

    I already have the required libraries I believe:


    [~] λ readelf -h /usr/src/NVIDIA-Linux-x86_64-340.96/32/libGL.so.340.96
    ELF Header:
    Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
    Class: ELF32
    Data: 2's complement, little endian
    Version: 1 (current)
    OS/ABI: UNIX - System V
    ABI Version: 0
    Type: DYN (Shared object file)
    Machine: Intel 80386
    Version: 0x1
    Entry point address: 0x47f90
    Start of program headers: 52 (bytes into file)
    Start of section headers: 1074536 (bytes into file)
    Flags: 0x0
    Size of this header: 52 (bytes)
    Size of program headers: 32 (bytes)
    Number of program headers: 4
    Size of section headers: 40 (bytes)
    Number of section headers: 15
    Section header string table index: 14

    I think it is more a matter of steam/primus not finding them.

    Cheers

  4. #4
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: primusrun not working after flawless bumblebee installation

    Quote Originally Posted by gargamel98 View Post
    I already have the required libraries I believe:
    <<<<snip>>>>>
    I think it is more a matter of steam/primus not finding them.

    Cheers
    Exactly, they are NOT INSTALLED.
    IMHO you must figure out what the nvidia-bumblebee-32bit package does to install the 32bit libraries and then do the same using the nvidia-installer with appropriate options.
    Please check:
    Code:
    ./usr/src/NVIDIA-Linux-x86_64-340.96/nvidia-installer -A
    to see available options.
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

Tags for this Thread

Posting Permissions

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