Flash on AMD64 without 32bit binary with nspluginwrapper

Posted on May 8th, 2007
Some time ago I read about nspluginwrapper on gentoo-portage and now finally tried if it works. With this little programm it should be able to wrap 32bit plugins with 64bit browsers, so you don’t need to chroot oder install 32bit binarys. It’ some kind of ndiswrapper but for all kind of browser plugins. At the moment it supports:

  • Acrobat Reader (5.0.9, 7.0.1)
  • DejaVu Libre (3.5.14)
  • Flash Player (7.0, 9.0)
  • Linux JPEG 2000 (0.0.2)
  • Mplayerplug-in (2.80, 3.25)
  • Real Player (10.0.5)
  • ICA Citrix Client
  • Most important for me is the flash plugin, especially for music in youtube or on sites like mixupload. It’s also possible to watch/hear that stuff without flash, I know that, but with flash it’s kind of faster and if I like it I can still download it the way I used to before having flash on 64 bit ;)

    The installation is really easy and straight, so let’s go:

    First you need to emerge nspluginwrapper.

    emerge -av nspluginwrapper

    If you are running a stable gentoo system you will need put it in package.keywords as it’s still in testing (it’s running really fine here so try it)

    echo net-www/nspluginwrapper >> /etc/portage/package.keywords

    Now as an example we will try installing the flash plugin with

    emerge -av netscape-flash

    and tell nspluginwrapper to scan and install the existing plugins with

    nspluginwrapper -v -a -i

    Now there should be something like that in your about:plugins screen and flash should work fine. For example a youtube video.

    nspluginwrapper on amd64nspluginwrapper with youtube video

    bomba.homeunix.org is back

    Posted on April 9th, 2007

    by bomba

    Yeah, my new server is ready:

    bomba.homeunix.org is back :)

    Apache2 is started,
    Ircd is started and uplinked,
    Jabberd comming sone (teststation for teranetworks)

    and some other daemons.

    My new Server:

    OS: Gentoo ~x86

    Processors 2
    Model Intel(R) Pentium(R) 4 CPU 3.20GHz HT
    MHZ: 3,21 GHz
    Cache: 1024,00 KB
    System Bogomips 12830.47
    HDD: 1 x 120gb, 1x 80gb and 1 x 20gb for backups

    but atm only 512mb Ram .. in 2 Month 2gb.

    So Long

    Getting Voice Software working with Audigy 4 and Nforce2 OnBoardsound

    Posted on April 3rd, 2007

    I tried to use TeamSpeak to speak with some friends while playing, but i didn’t succeed to get it working. I tried to put “aoss” in front of the “TeamSpeak” command, nothing changed. So i tried to find out, what i can do. First i merged audacity where i found out, that my microphone doesn’t work with the default device. I had to change from “Mic Capture” to “ALSA: Audigy4: Multichannel Capture/PT Playback (hw:0,2)”. But in TeamSpeak was no Option to use this devicepart.
    After this i tried “mumble” a really nice voice software that is opensource and works unter Windows and Linux. More infos here [1]. I used the svn version, the ebuild didn’t compile. I used this [2] introduction to install it.
    When i start mumble and joined a server i could here others, a step further to a solution (in TS i didn’t hear anything). Although mumble uses Alsa i still can’t talk, just crazy sounds coming over to others. After some time hacking around with the config i started to try my onboard Chip. I have a Asus A7N8X Deluxe 2.0 so i needed the “intel8×0″ driver. I made a new Kernel with emu10k1 for my Audigy 4 and intel8×0 for the Realtek Chip on board. I used ALSA and the drivers as modules. More infos here [3] especially 2.4.
    So now i wanted to use the Audigy 4 for Output and the intel8×0 for input, because microphone with intel8×0 works fine. So i used [3] and [4] to make my Gentoo using both cards as one.
    I had to modify some files:

    /etc/make.conf:

    ALSA_CARDS="emu10k1 intel8x0"

    /etc/modules.d/alsa:

    alias /dev/mixer snd-mixer-oss
    alias /dev/dsp snd-pcm-oss
    alias /dev/midi snd-seq-oss
    
    alias snd-card-0 snd-emu10k1
    alias snd-card-1 snd-intel8x0
    alias sound-slot-0 snd-card-0
    alias sound-slot-1 snd-card-1
    options snd-emu10k1 index=0
    options snd-intel8x0 index=-2

    .asoundrc:

    pcm.!default {
        type plug
        slave {
            pcm {
                type    asym
                playback.pcm dmix:0
                capture.pcm dsnoop:1
            }
        }
    }
    pcm.dsp pcm.!default

    Now i made sure that alsasound is added to the runlevel and configured Alsamixer.
    So the Audigy is working for output and the Realtek Chip is working for the input.
    Now i can use mumble and TeamSpeak. There is just one problem left with mumble. When more then 1 User speak it crashes, if anyone has a solution please report me:
    ALSA lib pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave

    [1] http://mumble.sourceforge.net/
    [2] http://www.linux-gamers.net/modules/newbb/viewtopic.php?topic_id=2896&forum=6
    [3] http://www.gentoo.de/doc/de/alsa-guide.xml
    [4] http://de.gentoo-wiki.com/Soundkarten_kombinieren

    Mozilla Schriften anpassen | setting Mozilla fonts

    Posted on March 17th, 2007
    I had problems with the fonts when I changed from Ubuntu to Gentoo. With gtk-theme i could fix the problem with most of my tools. However, the fonts for Firefox, Thunderbird and Seamonkey were still ugly. As none of the mozilla progammes having direct acces to these settings by the preference menu, I started to search for a solution. According to the suggestion to use a ~/.fonts.conf to change my settings, I went on to the userChrome.css file as I failed with the ~/.fonts.conf. This file is in every profile folder of mozilla tools in the folder /chrome, if not, you have to create it. This file regulates the settings for the design in menu and fonts. I used a global setting, because I wanted to have the settings for fonts in every part of my mozilla tools. The guys who want to config it more in detail should take a look to the following sites:

    Userstyles
    Customizing Mozilla

    My userChrome.css looks now like this:

    * {
    font-family: fixed !important;
    font-size: 10px !important;
    }

    The font depends now on my setting in gtk. Here it is “Terminus”, but you are free to use your own favorite. The font-size should be small and equal but still readable, so I took 10px. The “px” is important, otherwise there will be some parts in the menu that would not be affected by the config.

    Here are some screenshots of my config in Firefox, Seamonkey and Thunderbird:

    FirefoxSeamonkeyThunderbird

    libsdl not compiling because of yasm-0.5.0 error installing zsnes

    Posted on March 14th, 2007

    Problem:

    I love playing old SNES games so I use zsnes as emulator. Trying to emerge it I got the problem that libsdl wasn’t compiling (it’s an dependency of zsnes) and aborted with:

    ./src/hermes/mmx_main.asm:75: invalid argument to [SECTION]
    ./src/hermes/mmx_main.asm:75: undefined symbol `.note.GNU’ (first use)
    ./src/hermes/mmx_main.asm:75: undefined symbol `stack’ (first use)
    ./src/hermes/mmx_main.asm:75: (Each undefined symbol is reported only once.)
    make: *** [build/mmx_main.lo] Error 1
    make: *** Waiting for unfinished jobs….
    ./build-scripts/strip_fPIC.sh /usr/bin/yasm -f elf -I ./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmxp2_32.asm -fPIC -DPIC -o build/.libs/mmxp2_32.o
    /usr/bin/yasm -f elf -I ./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmxp2_32.asm -o build/.libs/mmxp2_32.o
    ./src/hermes/mmxp2_32.asm:406: invalid argument to [SECTION]
    ./src/hermes/mmxp2_32.asm:406: undefined symbol `.note.GNU’ (first use)
    ./src/hermes/mmxp2_32.asm:406: undefined symbol `stack’ (first use)
    ./src/hermes/mmxp2_32.asm:406: (Each undefined symbol is reported only once.)
    make: *** [build/mmxp2_32.lo] Error 1

    !!! ERROR: media-libs/libsdl-1.2.11-r1 failed.
    Call stack:
    ebuild.sh, line 1614: Called dyn_compile
    ebuild.sh, line 971: Called qa_call ’src_compile’
    environment, line 3571: Called src_compile
    libsdl-1.2.11-r1.ebuild, line 160: Called die

    !!! emake failed
    !!! If you need support, post the topmost build error, and the call stack if relevant.
    !!! A complete build log is located at ‘/var/tmp/portage/media-libs/libsdl-1.2.11-r1/temp/build.log’.

    Searching through the gentoo forum and bugtracker I found out that the problem isn’t gentoo specific as some Slackware users also have that problem and it’s caused by the current version of yasm which is yasm-0.5.0. With yasm-0.4.0 everything is just fine.

    Solution:

    Gentoo users just mask the package with

    # echo “=dev-lang/yasm-0.5.0″ >> /etc/portage/package.mask

    Users of other distributions have to look in the manpage of their package manager ;)

    hf, I’m going to play some “zelda, a link to the past” now :P


    design: makequick.com | modificashuns and bugfixes by jesse
    bottom