Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't install xorg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Tue Mar 12, 2013 5:29 pm    Post subject: can't install xorg Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 12, 2013 5:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Fri Mar 15, 2013 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Mar 15, 2013 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Sat Mar 16, 2013 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sat Mar 16, 2013 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Sun Mar 17, 2013 2:47 am    Post subject: Reply with quote

well that was encouraging, I just installed the Nvidia drivers and disabled the nouveau ones and everything is working correctly :D

thanks everyone
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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