View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Tue Mar 12, 2013 5:29 pm Post subject: can't install xorg |
|
|
I am following the wiki guide for installing xorg,
I'm stuck at installing drivers for my nvidia 9300m card
I started by following the nouveau guide on the wiki, and this issue came up:
https://forums.gentoo.org/viewtopic-t-953810-highlight-.html
then I went for the nvidia-drivers guide but I could not find an nvidia module using lsmod
I can't install xorg now
thanks in advance |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Tue Mar 12, 2013 5:54 pm Post subject: |
|
|
Code: | lspci
nano -w /etc/portage/package.mask
Add:
>sys-kernel/gentoo-sources-3.6.11-r1
(Save)
emerge gentoo-sources
emerge --depclean gentoo-sources:3.7
eselect kernel set gentoo-sources-3.6.11-r1
cd /usr/src/linux
make menuconfig
remove nouveau drivers
(Save)
make && make modules-install
emerge nvidia-drivers
nvidia-xconfig
modprobe nvidia
startx |
_________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Fri Mar 15, 2013 7:09 am Post subject: |
|
|
well thanks alot, I have been able to use nouveau after unmasking that version of gentoo sources, I'll go for the nouveu approach before i try the nvidia-drivers
Thanks alot |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Fri Mar 15, 2013 2:11 pm Post subject: |
|
|
That wasn't an unmask, it was a mask. Let me explain why. With nouveau, you will not get 3D support or hardware acceleration. The nvidia-drivers provide that acceleration, and in combination with uvesafb, you can have Kernel Mode Setting and a framebuffer splash. _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Sat Mar 16, 2013 6:34 pm Post subject: |
|
|
WOW, that is some excellent info, answered alot of never asked before questions, the problem is i read something about having to redownload the modules(or something like that) everytime I recompiled the kernel,
at the moment I have very few drivers working so I recompile the kernel on a daily basis, once I'm satisfied with my kernel I'll go for that approach
thanks alot |
|
Back to top |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Sat Mar 16, 2013 7:04 pm Post subject: |
|
|
blakdeath wrote: | WOW, that is some excellent info, answered alot of never asked before questions, the problem is i read something about having to redownload the modules(or something like that) everytime I recompiled the kernel,
at the moment I have very few drivers working so I recompile the kernel on a daily basis, once I'm satisfied with my kernel I'll go for that approach |
Do you mean 'reinstall' the modules?
This is the case when updating a kernel (eg. 3.8.2 --> 3.8.3) If you are just rebuilding the same kernel the modules will remain there, for example if you are using 3.8.3 & you have installed the nvidia-drivers & decide to rebuild 3.8.3 the nvidia modules will still be in /lib64/modules/3.8.3/video/nvidia.ko (or something similar in a 32bit install).
When upgrading kernel versions you do need to re-emerge the nvidia drivers again after you have selected (with eselect) and make && make modules_install your new kernel. If you are using portage 2.2+ you can run: # emerge -av @module-rebuild or if you are not using that you can emerge sys-kernel/module-rebuild and run that - Although I find it easier to just # emerge -1 nvidia-drivers since that is the only package for me which needs re-installing after each kernel upgrade. |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Sun Mar 17, 2013 2:47 am Post subject: |
|
|
well that was encouraging, I just installed the Nvidia drivers and disabled the nouveau ones and everything is working correctly
thanks everyone |
|
Back to top |
|
|
|