Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Utilizing nouveau's fb console driver and nvidia's blob
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Noncorporeal
n00b
n00b


Joined: 20 May 2010
Posts: 2
Location: Tampa Bay, Florida, USA

PostPosted: Thu May 20, 2010 9:59 pm    Post subject: Utilizing nouveau's fb console driver and nvidia's blob Reply with quote

I'm loooking for help to come up with a way to use nouveau's drivers for when I'm at the console, but if I need to fire up X, utilize the nvidia proprietary blob. I know it's not 'supported' but I've heard its not possible, and that doesn't make sense to me. I don't know everything there is to know about X, gentoo, nvidia's blob, or nouveau, so I conceit that I could easily be wrong. However, it seems to me that with eselect or a chroot, I should be able to accomplish what Im after.

I've read on nouveaus site that I can unload nouveau and it will switch back to vga text mode if my hardware supports it, so I see that as proof that I can remove the noveau modules. That seems like the smaller half of the battle.
The larger part I feel I'd need the most help with would be having both drivers exist on the same system. I see lib conflicts being an issue, and I'm not sure if Im right in thinking I can either a) crate a custom open-gl slot i can eselect back and forth bewteen, or b) chroot the whole xorg build, and only install the nvidia blob in the chroot.

If I'm right, which I have doubts about being, it's mesa and libdrm that need to change, and I think that can be handled by eselect opengl if I knew how to make my own slot. Would I need to create a private ebuild that somehow installed nvidia's proprietary drivers for me into it's own slot so symlinks can be handled by eselect, or can I somehow accomplish this by unpacking the blob somewhere and building it a directory structure i'd manually point symlinks too, or is this just a crazy idea that cannot work?

The only obstacle that would really make sense to me, aside from my lack of knowlege, would be anything I have to build into the kernel for nouveau to work that would prevent nvidias blob from working. Everything else seems like it should be easy to handle. just unload the nouveau module, load the nvidia one, switch mesa/drm libs, and fire up x.

Any ideas or help would be great. Even a positive 'IMPOSSIBLE" will save me from my currently none too promising scouring of the internet, but I really have a hard time believing that I can switch actively running kernels without a reboot, but cannot switch video drivers.

Thanks in advance, for either help or an explanation of what would prevent this from working.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri May 21, 2010 8:17 am    Post subject: Reply with quote

If you "heard it's possible" then go the that place you've heard it and ask. The only possibility I see is what you've already mentioned - unload nouveau and drm modules before starting X. Mesa and stuff isn't a problem, 'eselect opengl set xorg-x11' gives you nouveau, 'eselect opengl set nvidia' gives you the proprietary gl libs.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Fri May 21, 2010 12:33 pm    Post subject: Reply with quote

It is possible to unload nouveau by unbinding it from framebuffer console. The exact commands are described in http://nouveau.freedesktop.org/wiki/KernelModeSetting

While you are on the console, mesa is not used so you don't need to switch eselect opengl.
Back to top
View user's profile Send private message
Noncorporeal
n00b
n00b


Joined: 20 May 2010
Posts: 2
Location: Tampa Bay, Florida, USA

PostPosted: Sun May 23, 2010 4:07 am    Post subject: Reply with quote

Thanks for the help chithanh, I wasn't sure if any of the mesa stuff was used or not, or really what all was used by either driver. As I said, I'm a bit of a novice. Gusar, thanks to you as well, I appreciate the input. I thought I was on somewhat the right track thinking it was pretty simple, but I didn't want to try something that wouldn't work if I could just ask in a forum and get an educated answer. Notice that I heard it was _not_ possible. I didn't think going back to the people who said it wasn't would get me much farther than the first time.
Back to top
View user's profile Send private message
FaeLLe
n00b
n00b


Joined: 13 Aug 2007
Posts: 13
Location: London

PostPosted: Sun Jul 17, 2011 4:41 am    Post subject: Reply with quote

Noncorporeal wrote:
Thanks for the help chithanh, I wasn't sure if any of the mesa stuff was used or not, or really what all was used by either driver. As I said, I'm a bit of a novice. Gusar, thanks to you as well, I appreciate the input. I thought I was on somewhat the right track thinking it was pretty simple, but I didn't want to try something that wouldn't work if I could just ask in a forum and get an educated answer. Notice that I heard it was _not_ possible. I didn't think going back to the people who said it wasn't would get me much farther than the first time.


So did you manage to get this working mate?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum