boxee :: forums  

Go Back   boxee :: forums > boxee community > boxee for linux help

Reply
 
Thread Tools Display Modes
  #1  
Old July 5th, 2009, 06:02 PM
akshunj akshunj is offline
Member
 
Join Date: Nov 2008
Location: ATL
Posts: 89
Send a message via Yahoo to akshunj
Default [Tutorial] Intel video, pulseaudio, and Boxee on Jaunty

Moderator, any chance we can sticky this?

So, after discovering that the Boxee "powers that be" chose not to support Hardy (the LONG TERM SUPPORT release, by the way), I decided to take the plunge and upgrade to Jaunty so I could enjoy and continue to tinker with the latest Boxee. I knew this was dangerous as I currently use an Acer 5610 with Intel integrated graphics. Every linux tech article I have read bemoans the regressions in the intel driver performance on Jaunty. But, I also saw many articles detailing fixes. Long story short, I was back up and running the latest Boxee in about 2 hours (mostly including some trial and error). Hopefully, the steps below will save you some time and pain.

1. Install Jaunty. I actually recommend Linux Mint "Gloria". Same Jaunty core, new minty taste.

2. Apply all the software updates (including the upgrade to the latest 2.6.28-13 kernel), then follow the steps in this guide for the SAFE configuration.

3. Install grandr. It's available in the standard repos. If you're trying to configure dual-monitors (laptop and LCD big-screen HDTV, which I assume is most of us) then you'll need this handy little utility. The screen adjustment tool in Gnome is crap. Grandr got the TV' resolution figured out in 2 seconds, and mirrored the two displays instead of merging them like the Gnome utility wanted to.

4. Remove pulseaudio:
* killall pulseaudio
* sudo apt-get remove pulseaudio
* sudo apt-get install esound
* sudo rm /etc/X11/Xsession.d/70pulseaudio
* Reboot system

5. Install Boxee

I have tested the following:
Hulu, Apple movie trailers, local video (480p and 720p). I am getting some mild picture-tearing which sucks but it's bearable. Menu navigation is snappy, and sound is clear and in-sync.

Why did I not choose the OPTIMAL configuration from the Ubuntu Intel video adjustment guide? Well, actually I did. That's why this took me two hours. The upgrade to the 2.6.30 kernel is the highlight of OPTIMAL. The problem is that you end up missing all the ubuntu backport drivers like...... oh yeah LIRC! And without LIRC drivers, I've got no remote control. BAD trade-off. I could have tried to compile them, but I was just not in the mood to compile from source. That's why I use Ubuntu and not Arch or Slackware on this laptop. So, I reverted to the 2.6.28-13 kernel (just another caution about the 2.6.30 kernel. Before I could reboot, my entire system HARD-LOCKED on me. Weird.) and LIRC was good again.

I will keep updating this thread with tweaks and fixes for the Intel video folks. Feel free to add your own!

--Akshun J
__________________
Boxee BETA (always the latest)
HTPC - ASRock micro-ATX w/ NVidia 8200 onboard graphics (VDPAU) (AMD Athlon2 X2 2.9Ghz dual-core, 2GB RAM, gigabit LAN), bluetooth mouse/keyboard combo, Microsoft MCE IR remote
Linux Mint 9 Isadora 32-bit (Ubuntu 10.04), VGA-out, Optical Audio-out


Home-Server - Old-ass Athlon single-core system w/ 512MB RAM, gigabit LAN, 1TB external HD
Ubuntu 9.10 32-bit server edition, SABnazd, Episode Butler, MediaTomb, Samba, NFS

Last edited by akshunj; July 6th, 2009 at 01:37 AM.
Reply With Quote
  #2  
Old July 6th, 2009, 01:32 AM
agentlame's Avatar
agentlame agentlame is offline
Super Moderator
 
Join Date: Aug 2008
Location: Cleveland, OH
Posts: 3,706
Send a message via AIM to agentlame
Default

awesome post.

[stickied]
__________________
personal: boxee | twitter | boxee hq
boxee: boxee chat | boxee wiki | boxee plugins

i run boxee 0.9.20 on: ubuntu 9.10, windows xp sp3 (virtual machine), windows 7 and a neuros link hacked to all hell.

what super powers does a 'super mod' have? the 'super ban'... that, and laser vision.
Reply With Quote
  #3  
Old July 6th, 2009, 01:35 AM
akshunj akshunj is offline
Member
 
Join Date: Nov 2008
Location: ATL
Posts: 89
Send a message via Yahoo to akshunj
Default

Another pointer. In the Boxee settings menu, there is a video setting to use hardware acceleration for video playback. DON'T CHECK THIS. It will only cause Boxee to crash on ANY video playback.
__________________
Boxee BETA (always the latest)
HTPC - ASRock micro-ATX w/ NVidia 8200 onboard graphics (VDPAU) (AMD Athlon2 X2 2.9Ghz dual-core, 2GB RAM, gigabit LAN), bluetooth mouse/keyboard combo, Microsoft MCE IR remote
Linux Mint 9 Isadora 32-bit (Ubuntu 10.04), VGA-out, Optical Audio-out


Home-Server - Old-ass Athlon single-core system w/ 512MB RAM, gigabit LAN, 1TB external HD
Ubuntu 9.10 32-bit server edition, SABnazd, Episode Butler, MediaTomb, Samba, NFS
Reply With Quote
  #4  
Old July 7th, 2009, 10:09 PM
akshunj akshunj is offline
Member
 
Join Date: Nov 2008
Location: ATL
Posts: 89
Send a message via Yahoo to akshunj
Default

More Boxee stress-tests with my current setup:

*Played Pandora
*Added some repositories and added some 3rd party apps

Everything worked as expected
__________________
Boxee BETA (always the latest)
HTPC - ASRock micro-ATX w/ NVidia 8200 onboard graphics (VDPAU) (AMD Athlon2 X2 2.9Ghz dual-core, 2GB RAM, gigabit LAN), bluetooth mouse/keyboard combo, Microsoft MCE IR remote
Linux Mint 9 Isadora 32-bit (Ubuntu 10.04), VGA-out, Optical Audio-out


Home-Server - Old-ass Athlon single-core system w/ 512MB RAM, gigabit LAN, 1TB external HD
Ubuntu 9.10 32-bit server edition, SABnazd, Episode Butler, MediaTomb, Samba, NFS
Reply With Quote
  #5  
Old July 30th, 2009, 01:43 PM
maineldc maineldc is offline
Junior Member
 
Join Date: Jul 2008
Posts: 8
Default One more thing I needed to do

This is a great tutorial. I wanted to add that at first this did not fix the lag issues I was having. I had to change the resolution (using grandr) to 1368x768 and then all was good.

I started with a fresh installation of Jaunty and tried JUST changing resolution and that didn't work. I need to do both to make it work for me.
Reply With Quote
  #6  
Old September 14th, 2009, 06:57 AM
dc2447 dc2447 is offline
Senior Member
 
Join Date: Dec 2008
Posts: 332
Default

@akshunj - I have just upgraded to Jaunty and now have video tearing, did you mske any progress on yours?

The menus are also much slower than on intrepid

disspointed
Reply With Quote
  #7  
Old September 15th, 2009, 09:53 AM
bugaboo bugaboo is offline
Junior Member
 
Join Date: Sep 2009
Posts: 11
Thumbs up

Quote:
Originally Posted by akshunj View Post
2. Apply all the software updates (including the upgrade to the latest 2.6.28-13 kernel), then follow the steps in this guide for the SAFE configuration.
This made my system usable. Upgrading the Intel video drivers improved video quality. I tried the "safe" option, and also "optimal". The "bleeding edge" option locked at Boxee connecting.

I hook up my system to an HDTV via VGA. I should point out that you can get the perfect video resolution for your display by using the gtf utility. I looked in the HDTV's manual and the optimal display setting was quoted as 1368x768@60Hz. Using gtf, you can get the modeline to paste in /etc/X11/xorg.conf
Code:
$ gtf 1368 768 60
  # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
  Modeline "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
stick that in xorg.conf
Code:
Section "ServerLayout"
        Identifier "Default Layout"
        Screen 0 "Screen0" 0 0
        InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
        Option "AllowMouseOpenFail" "yes"
        Option "AllowKeyboardOpenFail" "yes"
        Option "BlankTime" "0"
        Option "StandbyTime" "0"
        Option "SuspendTime" "0"
        Option "OffTime" "0"
EndSection
Section "InputDevice"
        Identifier "Keyboard0"
        Driver "kbd"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
EndSection
Section "Device"
        Identifier "Videocard0"
        #Driver "i810"
        #Driver "intel"
        #Option "AccelMethod" "XAA"
        #Option "AccelMethod" "exa"
        Option "AccelMethod" "uxa"
        Option "EXAOptimizeMigration" "true"
        Option "MigrationHeuristic" "greedy"
        Option "Tiling" "true"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device "Videocard0"
        Monitor "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport 0 0
                Depth 24
                Modes "1368x768_60.00"
        EndSubSection
EndSection
Section "Monitor"
        Identifier "Monitor0"
        Option "DPMS"
        HorizSync 30-50
        VertRefresh 60
        # gtf 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
        Modeline "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
EndSection
Section "DRI"
        Mode 0666
EndSection
So I still have some mild tearing, not as bad as before. Anybody have a recommendation on my card? It is reported as:
Code:
# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
Cheers!

Last edited by bugaboo; September 16th, 2009 at 05:32 PM.
Reply With Quote
  #8  
Old September 17th, 2009, 02:37 AM
wuziq wuziq is offline
Junior Member
 
Join Date: Sep 2009
Posts: 3
Default

sound wasn't working on my external usb sound card, but everything worked after removing pulseaudio. thank you!
Reply With Quote
  #9  
Old November 20th, 2009, 02:00 AM
bbowles bbowles is offline
Junior Member
 
Join Date: Nov 2009
Posts: 2
Default Video problem resolved

Thanks for the posting followed the this guide and I can now run Boxee and it also resolved my video problem when I updated the kernel.
Reply With Quote
  #10  
Old February 18th, 2010, 02:59 PM
kireol kireol is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
Default

Any thoughts of editing the first post and making it read for ubuntu in general. Like has anyone tested it on karmic? Just trying to be helpful.
__________________
Lego Universe Wiki
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:57 PM.


skin based on greenzero from vBSkins.com

 
Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.