Showing posts with label boxee. Show all posts
Showing posts with label boxee. Show all posts

Saturday, June 26, 2010

Ubuntu 10.4 Lucid on a Lenovo Q150

The Lenovo Q150 comes Atom D510 and the nvidia Ion gfx, 2GB of ram and a 250 GB HD.

I decided to install the 32 bit version of Ubuntu Lucid since flash is more stable under 32 bit linux. I also installed:
  • ubuntu tweak
  • xbmc
  • miro
  • minitube (youtube player, faster than flash)
  • huludesktop
  • boxee
  • skype
  • cooliris
Added this repository to enabled sound thru HDMI port
I upgraded upgrade alsa packages to 1.0.23 and kernel to 2.6.35-6-generic and the nvidia drivers 256.35, using the following repositories:

deb http://ppa.launchpad.net/ricotz/unstable/ubuntu lucid main
deb-src http://ppa.launchpad.net/ricotz/unstable/ubuntu lucid main

deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu lucid main
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu lucid main



After the kernel, nvidia and alsa update and a reboot, start alsamixer and unmute the S/PDIF devices on the HDA NVidia sound card.


Status with lucid out of the box:
- Basic installation from a USB key works fine.
- VGA and sound out, works fine.
- Little USB keyboard/mouse works fine.
- Dual boot with Windows 7 works fine.
- HDMI out works great, but HDMI sound does not.
- Video acceleration works great for Miro, mplayer, minitube, with nvidia drivers from lucid.

Problems I found:
- Ethernet seems to work but sometimes the Ethernet card driver does not deteced the cable, sometimed a power off cycle to fixes this.
- HDMI sounds does not work with the latest Nvidia drivers from their web site. It requires a new kernel and and the latest alsa drivers to be detected. (See my other post on ubuntu 10.10 where the HDMI sound is working)
- Flash video acceleration does not work as well as in windows, it uses 100% of all CPUs, hulu, boxee, cooliris, youtube for full-screen, you can play it without full screen, but youtube 1080p is slow even for regular size, youtube 720p works.

ForUbuntu 10.10 Maverick Alpha (see my blog post on Ubuntu 10.10 and the Q150)

Windows 7 note:
- Flash acceleration is not enough to run 1080p even on windows 7, but flash seems to use less CPU usage on windows 7 compared to lucid or maverick. Hulu, Boxee, Hulu Desktop, Amazon, Youtube video all have problems on windows, dropping frames and some times affecting sound quality when in fullscreen at 1080p.
- HDMI sound works fine on windows.
- Wireless works out of the box.
- I had to install new drivers for ethernet to work.


Monday, December 29, 2008

How to install Boxee in a Ubuntu 64 bit



sudo apt-get install schroot
sudo mkdir /home/chroot (or another location)
sudo mkdir /home/chroot/jaunty-32-bit (or another location)
sudo vi /etc/schroot/schroot.conf

[jaunty-32-bit]
aliases=default
description=Jaunty 32-bit
type=plain
location=/home/chroot/jaunty-32-bit
priority=3
run-setup-scripts=false
personality=linux32
groups=admin
root-users=lafa

sudo apt-get install debootstrap
sudo debootstrap --variant=buildd --arch i386 jaunty /home/chroot/jaunty-32-bit http://archive.ubuntu.com/ubuntu/

sudo mkdir /home/chroot/jaunty-32-bit/etc/etc-from-root

sudo vi /etc/fstab

# For 32-bit jaunty chroot
/home /home/chroot/jaunty-32-bit/home none rbind 0 0
/dev /home/chroot/jaunty-32-bit/dev none rbind 0 0
/etc /home/chroot/jaunty-32-bit/etc/etc-from-root none bind 0 0
/proc /home/chroot/jaunty-32-bit/proc none rbind 0 0
/media /home/chroot/jaunty-32-bit/media none rbind 0 0
/mnt /home/chroot/jaunty-32-bit/mnt none rbind 0 0
/tmp /home/chroot/jaunty-32-bit/tmp none rbind 0 0
# reboot the system
# verify that all the mounts are done after the reboot, by typing mount

sudo vi /home/chroot/jaunty-32-bit/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu jaunty main universe restricted multiverse

# for boxee
deb http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu jaunty-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu jaunty-backports universe main multiverse restricted
# get root access, to install sudo on your new jaunty
sudo bash
schroot -p -c jaunty-32-bit
# to check you are in 32 bit type "uname -m" you should get i686
apt-get update
# install sudo
apt-get install sudo less nano vim

cd /etc

# fix passwords, and hostname
for i in group gshadow hosts hosts.allow hosts.deny passwd resolv.conf shadow; do rm $i; ln -s etc-from-root/$i $i; done

# fix sudoers
cp etc-from-root/sudoers sudoers

# exit schroot
exit
# exit root shell
exit

# as a normal user
schroot -p -c jaunty-32-bit

sudo apt-get update
sudo apt-get upgrade

# install boxee and some other apps that will fix some dependencies for flashplugin and boxee to work without problems
sudo apt-get install software-properties-gtk util-linux firefox libasound2-plugins gnome-terminal x11-apps

# add a software source
sudo software-properties-gtk

# enable communit-maintained, proprietary drivers, software restricted on the "Ubuntu Software" tab

# In "third-Party Software" tab add for boxee
deb http://apt.boxee.tv jaunty main
deb http://apt.boxee.tv jaunty test

# In updates Tab enable Important and recommended updates

# install boxee
sudo apt-get install boxee

#exit schroot
exit

# to run boxee type
schroot -c jaunty-32-bit -p /opt/boxee/Boxee

To create a link on the desktop to boxee, just check the image below:




I tried this on a computer with a intel video chipset.

For nvidia you need extra steps:
schroot -p -c jaunty-32-bit
apt-get install libglitz-glx1 rss-glx xserver-xorg xorg mesa-utils gedit equivs nvidia-180-libvdpau
equivs-control nvidia-kernel-control
# edit the file to look like this
gedit nvidia-kernel-control

### Commented entries have reasonable defaults.
### Uncomment to edit them.
Section: misc
Priority: optional
Standards-Version: 3.6.2

Package: nvidia-180-kernel-source
Version: 180.44-0ubuntu1
# Maintainer: Your Name
# Pre-Depends:
# Depends:
# Recommends:
# Suggests:
# Provides:
# Replaces:
# Architecture: all
# Copyright:
# Changelog:
# Readme:
# Extra-Files:
Description:
long description and info
.
second paragraph
# build a fake package to eliminate the kernel dependency
equivs-build nvidia-kernel-control

#install fake package
sudo dpkg -i nvidia-180-kernel-source_180.44-0ubuntu1_all.deb

# make sure the kernel is not installed
sudo apt-get install nvidia-glx-180

# now boxee should work fine


Setting dns over TLS on ubuntu 26.04 using quad9 and

With this change future dns queries should got to Quad9 and fallback Cloudflare if Quad9 has a outage, and should go over TLS.  Change /etc/...