rare problem changing between nvidia and nouveau [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

rare problem changing between nvidia and nouveau [Solved]

Postby erizo » Fri Dec 14, 2012 21:12

Hi!. I've just installed sabayon in my PC and everything was fine.
I wanted to uninstall nvidia privative drivers and install nouveau and I had some troubles:
1) I couldn't load nouveau automatically so the system doesn't start X. I have to run nouveau manually and then startx run mate.
2) There is much rare things. For example, I lost "shutdown" button after change nvidia by nouveau and I cant start the display manager (by the way, I don't know which is the display manager in sabayon mate)

It's rare, I don't know what is de relation between nouveau and de permission of shutting down.

Thanks everybody for de help
Last edited by erizo on Fri Dec 14, 2012 23:41, edited 1 time in total.
erizo
Baby Hen
 
Posts: 12
Joined: Tue Jan 31, 2012 3:37

Re: rare problem changing between nvidia and nouveau

Postby nachoig » Fri Dec 14, 2012 23:02

Execute these commands:

Code: Select all
su

Code: Select all
eselect opengl set xorg-x11

Code: Select all
nano /etc/modprobe.d/blacklist.conf


Change these lines from:
Code: Select all
# keep nvidia-drivers working, sorry nouveau
blacklist nouveau


To:

Code: Select all
# keep nvidia-drivers working, sorry nouveau
# blacklist nouveau


Ctrl + O to save the changes and Ctrl + X to go out.

Restart the computer.
nachoig
Simple Hen
 
Posts: 68
Joined: Thu Oct 04, 2012 20:19

Re: rare problem changing between nvidia and nouveau

Postby erizo » Fri Dec 14, 2012 23:24

success!! I've solved the problem.
I just have a question: Why this problem appear?. Why nouveau make problems in display manager and with shutdown processes?
erizo
Baby Hen
 
Posts: 12
Joined: Tue Jan 31, 2012 3:37

Re: rare problem changing between nvidia and nouveau [Solve

Postby nachoig » Sat Dec 15, 2012 3:56

The problem isn't with Nouveau. This occurred because you started X or the display manager (probably MDM) as root.
The line "blacklist nouveau" avoids nouveau being loaded with the system. No video drivers loaded, no X. The # (I don't know the name of this symbol in english) disabled this line.
nachoig
Simple Hen
 
Posts: 68
Joined: Thu Oct 04, 2012 20:19

Re: rare problem changing between nvidia and nouveau [Solve

Postby erizo » Sat Dec 15, 2012 5:38

Ok, I have another question (sorry...):
I read in internet tha my video card has problem with the last nvidia drivers (I know, I have nouveau now, but I want to know).
How can I do to install the old drivers and tell sabayon that don't upgrade these package?
I tried (before installing nouveau) to use /etc/portage/package.mask as installation process recomended me but no luck. I copy the line:

* ***** WARNING *****
*
* You are currently installing a version of nvidia-drivers that is
* known not to work with a video card you have installed on your
* system. If this is intentional, please ignore this. If it is not
* please perform the following steps:
*
* Add the following mask entry to /etc/portage/package.mask by
* echo ">=x11-drivers/nvidia-drivers-305.0.0" >> /etc/portage/package.mask
*
* Failure to perform the steps above could result in a non-working
* X setup.
*
* For more information please read:
* http://www.nvidia.com/object/IO_32667.html
* QA Notice: ebeep is not defined in EAPI=4, please file a bug at http://bugs.gentoo.org



but echo">...." doesn't effect and equo install nvidia-drivers (and emerge nvidia-drivers) follow trying to install the last version.
Thanks for the reply!
erizo
Baby Hen
 
Posts: 12
Joined: Tue Jan 31, 2012 3:37

Re: rare problem changing between nvidia and nouveau [Solve

Postby Fitzcarraldo » Sat Dec 15, 2012 6:02

As you're using the Entropy package manager, not the Portage package manager, masking a package in Portage will have no effect. You need to use Entropy. For example, you would need to do the following if you wanted to stop Entropy installing any version greater than 305.0.0 of nvidia-drivers and nvidia-userspace:

Code: Select all
$ su
Password: <--- Enter the root user's password here, not yours.
# echo ">x11-drivers/nvidia-drivers-305.0.0" >> /etc/entropy/packages/package.mask
# echo ">x11-drivers/nvidia-userspace-305.0.0" >> /etc/entropy/packages/package.mask
# exit
exit
$
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: rare problem changing between nvidia and nouveau [Solve

Postby sabayonino » Sun Dec 16, 2012 12:44

Fitzcarraldo wrote:As you're using the Entropy package manager, not the Portage package manager, masking a package in Portage will have no effect. You need to use Entropy. For example, you would need to do the following if you wanted to stop Entropy installing any version greater than 305.0.0 of nvidia-drivers and nvidia-userspace:

Code: Select all
$ su
Password: <--- Enter the root user's password here, not yours.
# echo ">x11-drivers/nvidia-drivers-305.0.0" >> /etc/entropy/packages/package.mask
# echo ">x11-drivers/nvidia-userspace-305.0.0" >> /etc/entropy/packages/package.mask
# exit
exit
$


nvidia-drivers-305.0.0 package doesn'tt exist (you meant linux-sabayon kernel ? )

Code: Select all
# equo mask x11-drivers/nvidia-drivers-310.19#3.5.0-sabayon
>>  ## [M] x11-drivers/nvidia-drivers-310.19#3.5.0-sabayon
>>     -> x11-drivers/nvidia-drivers-310.19#3.5.0-sabayon
>> Have a nice day.


see /etc/entropy/packages/package.mask.example
# package.mask example file
#
# In this file you can specify dependencies, one per line, that you would like to mask.

# LINE CONSTRUCTION:
# <dependency to match>
# See examples below
# NOTE: for inline comments, please use "##" instead of "#"

# EXAMPLES:
# >=media-libs/foo-1.2.3
# media-libs/foo
# <media-libs/foo-1.2.3
# media-libs/foo:1
# >=media-libs/foo-1.2.3#2.6.23-sabayon-r1
# media-libs/foo::sabayon-repo
#
# :1 means package with SLOT="1"
# #2.6.23-sabayon-r1 means package with kernel tag = 2.6.23-sabayon-r1
User avatar
sabayonino
Sagely Hen
 
Posts: 1602
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: rare problem changing between nvidia and nouveau [Solve

Postby erizo » Mon Dec 17, 2012 2:49

Thanks everybody. I can't solve all these problems.
erizo
Baby Hen
 
Posts: 12
Joined: Tue Jan 31, 2012 3:37


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 3 guests