LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 03-27-2016, 03:20 PM   #1
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: Devuan, while feeble. Bedrock, when awesome.
Posts: 188

Rep: Reputation: 61
nvidia triple on funtoo and void bedrock - beat procrastination


i've been procrastinating(+distractions+impediments) on this a lot...

so i should at least try to work out what it is i'm doing.

not even sure what my question is going to be.

hopefully i'll work that out clearer as i work through this process of finding out what i already know, and what i need to know; what i've done, and what i need to do.

situation:

bedrock linux 1.0beta2
- (strata) voidlinux. ~hijacked~
- (strata) funtoo linux.

the funtoo previously failed hijack, bedrock stuff removed, copied partition into a stratum into hijacked void bedrocklinux

funtoo did have triple monitor configured correctly (at least prior to hijack.)

have not managed to boot into funtoo kernel (using the old debian sources binary kernel they provide for ease), whilst in bedrock.

have not managed to get gui in void.

i /think/ the situation is i just need to get the nvidia stuff associated with the kernel i do use into all the strata that will use it. ... something like that. though i dont know what those things are, or where they're supposed to go. but then the question is, do i go for trying to get the funtoo (debian) kernel booting, or do i try to get the nvidia stuff on the go with the void kernels that do boot?

stable (less disruptive) route preferred. ~dislike meddling with nvidia stuff. or kernel stuff, or init stuff, for that matter.

*scratches head*

ok... besides thinking of another stratum to add...
i know i can get this working with the parts already installed (and adding another stratum just moves the same problem onto it).

i'll have another read of http://bedrocklinux.org/1.0beta2/tro...nvidia-drivers before i proceed with anything.


ok, so from that, i need to:

A) get the kernel module in /lib/modules

B) get the userland component into
(1) the stratum that provides xorg
(2) other strata which you would like to have graphics acceleration

C) Since uniformity is desired here, use the official Nvidia Linux drivers from the Nvidia website

D) echo "blacklist nouveau" >> /etc/modprobe.d/blacklist

E) If initrd loads nouveau, add "rdblacklist=nouveau" to bootloader's kernel line.

F) to keep installer/make on correct strat/components: export PATH=/usr/sbin:/usr/bin:/sbin:/bin

G) install the proprietary driver module in the stratum that provides the kernel (so the versions match), by doing one of the following:

(i) Using the official proprietary nvidia driver with the -K option to install only the kernel.
(ii) Using the official proprietary nvidia driver without the --no-kernel-module option so that it installs both the userland and, importantly, the kernel module.

H) For each strata wanting xorg acceleration, install the userland component by running the Nvidia proprietary driver installer with the --no-kernel-module option (since you already installed the kernel module) and the --no-check-for-alternate-installs option (to avoid blowing away nvidia driver installs in other strata)

I) You are then free to start and use xorg with GPU acceleration.



oh, right, A & B are just general, and explained/walked-through as it continues.
C, D & E i recall doing, though for C, concerned i have no idea if the right version that will work.

Prepped with F, G is where the action starts.

H may be necessary if getting xorg from alternative strata.


ok, not entirely sure i'm any clearer on what i'm doing, but perhaps now next time i stop procrastinating, i will be able to refer to this and get back to using my big rig with the triple monitor and fancy ergonomics, rather than breaking my spine on this laptop. ha.

not too sure how much of that i got right when i tried to get through it the last time, n what state the machine is currently in... procrastinating. partly due to uncertainty/complexity intimidation.

i'll be back. ^_^

(was there a question in there? i'm not sure. that can be my question. is there a question in this thread?)

(P.S.
another aspect of the procrastination is that my monitors are on their side. ... tty at 90 degrees angle is no fun). (~ok, i think i've covered enough of my excuses now) [edit-- failed excuses. i ssh into it.]

(PPS-EDITEDIN-UPDATES (cos, y'know, scatterbrain artist...)
- debian kernel panics upon boot attempt, that's right. i knew i'd meddled it to death. will investigate what i did wrong in manually editing its boot entry later
- xorg log from after straight startx in void's kernel 4.3.5_2 with the "jackvoid" init option selected (3): /var/log/Xorg.log.0 (which says some gentoo build stuff at the top ("Build Operating System: Linux 3.19.3-1~exp1 x86_64 Gentoo")... brw startx says "jackvoid (direct)", so, not sure what that's about... some reminant from my attempt to copy the working config over... could there have been some syntax change that scuppered my prior efforts?)
- and that's about as much as i can do in one sitting these days before both my head and body implode. ... glad the forum's here now. no more of my forgetful bilge in irc.... now just my verbose bilge in threads, forevaaaaaaaa.)
- Mon 4 Apr 14:17:44 BST 2016, still procrastinating after attempts brought back to same situation, with xorg output/log not elucidating. reconsidering the new-strata solution, remembering of all distros tried in the past, sabayon and nvidia played together the best, and might add a manjaro too, just for the sake of it. see if i can easy-street bedrocky my way through past my procrastination at tackling head scratcher stuff that tests the outter edge of my skill, aptitude & experience. ... yes i know we dont have brg yet, but at this stage, adding some strata seems like a better chance of getting it working. because for all i know, could be i just dont get nvidia n void working anyway, so i should sorta test that n install a void on that machine in solo (no bedrock) partition of its own, see if i can get xorg to start then. and maybe start with one monitor n work up, since the funtoo kernel segfaults in bedrock, i should consider its "working triple monitor config" bunkum (was going to say void, but that'd be confusing), and start from 1. yup. ok. my new plan... two tests. 1: single monitor on bedrock{jackvoid:funtoo} system as is, 2: single voidlinux on own partition, (1to3 monitor). now lets see how long i procrastinate on that.
- )

Last edited by Siljrath; 04-04-2016 at 08:37 AM. Reason: small cleanups, & update
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] bedrock not using brsh.conf, dropped to bedrock's /bin/sh Siljrath Linux - Distributions 2 08-25-2014 05:47 AM
After 5 years procrastination, finally Fedora 18 on a DELL INSPIRON 1520 Doug Huffman LinuxQuestions.org Member Intro 1 03-04-2013 06:50 PM
LXer: Nouveau Can Beat NVIDIA With Cairo In Select Cases LXer Syndicated Linux News 0 01-23-2013 03:40 AM
(void)time(&cur_time); Why did the author put (void) here? e3399 Programming 3 03-28-2011 11:45 AM
triple buffer on Nvidia knobby67 Linux - Software 1 01-01-2008 07:25 AM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration