[elrepo] Bumblebee on CentOS 6

Rob Mokkink rob at mokkinksystems.com
Sun May 27 03:33:37 EDT 2012


On 05/26/2012 08:20 PM, Earl Ramirez wrote:
>
>     Earl,
>
>     To get 3d functionality you need to use optirun.
>
>     Is the bbswitch module loaded?, you can check this with lsmod | grep
>     bbswitch
>
>     Is the bumblebeed service running?, you can check this with ps -ef |
>     grep bumble
>
>     What kind of vga card do you have, can you post the output of lspci |
>     grep -i vga
>
>     Kind regards,
>
>     Rob
>
>
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     <http://lists.elrepo.org/pipermail/elrepo/attachments/20120525/4b9cc6af/attachment-0001.html>
>
>     ------------------------------
>
>     _______________________________________________
>     elrepo mailing list
>     elrepo at lists.elrepo.org <mailto:elrepo at lists.elrepo.org>
>     http://lists.elrepo.org/mailman/listinfo/elrepo
>
>
>     End of elrepo Digest, Vol 35, Issue 23
>     **************************************
>
> Rob,
>
> Thanks for your time and all of your support.
>
> bbswitch module is loaded.
> lsmod | grep bbswitch
> bbswitch                5555  0
>
> bumblebee service is up and running
> ps -ef | grep bumble
> root      3774     1  0 13:44 ?        00:00:00 bumblebeed -D
> root      3795  3744  0 13:45 pts/0    00:00:00 grep bumble
>
> Below are the types of vga that are running on my laptop
> lspci | grep -i vga
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation 
> Core Processor Family Integrated Graphics Controller (rev 09)
> 01:00.0 VGA compatible controller: nVidia Corporation GF106 [GeForce 
> GT 555M] (rev ff)
>
> I have been doing some research and I found out that since I installed 
> CentOS on the laptop I with the basic drivers it added "nomodeset" as 
> the kernel argument, therefore it was always load the VESA driver with 
> 1280x1024 screen resolution. Once I removed "nomodeset" I get the 
> 1920x1080 resolution, however I am only getting the nouveau driver and 
> not nvidia drivers.
>
> Below is the what my grub.conf looks like and it will still load the 
> nouveau drivers. If I use the xorg.conf I will not boot into the GUI 
> as I will just get a blank screen.
>
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this 
> file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro 
> root=/dev/mapper/vg_wildfire-LogVol00 rdblacklist=nouveau vga=791
> #          initrd /initrd-[generic-]version.img
> #boot=/dev/sda
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.32-220.17.1.el6.x86_64)
>     root (hd0,0)
>     kernel /vmlinuz-2.6.32-220.17.1.el6.x86_64 ro 
> root=/dev/mapper/vg_wildfire-LogVol00 rd_NO_LUKS LANG=en_US.UTF-8 
> rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=128M 
> rd_LVM_LV=vg_wildfire/LogVol00  KEYBOARDTYPE=pc KEYTABLE=us 
> rd_LVM_LV=vg_wildfire/LogVol07 rd_NO_DM rdblacklist=nouveau vga=791 
> nouveau.modeset=0
>     initrd /initramfs-2.6.32-220.17.1.el6.x86_64.img
> title CentOS (2.6.32-220.el6.x86_64)
>     root (hd0,0)
>     kernel /vmlinuz-2.6.32-220.el6.x86_64 ro 
> root=/dev/mapper/vg_wildfire-LogVol00 rd_NO_LUKS LANG=en_US.UTF-8 
> rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=128M 
> rd_LVM_LV=vg_wildfire/LogVol00  KEYBOARDTYPE=pc KEYTABLE=us 
> rd_LVM_LV=vg_wildfire/LogVol07 rd_NO_DM rdblacklist=nouveau vga=791 
> nouveau.modeset=0
>     initrd /initramfs-2.6.32-220.el6.x86_64.img
>
> The nouveau driver is also blacklisted in the 
> /etc/modprobe.d/blacklist-nouveau.conf
>
> cat /etc/modprobe.d/blacklist-nouveau.conf
> # ELRepo.org (http://elrepo.org)
> # Blacklist file for the nouveau driver in el6
> # If the nouveau continues to load, run as root:
> # dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
>
> blacklist nouveau
>
> I have also uninstalled the nouveau driver but I am still booting into 
> the nouveau driver. The only why that I can completely blacklist the 
> nouveau driver is to use nomodeset to the kernel, however I will be 
> back to square one as I will get the VESA driver with 1280x1024 
> resolution.
>
> -- 
> Kind Regards
> Earl Ramirez
>
>
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
Earl,

I have these lines in grub.conf

nouveau.modeset=0 rdblacklist=nouveau

Did you also install the virtualgl package from: http://www.virtualgl.org/
I need to add this as a requirement to the package.

Kind regards,

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20120527/d967f11c/attachment.html>


More information about the elrepo mailing list