Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-18 Thread Ralf Mardorf
Now I COMPLETELY understand the difference between switching form nvidia
to nv or vice versa and switching from nvidia to nouveau and vice versa
[1] ;).

Regards,
Ralf

[1]
# pacman -Syu nouveau-dri
:: libgl and nvidia-utils are in conflict. Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-nvidia-utils: requires nvidia-utils
:: nvidia: requires nvidia-utils=304.43

# pacman -R nvidia lib32-nvidia-utils
error: failed to prepare transaction (could not satisfy dependencies)
:: google-earth: requires lib32-libgl
:: lib32-mesa: requires lib32-libgl

# pacman -Syu lib32-libgl
:: lib32-libgl and lib32-nvidia-utils are in conflict. Remove
lib32-nvidia-utils? [y/N] y
Targets (4): lib32-nvidia-utils-304.43-1 [removal]  tzdata-2012f-1
xf86-video-nouveau-1.0.2-1 lib32-libgl-8.0.4-4

# pacman -R nvidia

# pacman -Syu nouveau-dri
Targets (4): libdrm-nouveau1-2.4.33-1  libgl-8.0.4-3
nvidia-utils-304.43-1 [removal]  nouveau-dri-8.0.4-2




Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-17 Thread Ralf Mardorf
On Sun, 2012-09-16 at 21:30 +0200, Joakim Hernberg wrote:
 Have you tried nouveau lately?  It has improved a lot lately...

Thank you :)

indeed it works with the kernel-rt. I still have to test it a little bit
longer and to check if audio production will be ok too, but until now
it's ok for averaged desktop usage.
Unfortunately I can't install nouveau-dri, since this conflicts with
libgl and nvidia-utils and I'll use the proprietary driver with the
standard kernel.
Only drawback, after startup and when starting the Xfce session, the
monitor relay is switching very often. The advantage is, that I don't
need to readjust the monitor when switching between nouveau and nvidia.

In the past nouveau only was a PITA, but now everything seems to be
fine.

Regards,
Ralf



Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-17 Thread Joakim Hernberg
On Mon, 17 Sep 2012 15:27:04 +0200
Ralf Mardorf ralf.mard...@alice-dsl.net wrote:

 Unfortunately I can't install nouveau-dri, since this conflicts with
 libgl and nvidia-utils and I'll use the proprietary driver with the
 standard kernel.

If I were you, I'd try nouveau all the way.  only reason not to would
be gaming.  One thing I still have to check out though is if the
support for vblank is working, otherwise it might have some tearing
when watching video.

But I agree, it's a pain switching between nvidia and nouveau, but I'd
be inclined to blame nvidia itself for that...:)

In any case it's nice to see that a opensource alternative to the
closed nividia driver is available and working better all the time!

--

   Joakim


Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-17 Thread Ralf Mardorf
I don't play computer games. Perhaps I'll render 3D videos or use Google
Earth. I'll give it a try and remove the proprietary driver. Watching
videos and editing videos must be possible for my needs too.

I was pissed off when the old nouveau driver didn't work for my machine
and some distros already dropped the nv driver.

If 3D should work with the kernel-rt, I don't need the standard kernel
anymore, resp. perhaps I'll keep a second kernel for emergency cases.

Hopefully the nouveau driver won't cause real-time issues. I guess I'll
run a jack midi latency test later or tomorrow.

 In any case it's nice to see that a opensource alternative to the
 closed nividia driver is available and working better all the time!

Unfortunately we only can use it until 21 December 2012 ;D.

Regards,
Ralf




Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-17 Thread Leonidas Spyropoulos
On 17 Sep 2012 18:46, Ralf Mardorf ralf.mard...@alice-dsl.net wrote:

 I don't play computer games.

  In any case it's nice to see that a opensource alternative to the
  closed nividia driver is available and working better all the time!

 Unfortunately we only can use it until 21 December 2012 ;D.


Unfortunately I have to use nvidia drivers for CUDA programming..

I might get a specific card just for the CUDA stuff and still load the
nouveau for xorg. I don't think its possible with just one GPU, is it?
Switching from nvidia to nouveau using the scripts in the wiki for now.

 Regards,
 Ralf




Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-17 Thread Uros Vampl
Joakim Hernberg jbh at alchemy.lu writes:
 But I agree, it's a pain switching between nvidia and nouveau, but I'd
 be inclined to blame nvidia itself for that...:)

Not their fault. But nevertheless, they are the ones trying to fix it:

http://lists.freedesktop.org/archives/mesa-dev/2012-September/027295.html



Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-17 Thread Ralf Mardorf
On Mon, 2012-09-17 at 19:02 +0100, Leonidas Spyropoulos wrote:
 On 17 Sep 2012 18:46, Ralf Mardorf ralf.mard...@alice-dsl.net wrote:
 
  I don't play computer games.
 
   In any case it's nice to see that a opensource alternative to the
   closed nividia driver is available and working better all the time!
 
  Unfortunately we only can use it until 21 December 2012 ;D.
 
 
 Unfortunately I have to use nvidia drivers for CUDA programming..
 
 I might get a specific card just for the CUDA stuff and still load the
 nouveau for xorg. I don't think its possible with just one GPU, is it?
 Switching from nvidia to nouveau using the scripts in the wiki for now.

I don't know. Btw. I was switching between nv and nvidia for several
distros using a very primitive script:

$ cat /etc/rc.d/69switch_xorg.conf
#! /bin/sh
# /etc/rcS.d/Switch_xorg_conf

rm /etc/X11/xorg.conf
case $(uname -r) in
*rt*)
cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
;;
*)
cp /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf
;;
esac

At the moment nv is for nouveau.

I didn't know those scrips:
https://wiki.archlinux.org/index.php/NVIDIA#Switching_between_nvidia_and_nouveau_drivers

If I should use those scripts, I guess I would replace pacman -S, by
pacman -U to install always the versions I know as being stable for my
needs. Perhaps I only need nouveau, have no time to test it now, I'll
watch The Simpsons at the moment ... commercial break finished ...

Regards,
Ralf

Regards,
Ralf



[arch-general] Proprietary nvidia driver for different kernels

2012-09-16 Thread Ralf Mardorf
Hi :)

until now I switch between the FLOSS nv driver and the proprietary
nvidia driver at startup, depending to the kernel I boot. IOW I use the
nv driver with kernel-rt and the proprietary with 3.5.3-1-ARCH.

If I try to boot the kernel-rt, I get a black screen.

[spinymouse@archlinux ~]$ pacman -Qi nvidia | grep Ver 
Version: 304.43-1
[spinymouse@archlinux ~]$ pacman -Qi nvidia-rt | grep Ver
Version: 304.43-1
[spinymouse@archlinux ~]$ pacman -Qi nvidia-utils | grep Ver
Version: 304.43-1
[spinymouse@archlinux ~]$ pacman -Qi xf86-video-nv | grep Ver
Version: 2.1.20-1
[spinymouse@archlinux ~]$ grep DAEMONS /etc/rc.conf
# DAEMONS
DAEMONS=(!69switch_xorg.conf hwclock syslog-ng !network !netfs crond
acpid dbus networkmanager rtirq)

Any ideas? The graphics is a GeForce 7200 GS. The nv driver is ok, but I
have to readjust the monitor if I switch from nvidia and soon or later
it will be dropped. The vesa driver won't provide the needed resolution
and noveau 



Re: [arch-general] Proprietary nvidia driver for different kernels

2012-09-16 Thread Ralf Mardorf
On Sun, 2012-09-16 at 21:30 +0200, Joakim Hernberg wrote:
 On Sun, 16 Sep 2012 20:35:57 +0200
 Ralf Mardorf ralf.mard...@alice-dsl.net wrote:
 
 
  ... nouveau never worked on my machine.
 
 Have you tried nouveau lately?  It has improved a lot lately...

That's a good question.

$ pacman -Si xf86-video-nouveau
Version: 1.0.1-1
Conflicts With : xorg-server1.11.99.902
Build Date : Tue Jun 19 03:43:40 2012
$ pacman -Qi xorg-server   
Version: 1.12.4-1
$ pacman -Qi libdrm 
Name   : libdrm
Version: 2.4.39-1

I don't know. I'll test it again.

At least nouveau 0.0.15 and libdrm 2.4.21 for another outdated Linux
don't work, but I'm sure I also tested newer versions.

Regards,
Ralf