Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Neil Bothwick
On Fri, 22 Feb 2013 23:21:02 -0700, Joseph wrote:

 Got it. I change it to:
 tmpfs /var/tmp/portagedevtmpfs
 size=1512M,nr_inodes=1M 0 0

Why are you using devtmpfs? You should be using tmpfs for this, which
defaults to half your available RAM. devtmpfs is a special option
for early-boot /dev only.


-- 
Neil Bothwick

Deja Moo: The feeling that you heard this bull somewhere before.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Nvidia driver - blank screen not even console display

2013-02-23 Thread Neil Bothwick
On Sat, 23 Feb 2013 00:32:15 -0700, Joseph wrote:

 I'm starting to have serious doubts in Nvidia (those binary drivers are
 piece of crap). My system just freeze after one day; I went back to
 nvidia-dirvers-295.75

Have you tried the nouveau drivers? The 3D may not be as fast but the
kernel incompatibilities disappear.


-- 
Neil Bothwick

Crash: (v.) to terminate a program in the usual fashion, i.e. by locking
up the computer or setting fire to the printer. (n.) the process of such
termination.


signature.asc
Description: PGP signature


[gentoo-user] help

2013-02-23 Thread Dan Hunter




Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Volker Armin Hemmann
Am 23.02.2013 07:05, schrieb Joseph:
 On 02/23/13 11:08, Nilesh Govindrajan wrote:
 On Saturday 23 February 2013 10:30:04 AM IST, Joseph wrote:
 I'm trying to update one of my system and running:
 emerge -uDNavq world
 I get a very strange message: No space left on device'

 I have plenty of room left on the HD
 df -h
 Filesystem  Size  Used Avail Use% Mounted on
 rootfs   50G   13G   35G  27% /
 /dev/root50G   13G   35G  27% /
 tmpfs   3.7G  668K  3.7G   1% /run
 udev 10M  4.6M  5.5M  46% /dev
 shm 3.7G 0  3.7G   0% /dev/shm
 cgroup_root  10M 0   10M   0% /sys/fs/cgroup
 /dev/sda4   530G  119G  385G  24% /home
 tmpfs10M  4.6M  5.5M  46% /var/tmp/portage

 df -i
 Filesystem   Inodes  IUsedIFree IUse% Mounted on
 rootfs  3278576 829078  2449498   26% /
 /dev/root   3278576 829078  2449498   26% /
 tmpfs957692535   9571571% /run
 udev 949264990   9482741% /dev
 shm  957692  1   9576911% /dev/shm
 cgroup_root  957692  6   9576861% /sys/fs/cgroup
 /dev/sda4  35266560  33051 352335091% /home
 tmpfs949264990   9482741% /var/tmp/portage

 So, why I'm getting this message?


 Your /var/tmp/portage is 10 MB! Increase that.

 -- 
 Nilesh Govindarajan
 http://nileshgr.com

 How do I increase it?
 I deleted all the file in /var/tmp/portage but after reboot the system
 populate it again.
 In fstab I have two entries:
 ...
 shm/dev/shmdevtmpfsnodev,nosuid,noexec0 0
 tmpfs /var/tmp/portage devtmpfsdefaults  0 0

 should I just comment them out?


no,

you should change it to this:
tmpfs   /var/tmp/portage tmpfs  rw,size=8G  0 0

play around with size. Usually 2GB is more than enough. Except for
libreoffice.
Then umount /var/tmp/portage and mount it again.





Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Volker Armin Hemmann
Am 23.02.2013 09:52, schrieb Neil Bothwick:
 On Fri, 22 Feb 2013 23:21:02 -0700, Joseph wrote:

 Got it. I change it to:
 tmpfs/var/tmp/portagedevtmpfs
 size=1512M,nr_inodes=1M 0 0
 Why are you using devtmpfs? You should be using tmpfs for this, which
 defaults to half your available RAM. devtmpfs is a special option
 for early-boot /dev only.


which is why he got 10mb size...

good catch.



Re: [gentoo-user] help

2013-02-23 Thread Volker Armin Hemmann
Am 23.02.2013 10:28, schrieb Dan Hunter:


no



Re: [gentoo-user] help

2013-02-23 Thread Dale
Volker Armin Hemmann wrote:
 Am 23.02.2013 10:28, schrieb Dan Hunter:

 no



Double no.  Next he will try the unsubscribe in the subject line angle
with little success there either.  Then someone will post the nice long
reply about the unsubscribe kit and all its options.  I find that one
funny tho so I usually read it.  o_O

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] help

2013-02-23 Thread Dan Hunter
On 02/23/13 17:07, Dale wrote:
 Volker Armin Hemmann wrote:
 Am 23.02.2013 10:28, schrieb Dan Hunter:
 no


 Double no.  Next he will try the unsubscribe in the subject line angle
 with little success there either.  Then someone will post the nice long
 reply about the unsubscribe kit and all its options.  I find that one
 funny tho so I usually read it.  o_O

 Dale

 :-)  :-)

sorry expected robot reply
just want to knowurl ofthis lists. Is available http-version of gentoo lists?


Re: [gentoo-user] help

2013-02-23 Thread Volker Armin Hemmann
Am 23.02.2013 14:27, schrieb Dan Hunter:
 On 02/23/13 17:07, Dale wrote:
 Volker Armin Hemmann wrote:
 Am 23.02.2013 10:28, schrieb Dan Hunter:
 no


 Double no.  Next he will try the unsubscribe in the subject line angle
 with little success there either.  Then someone will post the nice long
 reply about the unsubscribe kit and all its options.  I find that one
 funny tho so I usually read it.  o_O

 Dale

 :-)  :-)

 sorry expected robot reply
 just want to knowurl ofthis lists. Is available http-version of gentoo lists?


look into the header of the mails your received. List-help for example.

There are many email-archives carrying this list. google is your friend.




Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Joseph

On 02/23/13 08:52, Neil Bothwick wrote:

On Fri, 22 Feb 2013 23:21:02 -0700, Joseph wrote:


Got it. I change it to:
tmpfs   /var/tmp/portagedevtmpfs
size=1512M,nr_inodes=1M 0 0


Why are you using devtmpfs? You should be using tmpfs for this, which
defaults to half your available RAM. devtmpfs is a special option
for early-boot /dev only.


--
Neil Bothwick


I was following the instruction from recent udev upgrade: Upgrading udev from 
171 (or older) to 197

copy
- The need of CONFIG_DEVTMPFS=y in the kernel; need to verify the fstype for
  possible /dev line in /etc/fstab is devtmpfs (and not, for example, tmpfs)
---end coopy

So I change both lines in fstab:
shm /dev/shmdevtmpfsnodev,nosuid,noexec  0 0
tmpfs   /var/tmp/portagedevtmpfssize=2048M,nr_inodes=1M 
 0 0

--
Joseph



[gentoo-user] Why does cyrus-sasl require courier-imap?

2013-02-23 Thread Tanstaafl
I switched to dovecot not too long ago, and I removed the authdaemond 
keyword from cyrus-sasl, but it still wants to pull in courier-imap.


I want to remove courier-imap completely, but I still may need postfix 
to be able to work as sasl client, which requires cyrus-sasl (since 
dovecot-sasl is server side only)...


So... am I stuck with keeping courier-imap around just so I can use 
cyrus-sasl?




Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Joseph

On 02/23/13 13:41, Volker Armin Hemmann wrote:

tmpfs949264990   9482741% /var/tmp/portage

So, why I'm getting this message?



Your /var/tmp/portage is 10 MB! Increase that.

--
Nilesh Govindarajan
http://nileshgr.com


How do I increase it?
I deleted all the file in /var/tmp/portage but after reboot the system
populate it again.
In fstab I have two entries:
...
shm/dev/shmdevtmpfsnodev,nosuid,noexec0 0
tmpfs /var/tmp/portage devtmpfsdefaults  0 0

should I just comment them out?



no,

you should change it to this:
tmpfs   /var/tmp/portage tmpfs  rw,size=8G  0 0

play around with size. Usually 2GB is more than enough. Except for
libreoffice.
Then umount /var/tmp/portage and mount it again.


I have only 8Gb of RAM should I dedicate it all for tmpfs or only 2GB

--
Joseph



Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Volker Armin Hemmann
Am 23.02.2013 15:16, schrieb Joseph:
 On 02/23/13 08:52, Neil Bothwick wrote:
 On Fri, 22 Feb 2013 23:21:02 -0700, Joseph wrote:

 Got it. I change it to:
 tmpfs /var/tmp/portage devtmpfs
 size=1512M,nr_inodes=1M 0 0

 Why are you using devtmpfs? You should be using tmpfs for this, which
 defaults to half your available RAM. devtmpfs is a special option
 for early-boot /dev only.


 -- 
 Neil Bothwick

 I was following the instruction from recent udev upgrade: Upgrading
 udev from 171 (or older) to 197

 copy
 - The need of CONFIG_DEVTMPFS=y in the kernel; need to verify the
 fstype for
   possible /dev line in /etc/fstab is devtmpfs (and not, for example,
 tmpfs)
 ---end coopy

 So I change both lines in fstab:
 shm /dev/shm devtmpfsnodev,nosuid,noexec  0 0
 tmpfs /var/tmp/portage devtmpfs   
 size=2048M,nr_inodes=1M  0 0


and the part quoted talked about DEV nothing else.



Re: [gentoo-user] Why does cyrus-sasl require courier-imap?

2013-02-23 Thread Tanstaafl

Nevermind... gotta stop asking questions before my 2nd cup of coffee...

On 2013-02-23 9:19 AM, Tanstaafl tansta...@libertytrek.org wrote:

I switched to dovecot not too long ago, and I removed the authdaemond
keyword from cyrus-sasl, but it still wants to pull in courier-imap.

I want to remove courier-imap completely, but I still may need postfix
to be able to work as sasl client, which requires cyrus-sasl (since
dovecot-sasl is server side only)...

So... am I stuck with keeping courier-imap around just so I can use
cyrus-sasl?






Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Florian Philipp
Am 23.02.2013 15:24, schrieb Joseph:
 On 02/23/13 13:41, Volker Armin Hemmann wrote:

 play around with size. Usually 2GB is more than enough. Except for
 libreoffice.
 Then umount /var/tmp/portage and mount it again.
 
 I have only 8Gb of RAM should I dedicate it all for tmpfs or only 2GB
 

tmpfs uses as much memory as necessary and nothing more. In theory, it
doesn't hurt to add all your memory to it as tmpfs will start to swap
when you run out of memory. However, it is usually a better idea to
unmount the tmpfs and use a regular file system whenever you need more
space.

As Volker noted, it is probably best to use 2GB tmpfs and when you
emerge libreoffice, (and maybe firefox and co.) to switch back to using
a regular fs. You could also expand tmpfs so that it can eat all memory
not used by your applications under normal circumstances.

Example: `free -m`
 total   used   free
-/+ buffers/cache:   4717   3053

So in my case I'm probably fine with a 3GB tmpfs while still avoiding
excessive swapping.

Regards,
Florian Philipp




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Alan McKinnon
On 23/02/2013 16:24, Volker Armin Hemmann wrote:
 Am 23.02.2013 15:16, schrieb Joseph:
 On 02/23/13 08:52, Neil Bothwick wrote:
 On Fri, 22 Feb 2013 23:21:02 -0700, Joseph wrote:

 Got it. I change it to:
 tmpfs /var/tmp/portage devtmpfs
 size=1512M,nr_inodes=1M 0 0

 Why are you using devtmpfs? You should be using tmpfs for this, which
 defaults to half your available RAM. devtmpfs is a special option
 for early-boot /dev only.


 -- 
 Neil Bothwick

 I was following the instruction from recent udev upgrade: Upgrading
 udev from 171 (or older) to 197

 copy
 - The need of CONFIG_DEVTMPFS=y in the kernel; need to verify the
 fstype for
   possible /dev line in /etc/fstab is devtmpfs (and not, for example,
 tmpfs)
 ---end coopy

 So I change both lines in fstab:
 shm /dev/shm devtmpfsnodev,nosuid,noexec  0 0
 tmpfs /var/tmp/portage devtmpfs   
 size=2048M,nr_inodes=1M  0 0

 
 and the part quoted talked about DEV nothing else.
 


I have to say this:

The number of people who completely and totally misread the simple
instructions about upgrading udev is spectacular.

The guides say clearly and unambiguously to modify the mount options for
/dev

And what did so many users at once go and do? Changed every line in
fstab that had the three characters d-e-v in them as well.

I dunno, sometimes I want to give up.




-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Alex Schuster
Florian Philipp writes:

 tmpfs uses as much memory as necessary and nothing more. In theory, it
 doesn't hurt to add all your memory to it as tmpfs will start to swap
 when you run out of memory. However, it is usually a better idea to
 unmount the tmpfs and use a regular file system whenever you need more
 space.
 
 As Volker noted, it is probably best to use 2GB tmpfs and when you
 emerge libreoffice, (and maybe firefox and co.) to switch back to using
 a regular fs. You could also expand tmpfs so that it can eat all memory
 not used by your applications under normal circumstances.

In order to avoid manual intervention when building large packages, I do
it that way: In /etc/portage/package.env I have entries like these:

app-emulation/virtualboxsafecflags.conf j1.conf
app-office/libreoffice  notmpfs.conf j1.conf
dev-java/icedteanotmpfs.conf
dev-lang/R  j1.conf
games-fps/alienarenanotmpfs.conf
games-fps/worldofpadman notmpfs.conf
kde-base/kdmj1.conf
kde-base/plasma-workspace   j1.conf
kde-base/systemsettings j1.conf
mail-client/thunderbird notmpfs.conf
media-sound/amarok  debug.conf
~net-mail/dovecot-2.1.15j1.conf
net-misc/nx j1.conf
sys-boot/grub   grub.conf
www-client/firefox  notmpfs.conf

Which means that for those packages the .conf scripts
in /etc/portage/env.d/ are sourced.

j1.conf has the line 'MAKEOPTS=-j1' in it, so those packages are not
being compiled in parallel. I happen to have problems with many packages
due to my MAKEOPTS being '--jobs --lod 5', somehow this make much more
trouble than MAKEOPTS=-somelarge number.

notmpfs.conf has 'PORTAGE_TMPDIR=/var/portage/tmp', while my normal
PORTAGE_TMPDIR is /var/portage/tmpfs. It is 4G in size, still this is not
enough for many packages. Firefox and Thunrbird are fine with the size,
but they tend to be compiled both at once, and then it is not enough.

safecflags.conf is:
  CFLAGS=-pipe -march=amdfam10 -O2
CXXFLAGS=$CFLAGS

debug.conf:
  CFLAGS=$CFLAGS -O2 -ggdb
CXXFLAGS=$CFLAGS
FEATURES=-buildpkg splitdebug

And grub.conf is 'export DONT_MOUNT_BOOT=blabla', this avoids Grub
messing around with my /boot directory.

Isn't portage just cool?

Wonko


signature.asc
Description: PGP signature


[gentoo-user] Kernel 3.7.9: Lots of devices are root root rw-------.

2013-02-23 Thread Alan Mackenzie
Hi, Gentoo!

Just built the new kernel 3.7.9 last night, and it's one of these
nothing works situations.

It seems the problems are with the device files, whose ownership is set
to root root (rather than, e.g., root audio) and whose permissions
are set to crw--- (rather than the expected crw-rw).

I'm still running udev-171-r10.  This might well make a difference.

Needless to say, everything works under kernel 3.6.11.  It would be nice
if there were some mistake in my kernel config.

Could somebody help me get this fixed, please.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Volker Armin Hemmann
Am 23.02.2013 16:44, schrieb Alan McKinnon:
 On 23/02/2013 16:24, Volker Armin Hemmann wrote:
 Am 23.02.2013 15:16, schrieb Joseph:
 On 02/23/13 08:52, Neil Bothwick wrote:
 On Fri, 22 Feb 2013 23:21:02 -0700, Joseph wrote:

 Got it. I change it to:
 tmpfs /var/tmp/portage devtmpfs
 size=1512M,nr_inodes=1M 0 0
 Why are you using devtmpfs? You should be using tmpfs for this, which
 defaults to half your available RAM. devtmpfs is a special option
 for early-boot /dev only.


 -- 
 Neil Bothwick
 I was following the instruction from recent udev upgrade: Upgrading
 udev from 171 (or older) to 197

 copy
 - The need of CONFIG_DEVTMPFS=y in the kernel; need to verify the
 fstype for
   possible /dev line in /etc/fstab is devtmpfs (and not, for example,
 tmpfs)
 ---end coopy

 So I change both lines in fstab:
 shm /dev/shm devtmpfsnodev,nosuid,noexec  0 0
 tmpfs /var/tmp/portage devtmpfs   
 size=2048M,nr_inodes=1M  0 0

 and the part quoted talked about DEV nothing else.


 I have to say this:

 The number of people who completely and totally misread the simple
 instructions about upgrading udev is spectacular.

 The guides say clearly and unambiguously to modify the mount options for
 /dev

 And what did so many users at once go and do? Changed every line in
 fstab that had the three characters d-e-v in them as well.

 I dunno, sometimes I want to give up.




I am so tired. Really, I am.



Re: [gentoo-user] Re: Nvidia driver - blank screen not even console display

2013-02-23 Thread Joseph

On 02/23/13 07:24, Nikos Chantziaras wrote:

On 22/02/13 08:14, Joseph wrote:

I just upgraded system including kernel to 3.5.7 because of udev-197
Now I have a blank screen, not even console login (I can only access is
via ssh)


With NVidia, it is usually a good idea to at least use the latest stable
gentoo-sources. So you should use 3.7.9. Also, it *is* a good idea to
keyword the latest NVidia driver that's considered stable by NVidia, not
by Gentoo. That would be 313.18.

So update to gentoo-sources-3.7.9 and nvidia-drivers-313.18. And make
sure you do (as root):

  eselect opencl set nvidia
  eselect opengl set nvidia


According to nvidia the latest stable certified driver for my card:
GeForce GTS 450 
is: 310.32 (which is in portage)


I tried it with kernel-3.6.11 it does not work but it works with 3.1.6
I don't know why?

--
Joseph



Re: [gentoo-user] Re: Nvidia driver - blank screen not even console display

2013-02-23 Thread Randolph Maaßen
2013/2/23 Joseph syscon...@gmail.com

 On 02/23/13 07:24, Nikos Chantziaras wrote:

 On 22/02/13 08:14, Joseph wrote:

 I just upgraded system including kernel to 3.5.7 because of udev-197
 Now I have a blank screen, not even console login (I can only access is
 via ssh)


 With NVidia, it is usually a good idea to at least use the latest stable
 gentoo-sources. So you should use 3.7.9. Also, it *is* a good idea to
 keyword the latest NVidia driver that's considered stable by NVidia, not
 by Gentoo. That would be 313.18.

 So update to gentoo-sources-3.7.9 and nvidia-drivers-313.18. And make
 sure you do (as root):

   eselect opencl set nvidia
   eselect opengl set nvidia


 According to nvidia the latest stable certified driver for my card:
 GeForce GTS 450 is: 310.32 (which is in portage)

 I tried it with kernel-3.6.11 it does not work but it works with 3.1.6
 I don't know why?

 --
 Joseph


Hi,

I have just read the thread and recognized that you have the same graphics
card as I have.

I updated my kernel this week to gentoo-sources 3.8.0. After that I tried
to install the 313.18 driver and compilation failed.
So I tried the 310.32  driver and it works perfectly with the new kernel.

HTH

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Re: Nvidia driver - blank screen not even console display

2013-02-23 Thread Joseph

On 02/23/13 08:55, Neil Bothwick wrote:

On Sat, 23 Feb 2013 00:32:15 -0700, Joseph wrote:


I'm starting to have serious doubts in Nvidia (those binary drivers are
piece of crap). My system just freeze after one day; I went back to
nvidia-dirvers-295.75


Have you tried the nouveau drivers? The 3D may not be as fast but the
kernel incompatibilities disappear.


--
Neil Bothwick


According to Nvidia 
(http://www.nvidia.com/object/linux-display-amd64-310.32-driver.html)
 the latest stable driver for my card GeForce GTS 450
is: 310.32 
This driver works with kernel-3.1.6 but not with latest 3.6.11


I'm trying to setup dual driver as nvidia and nouveau as a backup.

--
Joseph



Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Peter Humphrey
On Saturday 23 February 2013 15:44:31 Alan McKinnon wrote:

 The number of people who completely and totally misread the simple
 instructions about upgrading udev is spectacular.

Even I did it, and I'm ashamed to admit it too. At least I managed to 
realise my mistake and correct it without pestering anyone else.

 The guides say clearly and unambiguously to modify the mount options for
 /dev
 
 And what did so many users at once go and do? Changed every line in
 fstab that had the three characters d-e-v in them as well.

Few of us have a /dev line in fstab, so the line that looks most like it 
becomes prime suspect.

 I dunno, sometimes I want to give up.

Don't do that until after you've straightened out your its and it's.  :-)

-- 
Peter



Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Peter Humphrey
On Saturday 23 February 2013 06:23:59 Joseph wrote:

 I have 8Gb of RAM so I change it to:
 tmpfs /var/tmp/portagedevtmpfs
 size=1512M,nr_inodes=1M 0 0
 
 now it is going.

I think you've confused yourself. /var/tmp/portage is portage's working sandbox 
- where it does all its work while emerging packages. Its size has nothing to 
do with how much RAM you have, only how much space portage needs to work in.

We used to be advised to allocate swap space equal to half the RAM size, but 
those days are long gone. Here's what I have defined as swap:

$ grep swap /etc/fstab
/dev/sda3   none  swapsw,pri=10   0 0
/dev/sdb3   none  swapsw,pri=10   0 0
/dev/sda7   none  swapsw,pri=1 0 0
/dev/sdb7   none  swapsw,pri=1 0 0

The idea is to use the two 2G partitions (sdx3) for most operations and to 
bring in the two 20G partitions (sdx7) when doing some heavy lifting. I should 
really at least halve both of those sizes, but what the hell? Space is cheap 
and I don't need it for anything else pro tem.

-- 
Peter



Re: [gentoo-user] Nvidia driver - blank screen not even console display

2013-02-23 Thread Joseph

On 02/22/13 10:49, Raffaele BELARDI wrote:

On 02/22/2013 10:39 AM, Joseph wrote:

In addition I get the flooring errors in Xorg.0.log

cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   288.401] Initializing built-in extension MIT-SCREEN-SAVER
[   313.863] (EE)
[   313.863] (EE) Backtrace:
[   313.863] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x5979d6]
[   313.863] (EE) 1: /usr/bin/X (0x40+0x19b8c9) [0x59b8c9]
[   313.863] (EE) 2: /lib64/libpthread.so.0 (0x7fdb5cc2+0x10810) 
[0x7fdb5cc30810]
[   313.863] (EE) 3: /lib64/libc.so.6 (0x7fdb5b88+0x136284) [0x7fdb5b9b6284]
[   313.863] (EE) 4: /usr/lib64/xorg/modules/drivers/nvidia_drv.so 
(0x7fdb56fd8000+0x116fd3) [0x7fdb570eefd3]


Did you also update the Nvidia driver when you updated the system? Maybe
the new Nvidia driver does not support your graphic board.

I have a GeForce GT 520 box where I am stuck with nvidia-drivers-295.20
because newer drivers segfault (even though officially they should
support the GT520).

raffaele


The official stable  driver (certified by nvidia) for your card is the same one 
as for mine: 310.32
http://www.nvidia.com/object/linux-display-amd64-310.32-driver.html

Just unmask it and use it, it is working on my system OK with kernel 3.1.6 but, it will work with 3.8 as well (as just reported by Randolph Maaßen) 


--
Joseph



[gentoo-user] switching between nvidia / nouveau drivers

2013-02-23 Thread Joseph

I'm trying to prevent next disaster with nvidia driver/kernel combination.
I'm running nvidia driver and installed nouveau as module.  If for any 
reason nvidia or nouveau will stop working I want to just run a sript and use other one.

Here is my configuration:

cat /etc/modprobe.d/blacklist.conf
blacklist nouveau

cat /etc/X11/xorg.conf
Section Device
Identifier Nvidia card
Driver nvidia
EndSection

eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

In order to switch it to nouveau I would need to unload the nvidia module, but I can not do it when it is in use so I need to stop xdm first, am I correct? 


/etc/init.d/xdm stop (X crashes at this moment)
modprobe -r nvidia
mv /etc/modprobe.d/blacklist.conf /etc/modprobe.d/blacklist.conf_backup
mv /etc/X11/xorg.conf  /etc/X11/xorg.conf_nvidia
eselect opengl set xorg-x11
modprobe nouveau
mv /etc/X11/xorg.conf_nouveau /etc/X11/xorg.conf
/etc/init.d/xdm start (at this moment I should have login screen)

Did I miss anything? Will it work if I put it into a bash script?

--
Joseph