Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up xorg nvidia
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gen3Hunna
n00b
n00b


Joined: 31 Dec 2018
Posts: 27

PostPosted: Thu Jan 03, 2019 4:05 am    Post subject: Setting up xorg nvidia Reply with quote

Hello. I recompiled my kernel according to the instructions in the wiki for NVidia/nvidia-drivers wiki article. I then restarted, amazed that my newly-configured kernel worked. I followed the instructions to set up Xorg, I got as far as emerge --ask x11-base/xorg-drivers and that went fine until the end when it started to work with the Nvidia component. I saved a log file but I'm on links and I don't know how to share that here (only CLI right now)

Any help appreciated.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7093
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 03, 2019 4:08 am    Post subject: Reply with quote

The tool for this is wgetpaste.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Gen3Hunna
n00b
n00b


Joined: 31 Dec 2018
Posts: 27

PostPosted: Thu Jan 03, 2019 4:39 am    Post subject: Reply with quote

https://paste.pound-python.org/show/4qnbR83dfrdcKsGp3sKG/
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 982
Location: The Holy city of Honolulu

PostPosted: Thu Jan 03, 2019 4:48 am    Post subject: Reply with quote

Code:
emerge nvidia-drivers


And in your /etc/portage/make.conf, be sure to add this line

Code:
emerge nvidia-drivers


Double check :

Code:
eselct opengl list

_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Gen3Hunna
n00b
n00b


Joined: 31 Dec 2018
Posts: 27

PostPosted: Thu Jan 03, 2019 4:55 am    Post subject: Reply with quote

Same result as before: https://imgur.com/a/389bLIZ

Well imgur looks like it compressed that to hell. Nvm.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 982
Location: The Holy city of Honolulu

PostPosted: Thu Jan 03, 2019 5:02 am    Post subject: Reply with quote

Is that the latest kernel in your portage? 4.14.83?

Gen3Hunna wrote:
Same result as before: https://imgur.com/a/389bLIZ

Well imgur looks like it compressed that to hell. Nvm.


It's legible. No worries ;)

{EDIT}

Pax seems to be your problem.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.


Last edited by Muso on Thu Jan 03, 2019 5:05 am; edited 1 time in total
Back to top
View user's profile Send private message
Gen3Hunna
n00b
n00b


Joined: 31 Dec 2018
Posts: 27

PostPosted: Thu Jan 03, 2019 5:05 am    Post subject: Reply with quote

It very well may be the latest Kernel, this installation is very new.

edit: yeah I just checked /usr/src/linux and that's the version I'm on


Last edited by Gen3Hunna on Thu Jan 03, 2019 5:06 am; edited 1 time in total
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 982
Location: The Holy city of Honolulu

PostPosted: Thu Jan 03, 2019 5:06 am    Post subject: Reply with quote

Pax seems to be the issue.

Check this thread.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Gen3Hunna
n00b
n00b


Joined: 31 Dec 2018
Posts: 27

PostPosted: Thu Jan 03, 2019 5:11 am    Post subject: Reply with quote

Does that mean I have to use genkernel if I want to use Nvidia's proprietary drivers?
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 982
Location: The Holy city of Honolulu

PostPosted: Thu Jan 03, 2019 5:12 am    Post subject: Reply with quote

Gen3Hunna wrote:
Does that mean I have to use genkernel if I want to use Nvidia's proprietary drivers?


Dear God, no.

Just get rid of pax.

Try setting your profile to standard desktop profile.
Code:
eselect profile set 16

_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Gen3Hunna
n00b
n00b


Joined: 31 Dec 2018
Posts: 27

PostPosted: Thu Jan 03, 2019 5:19 am    Post subject: Reply with quote

Oh my god it's compiling! Haha I can't believe it. I'm still getting my head around these USE-flags. I just watched a 45 minute video on portage's make.conf and only then did I even feel remotely ready to try and install x.

It's crazy that all I have to do is change the make.conf file and it works... but I like it.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 982
Location: The Holy city of Honolulu

PostPosted: Thu Jan 03, 2019 5:21 am    Post subject: Reply with quote

Welcome to Gentoo 8)
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Gen3Hunna
n00b
n00b


Joined: 31 Dec 2018
Posts: 27

PostPosted: Thu Jan 03, 2019 5:43 am    Post subject: Reply with quote

Wow I just got Window Maker set up and this is sexy AF. Thanks so much for your help, I'm honestly amazed I got this working. Ironically, all things considered, it worked out way smoother and easier than getting my Nvidia card has been in some binary distros.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 982
Location: The Holy city of Honolulu

PostPosted: Thu Jan 03, 2019 5:52 am    Post subject: Reply with quote

Gen3Hunna wrote:
Wow I just got Window Maker set up and this is sexy AF. Thanks so much for your help, I'm honestly amazed I got this working. Ironically, all things considered, it worked out way smoother and easier than getting my Nvidia card has been in some binary distros.


You're welcome.

Gentoo is a very beautiful system. The flexibility it affords is second to none.

Once you get everything sorted, run :

Code:
emerge --sync


Followed by :

Code:
emerge -uUD --ask --newuse --keep-going --with-bdeps=y @world


This will keep you up to date. When you have to do changes to /etc. run :

Code:
etc-update


Take your time through this... read the options carefully and before committing, double check with a web search.

For kernels, here's my system (also using nvidia & UEFI) [YMMV] :
Code:
cp /usr/src/linux/.config ~/kernel-config-`uname -r`
eselect kernel list
eselect kernel set 2
mount /boot
cd /usr/src/linux
zcat /proc/config.gz > /usr/src/linux/.config
make syncconfig
make -j9 && make modules_install
make install
grub-mkconfig -o /boot/grub/grub.cfg
emerge @module-rebuild
umount /boot
reboot


(The make syncconfig step should be replaced with make oldconfig for older kernels, also adjust the -j for the number of cores you have)

Also, after updates, run :
Code:
emerge --depclean


However, if you have a new kernel, only do this after reboot.

And finally... run :
Code:
revdep-rebuild


To ensure system sanity.

Happy computing.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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