Latest Updates: Ubuntu RSS

  • Fullscreen flash in firefox 3.5 

    magnusium 7:04 pm on July 6, 2009 Permalink | Reply
    Tags: , , , , , Ubuntu

    Firefox 3.5 crashes when trying to view a flash video in fullscreen.
    Not to worry, for there is a workaround.

    in /usr/lib/firefox-3.5.1pre/firefox.sh

    EDIT: the path on Fedora 11 is: /usr/lib/firefox-3.5/run-mozilla.sh
    you add export LD_PRELOAD=/usr/lib/libGL.so.1 at the beginning of the file, but underneath #!/bin/sh

    So it looks like this:

    #!/bin/sh
    #fix the goddamn flash bug.
    export LD_PRELOAD=/usr/lib/libGL.so.1

    # Firefox launcher containing a Profile migration helper for
    # temporary profiles used during alpha and beta phases.

    Save, and try out some flash video in fullscreen.

    This should work for Archlinux, Fedora and Ubuntu. The path to firefox.sh might vary though.

    Workaround taken from https://bugs.launchpad.net/firefox/+bug/333127/comments/13

     
  • Karmic Koala Alpha 1 

    magnusium 10:41 am on May 18, 2009 Permalink | Reply
    Tags: Ubuntu, Karmic Koala, KDE 4.3,

    Testing Kubuntu Karmic, and KDE 4.3 Beta. This is going to be a great release! KDE 4.3 Beta is much improved from the 4.2.3 I’ve played with recently, all small things, and I’m sure I haven’t found them all yet. One has to be careful updating this thing though, yesterdays updates broke KDE totally, good thing I have fluxbox installed to fall back to when things break. And they will break, this is an alpha release afterall. There’s not a medibuntu repository set up for Karmic, so the Apple trailers won’t play, but everything else is working, Amarok can play daap streams again, pulseaudio seems to be working very well as my Audigy card now again outputs same signal to front and side speakers like I want it to. Flash videos don’t eat as much cpu as they used to.

    I installed Kubuntu Karmic Alpha 1 on my main desktop, Athlon XP 2600+ , 1,5 GB ram, Nvidia 6200 AGP and 40GB /, 80 GB /home with ext4 as file system. It’s using less than 500 megs of memory as I type this while Amarok is playing in the background and Firefox running with 1 whole tab open. I realized I suck at writing reviews, so I’ll shut up and post some pictures for you instead, ok? ;-)

    While I was taking these, Ksnapshot caused KDE to become unresponsive to anything but ctrl + alt + del bringing up the shutdown menu, and I found out ctrl + alt + backspace is disabled. Annoying.

    The calendar has gained some new features, you now get to see the holidays marked in red on the calendar. Configurable too by Country. This one is showing all holidays in Finland.

    You can find out more about KDE 4.3 here, and about Koala here.

    If you wonder about the theme I’m using, it’s called air and available on http://www.kde-look.org

     
  • Switching to Ubuntu, an adventure. 

    magnusium 9:41 am on January 4, 2009 Permalink | Reply
    Tags: , Ubuntu

    Found this great review of Ubuntu. AshPringle has a plan:

    The plan: Ring in the new year by switching over to Linux for a week, documenting each day of the transition.

    A very humoristic review too.


     
  • segmentation fault….50% 

    magnusium 8:54 pm on January 2, 2009 Permalink | Reply
    Tags: corrupt, , memory, segfault, Ubuntu

    Today i got a segfault from aptitude on Ubuntu 8.10. This is caused by corrupted files in /var/cache/apt/ and is usually caused by bad hardware like harddrives and such, I discovered a bad memory module when I ran memtest.
    The corrupted file in /var/cache/apt stops you from updating and installing packages, which isn’t very nice now is it? Here’s a fix for you:
    run this in a terminal
    sudo rm /var/cache/apt/*.bin && sudo aptitude update

    Then I would suggest you run memtest86+ and check for memory errors to be on the safe side.

    Thanks to Dean Lee for solving this and the guys and girls at ubuntuforums too.

     
  • Ubuntu 8.10 IOMMU 

    magnusium 7:05 pm on November 28, 2008 Permalink | Reply
    Tags: ibex, linux iommu 64bit, Ubuntu

    Since I installed Ubuntu Intrebid Ibex and upgraded my RAM to 4 gigs, i have been getting something like this message at boot:

    [    0.004000] Checking aperture…
    [    0.004000] No AGP bridge found
    [    0.004000] Node 0: aperture @ 20000000 size 32 MB
    [    0.004000] Aperture pointing to e820 RAM. Ignoring.
    [    0.004000] Your BIOS doesn’t leave a aperture memory hole
    [    0.004000] Please enable the IOMMU option in the BIOS setup
    [    0.004000] This costs you 64 MB of RAM
    [    0.004000] Mapping aperture over 65536 KB of RAM @ 20000000

    So I searched the ubuntuforums for the solution to this, and it was pretty simple:
    add iommu=noaperture to the kernel line in your /boot/grub/menu.list file. When You reboot, you will no longer get the error message.

    If the above solution doesn’t work, try iommu=soft instead.

    This is on 64bit Ubuntu 8.10 with an AMD Turion x2 processor and ATI chipset / graphics. Acer Aspire 5100 series.

     
    • Brenan 7:54 pm on December 13, 2008 Permalink

      Thanks for posting this. I had been searching on google for a good while and I finally stumbled upon your post. The iommu=noaperture worked for me – ubuntu 64bit, AMD Phenom 9850 BE and Asus Mobo (790FX chipset)

    • magnusium 10:23 pm on December 13, 2008 Permalink

      I’m glad you found it useful.

    • zappafan 6:59 am on December 15, 2008 Permalink

      Thanks from me, too. I have an ASUS M2N-SLI Mobo, Ubuntu 8.10 64bit, 4GB, Athlon 64×2 5600+. I found something also on the ASUSTeK support site that sent me here:
      ftp://download.nvidia.com/XFree86/Linux-x86/1.0-8174/README/32bit_html/appendix-l.html

      Scroll down a bit and there’s an IOMMU section.

    • magnusium 7:57 am on December 15, 2008 Permalink

      Thanks, this was educational.

      quote:
      On AMD’s AMD64 platform, the size of the IOMMU can be configured in the system BIOS or, if no IOMMU BIOS option is available, using the ‘iommu=memaper’ kernel parameter. This kernel parameter expects an order and instructs the Linux kernel to create an IOMMU of size 32MB^order overlapping physical memory. If the system’s default IOMMU is smaller than 64MB, the Linux kernel automatically replaces it with a 64MB IOMMU.
      end quote

      So this means that one can try iommu=memaper, if the noaperture and soft fails.

    • Sander 12:52 am on December 27, 2008 Permalink

      Hi,

      I think that by adding “iommu=…” only the message will go away, but you won’t get the 64 MB memory back.

      Easy way to check: use “free -m” in both cases (with and without the option iommu=…), and see if there’s any difference.

      Please let us know.

    • Sander 12:57 am on December 27, 2008 Permalink

      PS:

      There is some discussion and info on http://ubuntuforums.org/showthread.php?t=1018854

    • magnusium 11:57 am on December 27, 2008 Permalink

      I’ll have to subsribe to that thread, I don’t have Ubuntu on my laptop right now, had to go to “that other OS” for a while. But it won’t be long before I put Ubuntu back on it.
      My acer will not POST if I put the onboard graphics mem to less than 256 in my BIOS settings, tried it once and I had to rip out a stick of RAM to get back in to change the setting.

    • majµcarma 1:47 pm on February 14, 2009 Permalink

      Thank you for this post. I had the same problem last week.

      ASUSTek ALiveNF7G-FullHD R3.0 + MSI 9500GT 1Gb / Atlhon 64 X2 6100+ 4Gb RAM

  • Flash 10 64bit Linux Alpha 

    magnusium 6:02 pm on November 25, 2008 Permalink | Reply
    Tags: flash 64bit, , Ubuntu

    Howto install the new alpha of Adobe’s Flash 10 on 64bit Ubuntu 8.10.

    Download the plugin and extract it somewhere.

    Uninstall flashplugin-nonfree and nspluginwrapper using Synaptic “Mark for Complete Removal“.

    Then copy the libflashplayer.so you extracted earlier to /usr/lib64/mozilla/plugins/ .

    Edit: Gentoo users should copy to /usr/lib64/mozilla-firefox/plugins/

    That should be it!

     
  • Ubuntu 8.10 amd64 Suspend 

    magnusium 3:21 pm on November 25, 2008 Permalink | Reply
    Tags: atheros, laptop, , Suspend, Ubuntu

    Laptop,

    Acer Aspire 5102 wlmi

    4 GB RAM

    120 GB Harddrive

    And suspend to ram is finally working!

    had to add this little file to /etc/pm/config.d/ to get the atheros wifi to get back up when resumed.

    /etc/pm/config.d/defaults:

    SUSPEND_MODULES=”ath_pci”

    that did the trick.

    I have installed the fglrx drivers via the System -> Administration -> Hardware Drivers application, and I haven’t got the desktop effects enabled due to slower window drawing using these drivers compared to the default ones (ati? / radeon?).

    Thanks to paulsiu for the information.

    Update:

    here is my config files for reference.

    /etc/pm/config.d/00sleep_module:

    http://pastebin.com/f363af213

    /etc/default/acpi-support:

    http://pastebin.com/f3c99b2a1

    /etc/pm/config.d/defaults:

    http://pastebin.com/f2e58ab3c

    Also, lspci output:

    http://pastebin.com/f21cdcc67

    And lsmod output:

    http://pastebin.com/f27f162aa

    EDIT: fixed typo.

     
    • Magnus Nilsson 10:58 pm on December 2, 2008 Permalink

      Hi i have an acer 5101 and mine doesn’t suspend or rather the display turns black after i suspend and then remains in that state. Did you edit the acpi-support in any way that did the trick for me ones but not anymore. Need a hint

      //Magnus

    • magnusium 6:33 am on December 3, 2008 Permalink

      Hi.
      I didn’t edit the acpi-support file in any way. What graphics drivers are you using? The reason I ask is because I couldn’t resume from suspend until I changed to the proprietary drivers, just got all kinds of wierdness on screen with the default ones.
      I can post my config files if you want.

    • Magnus Nilsson 8:56 pm on December 5, 2008 Permalink

      Iam using the ati fglrx driver so its the same i think, well need magic i suppose

    • magnusium 9:44 pm on December 5, 2008 Permalink

      I updated my post with the relevant config files, I hope they’re helpful.
      Also try disabling the desktop effects, they *might* screw things up when resuming I’ve read somewhere.

  • blog moved to wordpress.com 

    magnusium 12:51 pm on November 25, 2008 Permalink | Reply
    Tags: , server, Ubuntu,

    I moved my blog today. It sits now on wordpress.com after many failed attempts to move it to my own server, some weird dns issues probably… I’m not fit to play with it now. In a few weeks my hosting plan will be discontinued and I am either going to change webhosting or do it myself like I did a year back. I am having problems however setting up the server , Ubuntu 8.10 Server on an old Athlon 2600+ box with 512 megs of RAM. Should be enough for apache + mysql. Or is it?

    Ubuntu Server 8.10

    Ubuntu Server 8.10

    That swap stuff seems odd, I dunno. But here’s another picture for your wieving pleasure?

    free -m

    free -m

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel