Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Little help with bumblebee

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
radubogdan
n00b
n00b
Posts: 15
Joined: Fri Sep 14, 2012 8:54 pm

Little help with bumblebee

  • Quote

Post by radubogdan » Sat Jan 19, 2013 9:51 am

I have installed

Code: Select all

bumblebee-3.0.1-r1  USE="bbswitch" VIDEO_CARDS="nvidia -nouveau"
nvidia-drivers-304.64  USE="X acpi (multilib) tools -pax_kernel"

Code: Select all

# /etc/init.d/vgl start && /etc/init.d/bumblebee start
 * Starting VirtualGL ...                                                                 [ ok ]
 * Starting BumbleBee Daemon ...                                                          [ ok ]

This i my bumblebee.conf: http://pastebin.com/DkaPaP3f
This i my xorg.conf.nvidia: http://pastebin.com/a6787MB7

The problem is when i try to run optirun glxspheres, there is 5-6 seconds delay, i can see the glxspheres window for <1s and then disappear. I also get this

Code: Select all

# optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 0x301)
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  72 (X_PutImage)
  Serial number of failed request:  33
  Current serial number in output stream:  49
I think is easy to fix but i can't see it. Please help me

edit: and foud this in dmesg

Code: Select all

pci 0000:01:00.0: Refused to change power state, currently in D0
pci 0000:01:00.0: power state changed by ACPI to D3
Top
megaflow
n00b
n00b
User avatar
Posts: 60
Joined: Fri Mar 11, 2005 10:23 am
Location: Maasmechelen

  • Quote

Post by megaflow » Sat Jan 19, 2013 11:10 pm

dit u set opengl to nvidia or intel ?

Code: Select all

eselect opengl list
u also need to rebuild the nvidia-driver and =sys-power/bbswitch-0.5 afer a new kernel

my intel and mesa use flags looks like this

x11-drivers/xf86-video-intel-2.20.18 [topic=]USE="dri sna udev -glamor -uxa -xvmc[/topic]
media-libs/mesa-9.0.1 [topic=]USE="classic egl g3dvl gallium llvm nptl osmesa shared-glapi vdpau xorg VIDEO_CARDS="intel"[/topic]
----------------------------
Dell System XPS L702X/0XN71K,Intel(R) Core(TM) i7-2720QM
Top
radubogdan
n00b
n00b
Posts: 15
Joined: Fri Sep 14, 2012 8:54 pm

  • Quote

Post by radubogdan » Sun Jan 20, 2013 8:37 am

I set nvidia to eselect opengl and now it works, but i have a very very very bad result:

Code: Select all

optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
55.405399 frames/sec - 49.465940 Mpixels/sec
50.499717 frames/sec - 45.086147 Mpixels/sec
54.361255 frames/sec - 48.533729 Mpixels/sec
38.188157 frames/sec - 33.421402 Mpixels/sec
59.456495 frames/sec - 47.172486 Mpixels/sec
56.426781 frames/sec - 44.768726 Mpixels/sec
Also i have erased options bbswitch load_state=-1 unload_state=-1 from /etc/modprobe.d/bbswitch, no that file is empty
Top
megaflow
n00b
n00b
User avatar
Posts: 60
Joined: Fri Mar 11, 2005 10:23 am
Location: Maasmechelen

  • Quote

Post by megaflow » Sun Jan 20, 2013 10:23 am

sorry whas not clear on the opengl part i have xorg-x11 as default

but yours bumblebee.conf is not corect

# colon-separated path to the nvidia libraries
LibraryPath=

and
# default Xorg modules path
XorgModulePath=

looks in my config like this

# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib64/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib

# default Xorg modules path
XorgModulePath=/usr/lib64/opengl/nvidia/lib,/usr/lib64/opengl/nvidia/extensions,/usr/lib64/xorg/modules/drivers,/usr/lib64/xorg/modules
----------------------------
Dell System XPS L702X/0XN71K,Intel(R) Core(TM) i7-2720QM
Top
radubogdan
n00b
n00b
Posts: 15
Joined: Fri Sep 14, 2012 8:54 pm

  • Quote

Post by radubogdan » Sun Jan 20, 2013 11:15 am

it works like u said, but i don't think this is good for my card:

Code: Select all

OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
57.322871 frames/sec - 46.699797 Mpixels/sec
57.378357 frames/sec - 46.745000 Mpixels/sec
57.982188 frames/sec - 47.236929 Mpixels/sec
34.461778 frames/sec - 27.601639 Mpixels/sec
I remember that i should have >150 frames/sec
Top
megaflow
n00b
n00b
User avatar
Posts: 60
Joined: Fri Mar 11, 2005 10:23 am
Location: Maasmechelen

  • Quote

Post by megaflow » Sun Jan 20, 2013 12:15 pm

dit u edit bumblebee.conf ?
----------------------------
Dell System XPS L702X/0XN71K,Intel(R) Core(TM) i7-2720QM
Top
radubogdan
n00b
n00b
Posts: 15
Joined: Fri Sep 14, 2012 8:54 pm

  • Quote

Post by radubogdan » Sun Jan 20, 2013 12:28 pm

Yes, like u said
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib64/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib

# default Xorg modules path
XorgModulePath=/usr/lib64/opengl/nvidia/lib,/usr/lib64/opengl/nvidia/extensions,/usr/lib64/xorg/modules/drivers,/usr/lib64/xorg/modules
Top
megaflow
n00b
n00b
User avatar
Posts: 60
Joined: Fri Mar 11, 2005 10:23 am
Location: Maasmechelen

  • Quote

Post by megaflow » Sun Jan 20, 2013 6:53 pm

dit u restart X and bumblebee. or reboot ?
----------------------------
Dell System XPS L702X/0XN71K,Intel(R) Core(TM) i7-2720QM
Top
radubogdan
n00b
n00b
Posts: 15
Joined: Fri Sep 14, 2012 8:54 pm

  • Quote

Post by radubogdan » Sun Jan 20, 2013 8:07 pm

megaflow wrote:dit u restart X and bumblebee. or reboot ?
of course
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic