Package Details: oss-git 5693e1e-2

Git Clone URL: https://aur.archlinux.org/oss-git.git (read-only, click to copy)
Package Base: oss-git
Description: Open Sound System UNIX audio architecture
Upstream URL: http://developer.opensound.com/
Keywords: oss
Licenses: GPL2
Conflicts: libflashsupport-oss, libflashsupport-oss-nonfree, oss, oss-nonfree
Provides: oss
Submitter: Nowaker
Maintainer: seawright
Last Packager: seawright
Votes: 26
Popularity: 0.000000
First Submitted: 2013-09-21 13:15 (UTC)
Last Updated: 2024-02-08 22:55 (UTC)

Dependencies (6)

Required by (12)

Sources (12)

Pinned Comments

Galaxy commented on 2019-10-24 02:55 (UTC)

The latest support Intel HDA is 0x8c20, and I am using a348. If your sound card is not listed there, it is not supported.

  • 8c20 ("8 Series/C220 Series Chipset High Definition Audio Controller")
  • a348 ("Cannon Lake PCH cAVS")

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 15 Next › Last »

seawright commented on 2019-10-09 21:15 (UTC) (edited on 2019-10-09 21:34 (UTC) by seawright)

After upgrading Linux kernel from 5.1.21 to 5.2.3 with the exception of osscore.ko kernel modules failed to compile. Build list gave following error report:

Building modules, stage 2.
  MODPOST 1 modules
ERROR: "lynxone_attach" [/usr/lib/oss/build/lynxone.ko] undefined!
ERROR: "lynxone_detach" [/usr/lib/oss/build/lynxone.ko] undefined!
scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1604: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.2.3-050203-generic'
Makefile:15: recipe for target 'default' failed
make: *** [default] Error 2

Midna commented on 2019-08-27 01:37 (UTC)

The package compiles fine, but the osscore module still throws a GLOBAL_OFFSET_TABLE error, except it is now error -2 instead of 0.

Using GCC 9.0.1. Any fix?

Galaxy commented on 2019-07-24 11:47 (UTC)

I merge the version on <https://github.com/GalaxyAUR/oss-git>.

Added "-fno-pic -fno-PIE" for GCC > 5.

And change to "-O2" from "-O3".

Xylemon commented on 2019-07-24 03:15 (UTC) (edited on 2019-07-24 03:17 (UTC) by Xylemon)

@Galaxy,

export CC=gcc-5

export CXX=g++-5

export CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"

export CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"

That's all I added to the PKGBUILD, which worked for a while, although it seems I'm having trouble again with latest kernel. I've just given up again to be honest.

Galaxy commented on 2019-07-23 12:33 (UTC) (edited on 2019-07-23 12:33 (UTC) by Galaxy)

@Xylemon, Would you share your patch that make oss-git compile ?

Xylemon commented on 2019-07-22 20:48 (UTC) (edited on 2019-07-22 20:49 (UTC) by Xylemon)

I sadly can not get this to load unless I mod the script to compile with GCC5 (this is also with the GalaxyAUR Git repo). With latest GCC(9), osscore fails to load with this message:

[37591.137560] usbcore: deregistering interface driver oss_usb

[37613.232300] osscore: Unknown symbol GLOBAL_OFFSET_TABLE (err -2)

Unfortunately, another issue pops up when using OpenAL, see here: https://forum.artixlinux.org/index.php/topic,1064.0.html

I hope these issues can be resolved.

Galaxy commented on 2019-04-24 17:12 (UTC) (edited on 2019-04-24 17:25 (UTC) by Galaxy)

I just find the latest support Intel HDA is 0x8c20, and I am using a348. If your sound card is not listed there, it is not supported.

  • 8c20 ("8 Series/C220 Series Chipset High Definition Audio Controller")
  • a348 ("Cannon Lake PCH cAVS")

Galaxy commented on 2019-04-24 10:52 (UTC) (edited on 2019-04-24 17:41 (UTC) by Galaxy)

@sliviu Is -no-pie necessary ?

It seems good to use -O2 as suggested by Gentoo make.conf. Their kernel even suggests -Os.


I cannot load the module with -no-pie, I change it to -fno-pic -fno-PIE on <https://github.com/GalaxyAUR/oss-git>.

See also <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841368#36>.

Starting at gcc 6.2.0-7 we must provide "-fno-PIE -fno-PIC" in
beginning of CFLAGS to build kernel successfully.

If someone reports OK, I will push it here.

The /usr/bin/soundon also need to be patched. But you can just modprobe osscore anyway.

alexdw commented on 2019-04-24 06:44 (UTC)

@Galaxy: Thanks - reassigned maintainer from me to you.

And yes - I also tended to follow the comments here, and on the oss forums (in particular the Linux subform) for new patches: http://ossnext.trueinstruments.com/forum/viewforum.php?f=27

Galaxy commented on 2019-04-24 02:27 (UTC) (edited on 2019-04-24 05:24 (UTC) by Galaxy)

@alexdw Some questions on current PKGBUILD:

  1. Why configured with --enable-libsalsa=NO ? I find oss-nonfree come with libsalsa.so.2.0.0.

  2. The --config-midi=NO|YES seems not enabled by default. Why not append it with "YES" ?

  3. CONFIG_REGPARM=y should be available only on x86 kernels, override the automated checking with --regparm seems strange.