Find the answer to your Linux question:
Results 1 to 2 of 2
I have a laptop running CentOS 5.9 with switchable/hybrid graphics (Intel integrated and Nvidia). For now, have managed to successfully install Nvidia driver using NVIDIA-Linux-x86_64-331.20.run file from Nvidia website, but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Posts
    22

    Bumblebee for CentOS5/RHEL5


    I have a laptop running CentOS 5.9 with switchable/hybrid graphics (Intel integrated and Nvidia). For now, have managed to successfully install Nvidia driver using NVIDIA-Linux-x86_64-331.20.run file from Nvidia website, but failed to start xserver.

    To use both adapters I need to install Bumblebee, but there is no package available for x64_64 CentOS5 or RHEL5 and need to install Bumblebee manually from source following instruction:
    github.com/Bumblebee-Project/Bumblebee/wiki/Install-and-usage
    but don't know how to set the following paths

    ./configure CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia-current \
    CONF_LDPATH_NVIDIA=/usr/lib/nvidia-current:/usr/lib32/nvidia-current \
    CONF_MODPATH_NVIDIA=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules

    The nvidia directories/files located on the machine are:
    # locate nvidia
    /lib/modules/2.6.18-348.el5/kernel/drivers/video/nvidia
    /lib/modules/2.6.18-348.el5/kernel/drivers/video/nvidia/nvidiafb.ko
    /usr/share/hal/fdi/information/10freedesktop/21-video-quirk-pm-el5-nvidia.fdi
    /usr/src/kernels/2.6.18-348.el5-x86_64/drivers/video/nvidia
    /usr/src/kernels/2.6.18-348.el5-x86_64/drivers/video/nvidia/Makefile
    /usr/src/kernels/2.6.18-348.el5-x86_64/include/config/fb/nvidia
    /usr/src/kernels/2.6.18-348.el5-x86_64/include/config/fb/nvidia.h
    /usr/src/kernels/2.6.18-348.el5-x86_64/include/config/fb/nvidia/i2c.h

    Can anyone please help?

  2. #2
    Just Joined!
    Join Date
    Apr 2014
    Location
    Dublin
    Posts
    9
    old post, but perhaps someone could benefit from it anyway.

    the paths you are want to set up looks like environment variables to be set up. this is done with 'export' command and should look like below for all these paths:
    #export CONF_DRIVER=nvidia
    #export CONF_DRIVER_MODULE_NVIDIA="nvidia-current \"
    #export CONF_LDPATH_NVIDIA="/usr/lib/nvidia-current:/usr/lib32/nvidia-current \"
    #export CONF_MODPATH_NVIDIA=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules

    notice that where there is whitespace, I used " (quotation marks). you should verify if '\' should be there - it doesnt make sense for me, so if the above will not work, remove \ and ".
    also the last env.variable has coma (,) between two files. I am not sure if coma would split the files related to just one env.variable. if it is not accepted by shell then split those two files - e.g.
    #export CONF_MODPATH_NVIDIA=/usr/lib/nvidia-current/xorg and
    #export CONF_MODPATH_NVIDIA=/usr/lib/xorg/modules

    perhaps someone more experienced could confirm if it is correct approach (with comas separating various files belonging to just one env.variable).

    take care

Posting Permissions

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