NVIDIA's AGP versus the kernel's AGPGART?

I've just taken the time to figure out how to use nvidia-agp instead of the kernel's agpgart, but it doesn't give any difference in performance (at least based on <code>glxgears</code> results).  Is there any point to switching?
To get it to work, I had to blacklist <code>agpgart</code> in my rc.conf file, and then add this line to the device section of my xorg.conf file:
Option "NvAgp" "1"
which gives me what I was looking for:
$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled
Does anyone have any experience with these, or did I just waste my time?  Either way I get just about 1700fps using glxgears with a GeForce 6200.

Does somebody knows if those settings are suitable at any point for a nVidia pci-express graphic card ?
Here are some output I get with a GeForce 6200TC PCIe.
$ lsmod | grep agp
amd64_agp              11140  1
agpgart                31368  2 nvidia,amd64_agp
$ ls /proc/driver/nvidia/
cards/    registry  version   warnings/
$ cat /proc/driver/nvidia/cards/0
Model:          GeForce 6200 TurboCache(TM)
IRQ:            10
Video BIOS:      05.44.02.11.00
Card Type:      PCI-E
$ cat /proc/driver/nvidia/registry
VideoMemoryTypeOverride: 1
EnableVia4x: 0
EnableALiAGP: 0
NvAGP: 3
ReqAGPRate: 15
EnableAGPSBA: 0
EnableAGPFW: 0
SoftEDIDs: 1
Mobile: 4294967295
ResmanDebugLevel: 4294967295
FlatPanelMode: 0
DevicesConnected: 0
VideoEnhancement: 0
RmLogonRC: 1
VbiosFromROM: 0
ModifyDeviceFiles: 1
DeviceFileUID: 0
DeviceFileGID: 0
DeviceFileMode: 438
RemapLimit: 0
UseCPA: 4294967295
DetectPrimaryVga: 0
/etc/X11/xorg.conf :
Section "Screen"
        Identifier      "NV Monitor"
        Device          "NV 6200TC"
        Monitor         "ViewSonic E92f+"
        Option          "DPMS"
        Option          "NoDDC"          "false"
        Option          "NoLogo"         "true"
        #Option         "Coolbits"       "true"  (WW) NVIDIA(0): Option "Coolbits" requires an integer value
        #Option         "UseEditDPI"     "true"  (WW) NVIDIA(0): Option "UseEditDPI" is not used
        #Option         "UseEditFreqs"   "true"  (WW) NVIDIA(0): Option "UseEditFreqs" is not used
        Option          "NvAGP"          "1"
        Option         "UseEdidFreqs"    "1"
        #Option         "EnablePageFlip"         "true" (WW) NVIDIA(0): Option "EnablePageFlip" is not used
        Option         "NoBandWidthTest" "1"
        Option         "DigitalVibrance" "3"
        Option          "RenderAccel"    "true"
        Option         "backingstore"    "true"
        #should be switched off *if* the system crash:
        Option          "RenderAccel"    "true"
        Option          "AllowGLXWithComposite" "true"

Similar Messages

  • Unable to load the kernel module 'nvidia.ko' [SOLVED]

    After my most recent kernel upgrade, I can't get my GUI to run. I've tried reinstalling the nvidia driver to no avail.
    Any insight would be greatly appreciated. I'm using a GeForce 8400 GS
    cat /var/log/nvidia-installer.log
    ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
    frequently when this kernel module was built against the wrong or
    improperly configured kernel sources, with a version of gcc that differs
    from the one used to build the target kernel, or if a driver such as
    rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
    obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
    installed in this system is not supported by this NVIDIA Linux graphics
    driver release.
    Please see the log entries 'Kernel module load error' and 'Kernel
    messages' at the end of the file '/var/log/nvidia-installer.log' for
    more information.
    -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
    -1 No such device
    -> Kernel messages:
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as rivafb, nvidiafb or
    NVRM: rivatv was loaded and obtained ownership of the NVIDIA
    NVRM: device(s).
    NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
    NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
    NVRM: support), then try loading the NVIDIA kernel module again.
    NVRM: No NVIDIA graphics adapter probed!
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    Last edited by wsims (2010-06-22 15:06:04)

    if you used the packages from repos, the blacklist is done automatically in nvidia,
    $ pacman -Qo /etc/modprobe.d/nouveau_blacklist.conf
    /etc/modprobe.d/nouveau_blacklist.conf is owned by nvidia 195.36.31-1
    $ cat /etc/modprobe.d/nouveau_blacklist.conf
    blacklist nouveau
    but i guess you just want to mess your system by using unsupported and very bad ways and you are way smarter than the devs if you used that installer
    Last edited by wonder (2010-06-22 14:10:01)

  • NVIDIA installer and problems [yes I know I got the kernel]

    all should work fine, but dont! I get this: [i have linux264 under /usr/src]
    -> No precompiled kernel interface was found to match your kernel; would you li
       ke the installer to attempt to download a kernel interface for your kernel f
       rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
    -> No precompiled kernel interface was found to match your kernel; this means
       that the installer will need to compile a new kernel interface.
    -> Using the kernel source path '/usr/src/linux-2.6.4/' as specified by the
       '--kernel-source-path' commandline option.
    -> Kernel source path: '/usr/src/linux-2.6.4/'
    -> Performing cc_version_check with CC="cc".
    ERROR: Unable to determine the NVIDIA kernel module filename.
    ERROR: Installation has failed.  Please see the file
           '/var/log/nvidia-installer.log' for details.  You may find suggestions
           on fixing installation problems in the README available on the Linux
           driver download page at www.nvidia.com.
    WIKI says sth about copying the old files to /tmp and then back again. well it's too late for that . I have the arch-pkg but couldn't found those files. maybe one can name me which they are where I can find them and if is going to solve the above problem. I have the standard ide kernel.
    thank you

    the files you removed are either all in the kernel you downloaded or can be created from that kernel.
    you need a .config file, which will be created when you do what i said in my previous post and i believe you need some include files in the /usr/src/linux-2.6.4/include/config directory, which will be put there when you do the make. (just don't do make install!)
    when you do the make config, just make sure loadable modules support is a yes, the rest can be default i would guess.
    if you really want a .config file for a 2.6.4 scsi kernel i'll put one up here:
    http://www.oreycay.com/config.bz2
    i think you should just answer all defaults and make your own.  im pretty sure the nivida installer is just checking for these files, it is not really using them in a way you have to worry about.

  • Can't get Nvidia to work in new kernel

    Hi,
    Yes, I know, loads of people have problems getting this to work and it has been posted thousands of times...but yet I can't do it! I've been trying for days, googling, reading the wikis and forums, but it won't work for me at all! I guess I'm doing something really evidently wrong, but what?
    I've compiled a low latency kernel to allow me to run some midi applications that my wife absolutely must have (and she won't accept my move to Arch until I get them to work ) Now, this part is OK - I've succeeded here no probs. But no amount of work will get that Nvidia card up and running. I've tried this using abs in the following way: I've copied /var/abs/extra/nvidia-96xx to /var/abs/local/nvidia-96xx/ In nvidia.install I've changed KERNEL_VERSION from 2.6.25-ARCH to 2.6.21-rt; I've done the same thing in PKGBUILD; and I've changed pkgname in PKGBUILD to nvidia-custom. Then I've run makepkg -i -c...nothing. It seemed to build the first time I tried, however on booting into the new kernel I got greeted by a blank screen (and pacman won't let me re-install the NVIDIA driver, either) However, the second time it refused (I think it was a permissions problem). So I tried the same manipulation, this time copying /var/abs/extra/nvidia-96xx to my home directory. Still nothing. What am I doing wrong? Sorry for being such an Arch noob!
    Thanks in advance!

    OK, here is the exact error message when I try to do this manually:
    The CC version check failed.
    The compiler used to compile the kernel (gcc 4.2) does not exactly match the current compiler (gcc 4.3). The Linux 2.6 kernel module rejects kernel modules built with a version of gcc that does not exaclt match that of the compiler used to build the running kernel.
    If you know what you are doing and want to ignore the gcc version to check, select "No" to continue installation. Otherwise, select "yes" to abort installation, set the CC environment to the name of the compiler used to compile your kernel, and restart installation. Abort now?
    Does the fact that I find nvidia.ko where it should be mean that this is the problem when I try to install Nvidia with abs? How do I set the CC environment like it says? I don't really understand this message.
    Last edited by Flapjack (2008-06-21 05:49:29)

  • I'm looking at the dell Inspiron Desktop 4th Generation Intel Core i5 Processor for photoshop work versus the Dell XPS 8700 i7 IS IT WORTH SPENDING THE EXTRA $400?

    I'm looking at the dell Inspiron Desktop 4th Generation Intel® Core™ i5 Processor for photoshop work versus the Dell XPS 8700 i7 IS IT WORTH SPENDING THE EXTRA $400? my old desktop is a AMD about 5 years old so there will be a huge change in speed to what I am use to
    Here are the specks on both:
    Inspiron
    Processor
    4th Generation Intel® Core™ i5-4460 Processor (6M Cache, up to 3.40 GHz)
    Operating System
    Help Me Choose
    Windows® 8.1 (64Bit) English
    Memory2
    8GB Dual Channel DDR3 1600MHz (4GBx2)
    Hard Drive
    1TB 7200 rpm SATA 6Gb/s Hard Drive
    Video Card
    NVIDIA® GeForce® 705 1GB DDR3
    Ports
    Front
    (2) USB 2.0, MCR 8:1, Mic and Headphone Jacks
    Rear
    Four USB 2.0 connectors , Two USB 3.0 connectors, HDMI, VGA, RJ-45 (10/100/1000 Ethernet), 3-stack audio jacks supporting 5.1 surround sound
    Media Card Reader
    Integrated 8-in-1 Media Card Reader
    (supports Secure Digital (SD), Hi Speed SD (SDXC), Hi Capacity SD (SDHC), Memory Stick (MS), Memory Stick PRO (MS PRO), Multimedia Card (MMC), Multimedia Card Plus (MMC Plus), xD-Picture Card(XD))
    Memory Slots
    2 DIMM Slots
    Chassis
    Bluetooth
    BT 4.0 via 1705 WLAN card
    Chipset
    Intel® H81 PCH
    Power
    300 Watt Power Supply
    XPS 8700
    Processor
    4th Generation Intel® Core™ i7-4790 processor (8M Cache, up to 4.0 GHz)
    Operating System
    Help Me Choose
    Windows 8.1 (64Bit) English
    Choose Options  
    Memory2
    12GB Dual Channel DDR3 1600MHz (4GBx2 + 2GBx2)
    Hard Drive
    1TB 7200 RPM SATA Hard Drive 6.0 Gb/s
    Video Card
    NVIDIA GeForce GTX 745 4GB DDR3
    CPU Thermal
    86W
    Graphics Thermal
    225W/150W/75W
    Power
    460W, optional 80 PLUS Bronze, 85% efficient, supply available on ENERGY STAR configurations
    Ports
    Bays
    Support for 4 HDD bays: including (3) 3.5” HDDs
    –Capable of 1 SSD and 3 HDD configuration
    Media Card Reader
    19-in-1 Card Reader (CF Type I, CF Type II, Micro drive, mini SD, MMC, MMC mobile, MMC plus, MS, MS Pro, MS Pro Duo, MS Duo, MS Pro-HG, RS-MMC, SD, SDHC Class 2, SDHC Class 4, SDHC Class 6, SM, xD)
    Slots
    Memory Slots
    4 DIMM

    From my personal experience, I wouldn't go for an Integrated card. This is one of the most important components for Photoshop, so invest in a decent graphics card (ATI or NVidia). It doesn't have to be a really exepensive one - I have been using ATI Radeon with 256MB of RAM on my Dell Studio for almost two years and it still rocks! (even when I work with 3D in Ps CS5 Extended).
    I would also invest in more RAM (this can be added easily - I bought extra 4GB as my Studio came with 3GB).
    I wouldn't worry about the processor - I'm on Intel Core 2 Duo - and it works very very well, it's very quick which is very important as I'm training Photoshop.
    I hope this helps.

  • Arch-0.6 How does one configure the kernel

    Hi everone. I'm a new arch user (coming from gentoo) this is my first post here.
    I installed Arch Linux 0.6 on my computer. I have experience configuring kernels, but I'm not sure where to do this in Arch Linux. In /usr/src there is only a "linux' directory, which I am unable to run the make menuconfig command from.
    Normally I would cd to /usr/src/linux, and run "make menuconfig". In the Linux directory are a number of other directories in which I cannot find the kernel.

    Well I am really happy to be able to configure MY kernel because I can get rid of modules I dont use and I dont have to bother about hotplug desperately trying to load modules that generate error messages.
    Arch's stock kernel is good, but I dont like to have 40 modules loaded at the same time, each dependant of the other, which is kind of a cube tower getting always higher, thus always more unstable.
    How many times have I heard of people not being able to get  sound working ? They had 15 modules for sound , which is absolutely scaring...especially when a piece of them generated strange error messages...
    And if you compile your kernel, you know what exactly is handling your harware and so you are much more able to figure out what is going wrong when a device is not working anymore.
    I had a working system with a stock kernel and about 30 blacklisted modules, and about 10 manually added. I felt the system was going to crash every five minutes when I was playing multimedia(which actually occured a couple of times)
    I also had a working sytem with my own kernel, and it was much more stable. Hotplug loaded the modules I wanted it to load, and did not need hours to probe all my devices.
    When I build external modules(NVIDIA, ipw2100 wireless drivers), they compile fine, whereas they dont always do with the stock kernel.

  • Need to compile nvidia driver for a custom kernel [SOLVED]

    I compiled a custom kernel following this wiki page: http://wiki.archlinux.org/index.php/Ker … rom_Source
    I can boot into it just fine.  I now want to compile an nvidia driver for use with it and followed the steps on this wiki page: http://wiki.archlinux.org/index.php/NVI … tom_kernel
    I run into a problem when makepkg trys to compile it.  Here is the output:
    $ cd ~/devel/abs/nvidia/
    $ makepkg -c
    ==> Making package: nvidia-my 190.42-1 x86_64 (Thu Nov 5 17:42:29 EST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found NVIDIA-Linux-x86_64-190.42-pkg0.run in build dir
    ==> Validating source files with md5sums...
    NVIDIA-Linux-x86_64-190.42-pkg0.run ... Passed
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    Creating directory NVIDIA-Linux-x86_64-190.42-pkg0
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 190.42..................................................................................................................................................
    If you are using a Linux 2.4 kernel, please make sure
    you either have configured kernel sources matching your
    kernel or the correct set of kernel headers installed
    on your system.
    If you are using a Linux 2.6 kernel, please make sure
    you have configured kernel sources matching your kernel
    installed on your system. If you specified a separate
    output directory using either the "KBUILD_OUTPUT" or
    the "O" KBUILD parameter, make sure to specify this
    directory with the SYSOUT environment variable or with
    the equivalent nvidia-installer command line option.
    Depending on where and how the kernel sources (or the
    kernel headers) were installed, you may need to specify
    their location with the SYSSRC environment variable or
    the equivalent nvidia-installer command line option.
    *** Unable to determine the target kernel version. ***
    make: *** [select_makefile] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    The step it's choking on is (from the PKGBUILD), "make SYSSRC=/lib/modules/${_kernver}/build module || return 1"
    What am I doing wrong?
    My PKGBUILD:
    pkgname=nvidia-my
    pkgver=190.42
    _kernver='2.6.32-rc6-MINE'
    pkgrel=1
    pkgdesc="NVIDIA drivers for kernel26."
    arch=('i686' 'x86_64')
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=('kernel26>=2.6.31' 'kernel26<2.6.32' "nvidia-utils=${pkgver}")
    conflicts=('nvidia-96xx' 'nvidia-173xx')
    license=('custom')
    install=nvidia.install
    source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run")
    md5sums=('f94806feee87de756d14fe3e9bcaf05a')
    [ "$CARCH" = "x86_64" ] && md5sums=('ae431ff849ec01446e6724f9fcfe3bb4')
    build() {
    cd $srcdir
    sh NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run --extract-only
    cd NVIDIA-Linux-$ARCH-${pkgver}-pkg0
    cd usr/src/nv/
    ln -s Makefile.kbuild Makefile
    make SYSSRC=/lib/modules/${_kernver}/build module || return 1
    mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
    install -m644 nvidia.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install
    My nvidia.install
    post_install() {
    KERNEL_VERSION='2.6.32-rc6-MINE'
    depmod $KERNEL_VERSION
    post_upgrade() {
    post_install
    rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
    post_remove() {
    KERNEL_VERSION='2.6.32-rc6-MINE'
    depmod $KERNEL_VERSION
    Last edited by graysky (2009-11-07 10:54:33)

    Hello,
    I'm kind of a noob and am trying to get follow the directions from the Nvidia wiki on installing on a custom kernel.  I'm trying to use the abs method to install on kernel26rt version 2.6.33rt.  I followed directions exactly and am getting an error that I didn't find on any other posts.  Can you please take a look?  Here is my terminal:
    [jsadural@jlinux nvidia]$ makepkg -ci
    ==> Making package: nvidia-2633rt 270.30-3 (Wed Mar 30 08:53:08 PDT 2011)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
      -> Downloading NVIDIA-Linux-x86_64-270.30-no-compat32.run...
    --2011-03-30 08:53:08--  ftp://download.nvidia.com/XFree86/Linux … mpat32.run
               => “NVIDIA-Linux-x86_64-270.30-no-compat32.run.part”
    Resolving download.nvidia.com... 69.31.121.43
    Connecting to download.nvidia.com|69.31.121.43|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done.    ==> PWD ... done.
    ==> TYPE I ... done.  ==> CWD (1) /XFree86/Linux-x86_64/270.30 ... done.
    ==> SIZE NVIDIA-Linux-x86_64-270.30-no-compat32.run ... 30037601
    ==> PASV ... done.    ==> RETR NVIDIA-Linux-x86_64-270.30-no-compat32.run ... done.
    Length: 30037601 (29M) (unauthoritative)
    100%[======================================>] 30,037,601   696K/s   in 42s     
    2011-03-30 08:53:50 (696 KB/s) - “NVIDIA-Linux-x86_64-270.30-no-compat32.run.part” saved [30037601]
    ==> Validating source files with md5sums...
        NVIDIA-Linux-x86_64-270.30-no-compat32.run ... Passed
    ==> Extracting Sources...
    ==> Starting build()...
    Creating directory NVIDIA-Linux-x86_64-270.30-no-compat32
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 270.30........................................................................................................................
    NVIDIA: calling KBUILD...
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || (    \
        echo;                                \
        echo "  ERROR: Kernel configuration is invalid.";        \
        echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";    \
        echo;                                \
        /bin/false)
    mkdir -p /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/.tmp_versions ; rm -f /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/.tmp_versions/*
    make -f scripts/Makefile.build obj=/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel
      cc -Wp,-MD,/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/include -I/usr/src/linux-2.6.33-rt/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.30\" -Wno-unused-function -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.o /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c
    In file included from /usr/src/linux-2.6.33-rt/arch/x86/include/asm/uaccess.h:573:0,
                     from include/linux/poll.h:13,
                     from /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h:84,
                     from /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:13:
    /usr/src/linux-2.6.33-rt/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
    /usr/src/linux-2.6.33-rt/arch/x86/include/asm/uaccess_64.h:35:6: warning: comparison between signed and unsigned integer expressions
    In file included from /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:13:0:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h: At top level:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h:251:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nv_spinlock_t’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h:1436:5: error: expected specifier-qualifier-list before ‘nv_spinlock_t’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_alloc_file_private’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1993:5: error: implicit declaration of function ‘semaphore_init’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1994:5: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1995:5: error: implicit declaration of function ‘atomic_spin_lock_init’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1995:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_kern_poll’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2790:30: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2793:5: error: implicit declaration of function ‘atomic_spin_lock_irqsave’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2793:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2804:5: error: implicit declaration of function ‘atomic_spin_unlock_irqrestore’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2804:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_kern_close_registry’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3595:18: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3611:22: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_kern_write_registry’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3703:51: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3710:45: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3720:9: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_post_event’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4330:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4347:5: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4348:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_get_event’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4362:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4365:9: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4390:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    make[3]: *** [/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.o] Error 1
    make[2]: *** [_module_/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    ==> ERROR: A failure occurred in build().
        Aborting...
    thanks,
    jason

  • How to install solaris 8 with a nvidia M64 agp ?

    How to install solaris 8 with a nvidia M64 agp ?

    Use kdmconfig. Make sure your running MU3 or greater because there are some patches
    specific to the M64 cards that are needed to run in the hi res modes.
    ---Bob

  • [solved] building the kernel headers for custom kernels

    well, ive been building several different kernels for my laptop, so that i can test stuff. but ive got a problem with the kernel headers.
    ive mirrored the arch kernel's PKGBUILD and modified some naming to get a custom kernel. but when i try to build a custmo module, it complains the headers are broken. (example, vbox_build_module).
    im pasting the pkgbuild here for future reference...if someone sees something thats plain wrong, please say so.
    thanks
    # $Id: PKGBUILD 60382 2009-12-04 15:31:11Z tpowa $
    # Maintainer: Tobias Powalowski <[email protected]>
    # Maintainer: Thomas Baechler <[email protected]>
    pkgbase="kernel26"
    #pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -ARCH kernel
    pkgname=('kernel26-git' 'kernel26-git-headers') # Build kernel with a different name
    _kernelname=${pkgname#kernel26}
    pkgver=2.6.34
    pkgrel=1
    _patchname=""
    _branch="linux-2.6"
    _gittag="v2.6.34-rc3"
    #_gittag="origin"
    arch=(i686 x86_64)
    license=('GPL2')
    groups=('base')
    url="http://www.kernel.org"
    source=(config
    # standard config files for mkinitcpio ramdisk
    kernel26.preset
    ${_patchname})
    build() {
    cd ${srcdir}/$_branch
    msg "Fetching branch ${_branch}"
    ## FOR BISECT, Comment these lines
    git reset --hard
    git clean -d -f
    git fetch
    msg "Cheking out tag ${_gittag}"
    git checkout $_gittag
    ### a patch
    if [ "${_patchname}" != "" ]; then
    patch -Np1 -i ${srcdir}/$_patchname || return 1
    fi
    # if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    # else
    cat ../config >./.config
    # fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    make menuconfig # CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make bzImage modules || return 1
    package_kernel26-git() {
    pkgdesc="The Linux Kernel and modules"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'kernel26-firmware>=2.6.32' 'module-init-tools' 'mkinitcpio>=0.5.20')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1' 'atl2' 'wlan-ng26' 'rt2500')
    install=kernel26.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/$_branch
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # # add vmlinux
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset || return 1
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i $startdir/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
    # remove build and source links
    rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    package_kernel26-git-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26"
    mkdir -p ${pkgdir}/lib/modules/${_kernver}
    cd ${pkgdir}/lib/modules/${_kernver}
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd ${srcdir}/$_branch
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers vor virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    cd ${pkgdir}/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    # add header for aufs2-util
    cp -a ${srcdir}/$_branch/include/asm-generic/bitsperlong.h ${pkgdir}/usr/src/linux-${_kernver}/include/asm/
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    package_kernel26-firmware() {
    pkgdesc="The included firmware files of the Linux Kernel"
    groups=('base')
    cd ${srcdir}/$_branch
    make firmware || return 1
    make INSTALL_MOD_PATH=${pkgdir} firmware_install || return 1
    Last edited by eldragon (2010-04-04 14:58:16)

    ngoonee wrote:
    Check out this line
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
    for anything that might be missing. The error message when compiling would give you more of a clue. Off-hand, you may need to add 'generated', as I recall I needed that when the kernel moved to 2.6.33.
    Problem with vbox_build_module after Kernel update.
    Would you care to elaborate for us less versed in "Linux Geek" skills?
    Thanks.......
    [root@Arch2009p2 jeff]# vbox_build_module
    Building vboxdrv for Linux 2.6.33-ARCH
    make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
    for f in . linux r0drv r0drv/generic r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxdrv* .tmp_ver* vboxdrv.* Module.symvers Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make[1]: Entering directory `/opt/VirtualBox/src/vboxnetflt'
    for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxnetflt* .tmp_ver* vboxnetflt.* Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetflt'
    make[1]: Entering directory `/opt/VirtualBox/src/vboxnetadp'
    for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxnetadp* .tmp_ver* vboxnetadp.* Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetadp'
    rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko
    *** Building 'vboxdrv' module ***
    make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
    make KBUILD_VERBOSE= -C /lib/modules/2.6.33-ARCH/build SUBDIRS=/opt/VirtualBox/src/vboxdrv SRCROOT=/opt/VirtualBox/src/vboxdrv modules
    make[2]: Entering directory `/usr/src/linux-2.6.33-ARCH'
    CC [M] /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o
    In file included from /opt/VirtualBox/src/vboxdrv/include/VBox/types.h:34,
    from /opt/VirtualBox/src/vboxdrv/linux/../SUPDrvInternal.h:39,
    from /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.c:37:
    /opt/VirtualBox/src/vboxdrv/include/iprt/types.h:100:30: error: linux/autoconf.h: No such file or directory
    make[3]: *** [/opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o] Error 1
    make[2]: *** [_module_/opt/VirtualBox/src/vboxdrv] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
    make[1]: *** [vboxdrv] Error 2
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make: *** [all] Error 2

  • I have to re-build broadcom-wl every time I update the kernel...

    If the kernel is updated, the broadcom-wl driver won't work after rebooting. Then I have to rebuild it from AUR.
    I guess it's because this package is installed to the directory where the current version of the kernel lies.
    But I have no idea how to fix this problem. Any suggestions? Thanks!

    Lavande wrote:Any suggestions?
    If you don't want to rebuild on minor-version updates, check out any other kernel module PKGBUILD. Short answer, they're in /lib/modules/extramodules-*.*-ARCH or related.
    Better yet, just bug the package maintainer to update his PKGBUILD according to the above. I've done so for my nvidia-beta-all package, for example (and all the repo-based kernel modules place modules there).

  • Any fix for the kernel panic issue?

    So far, i've had 12 kernel panics. Usually it only happens when I start iTunes or software update. I read in a developer forum it was because of the NVIDIA Graphics card. So, are there any fixes for the kernel panics with Lion?

    There is no bluetooth connectivity issue after the recent OS update. There may be a problem with your phone, which may or may not be related to the update. A "common problem" looks like this in the forums:
    I haven't seen any threads on BlueTooth with over 1.4 million views and over 12,000 replies, or even any vaguely close. For any problem that someone has there is bound to be someone else amoung 150 million users who have it. That doesn't make it a "common problem."
    If you tell us what the problem is specifically and what you have done so far to try to resolve it someone can probably help you.

  • Downgrade nvidia by recompiling against current kernel

    I would like to downgrade my Nvidia driver to 295.59 and still use my current kernel. The Arch Wiki says here to
    search for the package you wish to downgrade. Once you find it, click "View SVN entries" and select "View Log". Locate the version you need and click on the path. Then just download the files located in that directory and build it with makepkg
    but this does not seem to be there. That is, all I can find is a "View Changes" feature, which results in what looks like a "diff" file. I've tried to modify the PKGBUILD file accordingly by starting with the ABS PKGBUILD and then compiling, but it failed with
    Starting package_opencl-nvidia()...
    install: cannot stat ‘libnvidia-opencl.so.295.59’: No such file or directory
    ==> ERROR: A failure occurred in package_opencl-nvidia().
    Aborting...
    Any help would be appreciated.

    Sounds like you are building the prerequisite package, nvidia-utils.   I think the opencl-nvidia package was built differently back in 295.59.  If you don't need the "opencl-nvidia" package, just remove 'opencl-nvidia' from the pkgname array in the PKGBUILD file.
    Change:
    pkgname=('nvidia-utils' 'opencl-nvidia')
    to
    pkgname=('nvidia-utils')
    Then rerun the makepkg.

  • So im trying to compile the kernel......

    I'm trying to compile the kernel so i can use the ati drivers.
    i have the PKGBUILD.custom_kernel file in a /var/abs/local/kernal/.
    # Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.org>
    pkgname=kernel26
    pkgver=2.6.11.10
    pkgrel=1
    pkgdesc="I likes the Chicken!"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    install=kernel26.install
    ##### add any patch sources to this section
    source=(config ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2 )
    # Function to grab var from src
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    ##### Uncomment and apply any patches here
    #patch -Np1 -i ../patchname || return 1
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    ##### Load config - uncomment your preferred config method
    #yes "" | make config
    #make oldconfig || return 1
    #make menuconfig
    #make xconfig
    make gconfig
    ##### NO USER CHANGES BELOW HERE #####
    # save the current pkgname
    old_pkgname=$pkgname
    # set pkgname for build purposes - DO NOT alter!
    pkgname=kernel26
    # save the updated config to build with today's date
    cp ./.config $startdir/config-$(date +%b%d-%Hh)
    # get EXTRAVERSION from Makefile to create a unique pkgname and /usr/src directory
    _kernextra=$(getvar "EXTRAVERSION")
    # grab the 2.6.x.y version suffix from pkgver
    _y="`echo $pkgver | cut --delim "." --fields 4`"
    # remove .y version suffix from _kernextra
    _kernextra="`echo $_kernextra | sed "s|.$_y||g"`"
    # Read the full kernel version info from new config to use in pathnames and pkgname
    . ./.config
    # Kernel custom - to create a unique pkgname (see below)
    _kerncust="${_kernextra}${CONFIG_LOCALVERSION}"
    # Kernel release - will be the same as Makefile
    _kernrel="${pkgver}${_kerncust}"
    # Get the pkgver suffix for unique pkgname and /boot file suffices
    _pkgversuf="`echo $pkgver | sed "s|2.6.||g" | sed "s|.||g"`"
    # Set /boot file suffices from kernel release and pkgver suffix
    _kernboot="${_pkgversuf}${_kerncust}"
    # Set a new pkgname from kernel release and pkgver suffix
    pkgname="${pkgname}${_pkgversuf}${_kerncust}"
    # build!
    echo
    echo -n "Do you want to make clean (default YES)? (YES/NO): "
    read choice
    echo
    echo -n "Press any key to start make or CTRL+C to quit"
    read anykey
    if [ "${choice}" = "NO" ] ; then
    make bzImage modules || return 1
    else
    make clean bzImage modules || return 1
    fi
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26${_kernboot}
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26${_kernboot}
    install -D -m644 Makefile
    $startdir/pkg/usr/src/linux-${_kernrel}/Makefile
    install -D -m644 .config
    $startdir/pkg/usr/src/linux-${_kernrel}/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26${_kernboot}
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/include
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernrel}/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-${_kernrel}
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/
    cp arch/i386/kernel/asm-offsets.s
    $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernrel}/$i
    done
    cd $startdir/pkg/usr/src/linux-${_kernrel}/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-${_kernrel}
    cd $startdir/pkg/lib/modules/${_kernrel} &&
    (rm -f source build; ln -sf /usr/src/linux-${_kernrel} build)
    # Correct the pkgname in our PKGBUILD - this allows correct gensync operation
    # NOTE: pkgname variable must be declared with first 10 lines of PKGBUILD!
    cd $startdir
    sed -i "1,11 s|pkgname=$old_pkgname|pkgname=$pkgname|" ./PKGBUILD
    # vim:syntax=sh
    and when i try makepkg i get
    ==> Making package:   (Sun May 29 20:38:10 UTC 2005)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with MD5sums
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    /usr/bin/makepkg: line 557: build: command not found
    ==> ERROR: Build Failed.  Aborting...

    i got it to compile and when i try to use pacman -U kernel261110-ARCH-2.6.11.10-1.pkg.tar.gz
    i got a bunch of errors like this
    kernel261110-ARCH: /usr/src/linux-2.6.11.10-ARCH/sound/usb/Kconfig: exists in filesystem
    and it dosent install

  • Nvidia nforce driver Vs Standard Kernel driver modules

    Has anyone compared the drivers for nforce chips?
    im currently using the in-kernel drivers and am not having in trouble.. with the exception of the crappy onboard sound chip that doesnt have a hardware mixer..
    im wondering if switching to the nforce drivers might help with the sound.. or provide any benefits at all, be it speed / stability / etc.

    I had problems with the kernel audio driver giving me static filled output, plus the software-only mixing problem. Word is that nvidia won't share enough of their hardware secrets with the ALSA devs to allow proper hardware mixing. I also never was able to pin down the static problem but it did not occur with the nvidia OSS modules, so I must assume it was a problem with the ALSA driver. I finally switched to a Via chipset because I needed ALSA and had a spare Via KT880 sitting around. Everything works greats on this board with included ALSA modules, including hardware mixing.

  • Nvidia-Beta drivers crash with Kernel 3.18.2

    After the upgrade to kernel 3.18.2 I recompiled the NVIDIA-Beta drivers to discover that crashes in the kernel.  Has anyone got any ideas on how to rectify this issue or have had similar problems?
    Log is at the following link - http://pastebin.com/frfMi9qJ
    And below is a tiny snippet
    [ 15.933352] ------------[ cut here ]------------
    [ 15.933363] WARNING: CPU: 0 PID: 663 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x17e/0x190 [drm]()
    [ 15.933393] No drm_driver.set_busid() implementation provided by nvidia_frontend_exit_module [nvidia]. Use drm_dev_set_unique() to set the unique name explicitly.
    [ 15.933394] Modules linked in:
    [ 15.933395] arc4 ecb md4 md5 hmac nls_utf8 cifs dns_resolver fscache tda18271 tda10048 cfg80211 rfkill snd_hda_codec_hdmi xpad ff_memless led_class mousedev joydev nvidia(PO) coretemp hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm crct10dif_pclmul saa7164(+) iTCO_wdt crc32_pclmul crc32c_intel iTCO_vendor_support ghash_clmulni_intel mxm_wmi evdev aesni_intel mac_hid tveeprom aes_x86_64 lrw dvb_core gf128mul alx glue_helper v4l2_common ablk_helper videodev cryptd drm psmouse tpm_tis media nuvoton_cir mdio tpm serio_raw rc_core battery video processor snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer mei_me snd i2c_i801 mei i2c_core soundcore lpc_ich shpchp wmi pcspkr button sch_fq_codel vboxdrv(O) sg ext4 crc16
    [ 15.933420] mbcache jbd2 uvesafb hid_generic usbhid hid sr_mod cdrom sd_mod atkbd libps2 ahci libahci libata ehci_pci xhci_pci xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio
    [ 15.933429] CPU: 0 PID: 663 Comm: Xorg.bin Tainted: P O 3.18.2-2-ARCH #1
    [ 15.933430] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z87 Killer, BIOS P1.00 09/16/2013
    [ 15.933431] 0000000000000000 00000000aa63387f ffff8807eb967c98 ffffffff8154f134
    [ 15.933432] 0000000000000000 ffff8807eb967cf0 ffff8807eb967cd8 ffffffff81072bc1
    [ 15.933433] ffff8807eb967f1c ffff8807eb967df0 ffff8807eb990000 ffff8807f295a780
    [ 15.933435] Call Trace:
    [ 15.933439] [<ffffffff8154f134>] dump_stack+0x4e/0x71
    [ 15.933442] [<ffffffff81072bc1>] warn_slowpath_common+0x81/0xa0
    [ 15.933444] [<ffffffff81072c35>] warn_slowpath_fmt+0x55/0x70
    [ 15.933449] [<ffffffffa03f037e>] drm_setversion+0x17e/0x190 [drm]
    [ 15.933451] [<ffffffff811de6b2>] ? path_openat+0xc2/0x6e0
    [ 15.933455] [<ffffffffa03efe0c>] drm_ioctl+0x2cc/0x680 [drm]
    [ 15.933458] [<ffffffffa03f0200>] ? drm_noop+0x40/0x40 [drm]
    [ 15.933460] [<ffffffff811dfd59>] ? do_filp_open+0x49/0xd0
    [ 15.933462] [<ffffffff811e23e0>] do_vfs_ioctl+0x2d0/0x4b0
    [ 15.933463] [<ffffffff811df196>] ? final_putname+0x26/0x50
    [ 15.933465] [<ffffffff811e2641>] SyS_ioctl+0x81/0xa0
    [ 15.933468] [<ffffffff81554ca9>] system_call_fastpath+0x12/0x17
    [ 15.933469] ---[ end trace 1f206c9a64b932eb ]---
    [ 17.257683] ------------[ cut here ]------------

    ok, that worked.
    but my x server will not start after downgrading linux kernel, nvidia and nvidia-utils. oO
    looks like the known problem with the kernel and nvidia freeze. are there more packages that i have to downgrade?

Maybe you are looking for