[workaround] Proprietary nvidia driver for kernel-ARCH and kernel-rt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 2012-01-07 at 07:10 +0800, Oon-Ee Ng wrote:
> On Jan 7, 2012 12:02 AM, "Thomas Bächler" <thomas@xxxxxxxxxxxxx> wrote:
> >
> > Am 06.01.2012 16:57, schrieb Ralf Madorf:
> > > On Fri, 2012-01-06 at 16:47 +0100, Thomas Bächler wrote:
> > >> Am 06.01.2012 16:32, schrieb Ralf Madorf:
> > >>> [     8.889] Current Operating System: Linux archlinux 3.0-rt #1 SMP
> > >>> PREEMPT RT Mon Dec 26 13:03:51 CET 2011 x86_64
> > >>
> > >> The -rt kernel package still uses the old versioning scheme, where the
> > >> patchlevel is removed from the version string. This means that the new
> > >> nvidia PKGBUILD won't work and you need to start from an old version.
> > >>
> > >> Basically, make it look like it was before this change:
> > >>
> https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/nvidia&id=1b7954a332c32de0ef49a82806fbb18544b26949
> > >
> > > Thank you :)
> > >
> > > I'll try it tonight or tomorrow. OTOH I guess I can use 285.05.09-1
> > > ( http://aur.archlinux.org/packages.php?ID=12132 ) with $ uname -r
> > > 3.1.7-1-ARCH instead of doing this for 290.10?!
> >
> > No, you can't, you need a version that matches your nvidia-utils package.
> >
> > These module PKGBUILDs are a mess since I changed the external kernel
> > module handling in 3.1 - some AUR kernels use the new scheme, some use
> > the old one (hence the problems with nvidia-all).
> >
> >
> 
> I'll try and accommodate both in nvidia-beta-all by next week actually, it
> doesn't seem too hard

As a workaround I now use kernel-rt with the FLOSS nv driver, so for 3D
acceleration I need to boot kernel-ARCH. 

# pacman -Syu xf86-video-nv

# grep DAEMONS= /etc/rc.conf
  DAEMONS=(69switch_xorg.conf hwclock syslog-ng !network !netfs crond
  acpid dbus)

# 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

# grep nv /etc/X11/xorg.conf.nv
        #Driver	    "nvidia"
	Driver	    "nv"

# grep nv /etc/X11/xorg.conf.nvidia
        Driver	    "nvidia"
	#Driver	    "nv"



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux