Page 3 of 34 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 333

Thread: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

  1. #21
    Join Date
    Sep 2006
    Location
    indonesia
    Beans
    28
    Distro
    Kubuntu 13.04 Raring Ringtail

    Unhappy Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    sory double post
    Last edited by tux-gamer; September 30th, 2006 at 01:10 PM.

  2. #22
    Join Date
    Aug 2005
    Beans
    704
    Distro
    Edgy Eft Testing

    Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing


  3. #23
    Join Date
    Sep 2006
    Location
    indonesia
    Beans
    28
    Distro
    Kubuntu 13.04 Raring Ringtail

    Unhappy Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    That what i did, the problem is, when i change this line:
    Code:
    MODULE_PARM(vapu_enable, "i");
    to:
    Code:
    module_param(vapu_enable, int, 0444);
    I got this nforce-intaller.log:
    Code:
       include/asm/io.h: In function `check_signature':
       include/asm/io.h:245: warning: wrong type argument to increment
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c: At top level:
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: error: syntax error before "int"
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: warning: type defaults to `int' in declaration of `module_
       parm'
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: warning: function declaration isn't a prototype
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: warning: data definition has no type or storage class
       make[4]: *** [/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-p
       kg1/nvsound/main/nvmain.o] Error 1
    But, if i not change this line:
    Code:
    MODULE_PARM(vapu_enable, "i");
    I got this nforce-installer.log:
    Code:
       include/asm/io.h: In function `check_signature':
       include/asm/io.h:245: warning: wrong type argument to increment
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c: At top level:
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2190: error: syntax error before string constant
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2190: warning: type defaults to `int' in declaration of `MODULE_
       PARM'
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2190: warning: function declaration isn't a prototype
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2190: warning: data definition has no type or storage class
       make[4]: *** [/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-p
       kg1/nvsound/main/nvmain.o] Error 1
    How to fix the Syntax error, or Any ideas.

    edit: sSory, the nforce-installer.log on Mandriva 2005 in my first post, is wrong, this the right one:
    Code:
     nforce-installer log file '/var/log/nvidia-nforce-installer.log'
    creation time: Sat Sep 30 15:45:46 2006
    
    option status:
      license pre-accepted      : false
      expert                    : false
      uninstall                 : false
      driver info               : false
      no precompiled interface  : false
      no ncurses color          : false
      no questions              : false
      silent                    : false
      Installer install prefix  : /usr
      kernel source path        : (not specified)
      net kernel install path   : (not specified)
      audio kernel install path : (not specified)
      proc mount point          : /proc
      ui                        : (not specified)
      tmpdir                    : /root/tmp
    
    Using: nvidia-installer ncurses user interface
    -> Found package NVIDIA audio driver for Linux-x86
    -> Found package NVIDIA network driver for Linux-x86
    -> Please select packages for installation:
       Selections:
       NVIDIA audio driver for Linux-x86 (1.0-7)
    -> Starting install of NVIDIA audio driver for Linux-x86
    -> Checking for loaded module nvsound
    -> Checking for loaded module nvaudio
    -> License accepted.
    -> Skipping check for conflicting rpms.
    -> /proc/version is Linux version 2.6.18 (root@localhost) (gcc version 3.4.3
       (Mandrakelinux 10.2 3.4.3-7mdk)) #1 Sat Sep 30 14:52:36 WIT 2006
    -> No precompiled kernel interface was found to match your kernel; this means
       that the installer will need to compile a new kernel interface.
    -> Kernel source path: '/lib/modules/2.6.18/source'
    -> Kernel output path: '/lib/modules/2.6.18/build'
    -> Performing cc_version_check with CC="cc".
    -> running command /bin/grep "^PATCHLEVEL ="
       /lib/modules/2.6.18/source/Makefile | /bin/cut -d " " -f 3
    -> Kernel module filename is nvsound.ko
       Cleaning kernel module build directory.
       executing: 'cd ./nvsound/main; make clean'...
       rm -f *.ko *mod.* *.cmd nv*.o *~ core
    -> Building kernel module:
       executing: 'cd ./nvsound/main; make module SYSSRC=/lib/modules/2.6.18/source
       SYSOUT=/lib/modules/2.6.18/build'...
       make -C /lib/modules/2.6.18/build \
       KBUILD_SRC=/usr/src/linux-2.6.18 \
       KBUILD_EXTMOD="/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-
       pkg1/nvsound/main" -f /usr/src/linux-2.6.18/Makefile modules
       test -e include/linux/autoconf.h -a -e include/config/auto.conf || (         \
       echo;                                                                \
       echo "  ERROR: Kernel configuration is invalid.";            \
       echo "         include/linux/autoconf.h or include/config/auto.conf are miss
       ing.";       \
       echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.
       ";   \
       echo;                                                                \
       /bin/false)
       mkdir -p /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/n
       vsound/main/.tmp_versions
       rm -f /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvso
       und/main/.tmp_versions/*
       make -f /usr/src/linux-2.6.18/scripts/Makefile.build obj=/os/data-1/ftp/pub/
       SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
         cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
       g1/nvsound/main/.nvalinux.o.d  -nostdinc -isystem /usr/lib/gcc/i586-mandrake
       -linux-gnu/3.4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-
       2.6.18/include -include include/linux/autoconf.h  -I/os/data-1/ftp/pub/Syste
       mDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstric
       t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msof
       t-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -ffrees
       tanding -I/usr/src/linux-2.6.18/include/asm-i386/mach-default -Iinclude/asm-
       i386/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdecl
       aration-after-statement  -I/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x
       86-1.0-0310-pkg1/nvsound/main -O3 -Wall -march=athlon-xp -mtune=athlon-xp -W
       implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
       ointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_RE
       MAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s
       )=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvalinux)"  -D"KBUILD_MODNAME=KBUILD_STR
       (nvsound)" -c -o /os/data-1
       /ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinu
       x.o /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsoun
       d/main/nvalinux.c
       In file included from include/linux/list.h:8,
                        from include/linux/lockdep.h:12,
                        from include/linux/spinlock_types.h:12,
                        from include/linux/spinlock.h:78,
                        from include/linux/capability.h:45,
                        from include/linux/sched.h:44,
                        from include/linux/module.h:9,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvalinux.c:19:
       include/linux/prefetch.h: In function `prefetch_range':
       include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
       metic
       In file included from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvalinux.c:25:
       include/asm/io.h: In function `check_signature':
       include/asm/io.h:245: warning: wrong type argument to increment
         cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
       g1/nvsound/main/.nvmixer.o.d  -nostdinc -isystem /usr/lib/gcc/i586-mandrake-
       linux-gnu/3.4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2
       .6.18/include -include include/linux/autoconf.h  -I/os/data-1/ftp/pub/System
       DanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstrict
       -prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft
       -float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -ffreest
       anding -I/usr/src/linux-2.6.18/include/asm-i386/mach-default -Iinclude/asm-i
       386/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdecla
       ration-after-statement  -I/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x8
       6-1.0-0310-pkg1/nvsound/main -O3 -Wall -march=athlon-xp -mtune=athlon-xp -Wi
       mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
       inter-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_REM
       AP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DM
       ODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvmixer)"  -D"KBUIL
       D_MODNAME=KBUILD_STR(nvsound)" -c -o /os/data-1/ftp/pub/SystemDanDriver/NFOR
       CE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmixer.o /os/data-1/ftp/pub/SystemD
       anDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmixer.c
       In file included from include/linux/list.h:8,
                        from include/linux/lockdep.h:12,
                        from include/linux/spinlock_types.h:12,
                        from include/linux/spinlock.h:78,
                        from include/linux/capability.h:45,
                        from include/linux/sched.h:44,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvhw.h:29,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvmixer.c:14:
       include/linux/prefetch.h: In function `prefetch_range':
       include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
       metic
       In file included from include/linux/dmapool.h:14,
                        from include/linux/pci.h:564,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvhw.h:35,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvmixer.c:14:
       include/asm/io.h: In function `check_signature':
       include/asm/io.h:245: warning: wrong type argument to increment
         cc -Wp,-MD,/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pk
       g1/nvsound/main/.nvmain.o.d  -nostdinc -isystem /usr/lib/gcc/i586-mandrake-l
       inux-gnu/3.4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.
       6.18/include -include include/linux/autoconf.h  -I/os/data-1/ftp/pub/SystemD
       anDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstrict-
       prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-
       float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -ffreesta
       nding -I/usr/src/linux-2.6.18/include/asm-i386/mach-default -Iinclude/asm-i3
       86/mach-default -fno-omit-frame-pointer -f
       no-optimize-sibling-calls -Wdeclaration-after-statement  -I/os/data-1/ftp/pu
       b/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -O3 -Wall -mar
       ch=athlon-xp -mtune=athlon-xp -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
       har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -
       Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_
       PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvmain)"
        -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /os/data-1/ftp/pub/SystemDanDr
       iver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmain.o /os/data-1/ftp/pub
       /SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvmain.c
       In file included from include/linux/list.h:8,
                        from include/linux/lockdep.h:12,
                        from include/linux/spinlock_types.h:12,
                        from include/linux/spinlock.h:78,
                        from include/linux/capability.h:45,
                        from include/linux/sched.h:44,
                        from include/linux/module.h:9,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvmain.c:27:
       include/linux/prefetch.h: In function `prefetch_range':
       include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
       metic
       In file included from include/linux/dmapool.h:14,
                        from include/linux/pci.h:564,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvhw.h:35,
                        from /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main/nvmain.c:29:
       include/asm/io.h: In function `check_signature':
       include/asm/io.h:245: warning: wrong type argument to increment
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c: At top level:
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: error: syntax error before "int"
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: warning: type defaults to `int' in declaration of `module_
       parm'
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: warning: function declaration isn't a prototype
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: warning: data definition has no type or storage class
       make[4]: *** [/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-p
       kg1/nvsound/main/nvmain.o] Error 1
       make[3]: *** [_module_/os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.
       0-0310-pkg1/nvsound/main] Error 2
       make[2]: *** [modules] Error 2
    -> Error.
    ERROR: The NVIDIA kernel module was not created.
    ERROR: Installation of the audio driver has failed.  Please see the file
           '/var/log/nvidia-nforce-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.
    nb: Sory for my bad english.
    Last edited by tux-gamer; October 1st, 2006 at 11:23 AM.

  4. #24
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,180
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    Quote Originally Posted by tux-gamer View Post
    That what i did, the problem is, when i change this line:
    Code:
    MODULE_PARM(vapu_enable, "i");
    to:
    Code:
    module_param(vapu_enable, int, 0444);
    I got this nforce-intaller.log:
    Code:
     /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: error: syntax error before "int"
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2191: warning: type defaults to `int' in declaration of `module_
       parm'
    But, if i not change this line:
    Code:
    MODULE_PARM(vapu_enable, "i");
    I got this nforce-installer.log:
    Code:
        /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2190: error: syntax error before string constant
       /os/data-1/ftp/pub/SystemDanDriver/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/ma
       in/nvmain.c:2190: warning: type defaults to `int' in declaration of `MODULE_
       PARM'
    How to fix the Syntax error, or Any ideas.
    It took me a while, but I managed to reproduce your error. Make sure you change the line in nvmain.c to exactly what the howto says. It should be 'module_param', not 'module_parm' or 'MODULE_PARM'.

    Good luck!

  5. #25
    Join Date
    Sep 2006
    Location
    indonesia
    Beans
    28
    Distro
    Kubuntu 13.04 Raring Ringtail

    Talking Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    Wow, thanks a lot.
    Now i can compile it under PCLinuxOS-0.93a + kernel 2.6.18 and with gcc-3.3.1.
    I will try compile it under Mandriva 2005 soon.

    Many thanks to you.

    Best regards.
    Teguh

    nb:Sory for my bad english.

  6. #26
    Join Date
    Sep 2006
    Location
    indonesia
    Beans
    28
    Distro
    Kubuntu 13.04 Raring Ringtail

    Talking Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    it work on My Mandriva2005 + kernel-2.6.18 + gcc-3.4.3.
    Thanks a lot JOCKO.

    Best regrads,
    Teguh.

    nb: Sory for my bad english.

  7. #27
    Join Date
    Aug 2006
    Beans
    469
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    I am able to open nvmixer yet when I enter nvmixer on the terminal it displays lots of Unabke to open the Mixer messages. I go into the NVMixer window and try to set the volumes but everytime I click something I get the following:

    Volume Bit Failed

    I am using Edgy Eft with kernel 2.6.17-10-386. My motherboard is a Asus A7N8x-deluxe with Nvidia nforce2 soundstorm. I followed the instructions word for word...

    Any ideas?
    Last edited by PRGUY85; October 5th, 2006 at 06:15 AM.

  8. #28
    Join Date
    Aug 2006
    Beans
    469
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    Anyone?

  9. #29
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,180
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    Quote Originally Posted by PRGUY85 View Post
    Anyone?
    Are you sure nvsound is loaded?
    Check what output you get if you run
    Code:
    lsmod | grep nvsound
    and
    Code:
    lsmod | grep intel8x0
    in a terminal.
    Last edited by jocko; October 5th, 2006 at 04:46 PM.

  10. #30
    Join Date
    Aug 2006
    Beans
    469
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: HOWTO: Nvidia nForce SoundStorm APU: Digital output, Surround and Hardware mixing

    lsmod | grep nvsound output:

    nvsound 1543224 0
    soundcore 9952 2 nvsound,snd

    lsmod | grep intel8x0 output:

    lsmod | grep intel8x0
    snd_intel8x0 33436 3
    snd_ac97_codec 96672 1 snd_intel8x0
    snd_pcm 80520 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_page_alloc 10504 2 snd_intel8x0,snd_pcm
    snd 55428 14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_ oss,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq _device,snd_pcm,snd_timer

Page 3 of 34 FirstFirst 1234513 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •