ubuntu / xubuntu 12.04 (precise pangolin)

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by roobarb! »

BuZz wrote:I have just tested doing "sudo apt-get install --no-install-recommends lubuntu-desktop" to get a basic lxde install. that worked fine, so I hope this base image can be useful for those who want to "roll their own".
Great stuff. I might use these as the basis of the next SqueezePlay OS release in that case, although making my own from scratch has been rather fun, if a tad infuriating at times!

How did you manage to get X.org 1.9 onto Ubuntu 12.04 in the end, what with the x-edgers PPA scrapping the packages? Was it a case of grabbing all of the packages from the Ubuntu archives by hand?

Ah, and a quick second question - how do you preinstall SSH and get it to generate the keys on boot?
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by BuZz »

for xserver I use maverick repos, and pin lots of X packages there.

for ssh, i delete the host keys, and have a little check in /etc/rc.local for one of them. if missing, I call dpkg-reconfigure openssh-config which will regenenerate if they are missing.
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by roobarb! »

BuZz wrote:for xserver I use maverick repos, and pin lots of X packages there.

for ssh, i delete the host keys, and have a little check in /etc/rc.local for one of them. if missing, I call dpkg-reconfigure openssh-config which will regenenerate if they are missing.
I've just got a copy of the base system installed and taken a look at /etc/apt/preferences.d - there are a lot of pins! :) How long do you think that the maverick repo will stay alive for?

Thanks for the details on the SSH stuff. Handy to know.
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by BuZz »

the maverick repo is past end of life, so it will be moved from the current location to http://old-releases.ubuntu.com/releases/ but then it should stay there. worst case is we need to take a copy. I'm hoping that at some point emgd will support some newer xserver versions properly!
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by roobarb! »

Always like to throw another problem at you, BuZz... ;)

On the Lucid system I've thrown together (debootstrap, your 3.2.16 kernel, X.org 1.9 from the maverick repos and EMGD) I've just apt-get installed mplayer from the PPA and tried using it with -va vaapi -vo vaapi on the H.264 Big Buck Bunny video. Unfortunately, it bombs out on me with this:

Code: Select all

joggler@joggler:/mnt$ mplayer -va vaapi -vo vaapi ./big_buck_bunny_1080p_h264.mov 
MPlayer svn r (Ubuntu), built with gcc-4.4.3 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing ./big_buck_bunny_1080p_h264.mov.
libavformat version 53.22.0 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8988dc0]Unknown container channel layout.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 2: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  24bpp  24.000 fps  9282.6 kbps (1133.1 kbyte/s)
Clip info:
 major_brand: qt  
 minor_version: 537199360
 compatible_brands: qt  
 creation_time: 2008-05-27 18:40:35
Load subtitles in ./
libva: libva version 0.32.0
mplayer: dri2_util.c:175: isDRI2Connected: Assertion `dri_state->fd >= 0' failed.


MPlayer interrupted by signal 6 in module: preinit_libvo
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
 [ This binary of MPlayer in Debian is currently compiled with
   '--enable-debug'; the debugging symbols are in the package
   'mplayer-dbg'.]
I've had this working before though, do you think I'm doing something stupid, or is there something more fundamental at play?

EDIT: Just had the exact same problem using the Precise base release posted here. :shock:

Code: Select all

joggler@joggler:/mnt$ mplayer -va vaapi -vo vaapi big_buck_bunny_1080p_h264.mov 
MPlayer svn r (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing big_buck_bunny_1080p_h264.mov.
libavformat version 53.22.0 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89957a0]Unknown container channel layout.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 2: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  24bpp  24.000 fps  9282.6 kbps (1133.1 kbyte/s)
Clip info:
 major_brand: qt  
 minor_version: 537199360
 compatible_brands: qt  
 creation_time: 2008-05-27 18:40:35
Load subtitles in ./
libva: VA-API version 0.32.0
mplayer: dri2_util.c:176: isDRI2Connected: Assertion `dri_state->fd >= 0' failed.


MPlayer interrupted by signal 6 in module: preinit_libvo
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
 [ This binary of MPlayer in Debian is currently compiled with
   '--enable-debug'; the debugging symbols are in the package
   'mplayer-dbg'.]
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by BuZz »

some mesa dri mismatch issue maybe hmm. does it work on my jolios image though ? if it doesnt then i messed up. if not then we need to compare the differences.
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

ubuntu / xubuntu 12.04 (precise pangolin)

Post by roobarb! »

Will try to check this evening (the Joli system is at work).
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by johnnygal »

BuZz wrote:Images for testing before release:

Jolicloud:
http://joggler.exotica.org.uk/img/jolio ... rfs.img.gz
http://joggler.exotica.org.uk/img/jolio ... xt4.img.gz

Mint 12:
http://joggler.exotica.org.uk/img/linux ... rfs.img.gz
http://joggler.exotica.org.uk/img/linux ... xt4.img.gz

Ubuntu 12.04 (Precise)
http://joggler.exotica.org.uk/img/ubunt ... rfs.img.gz
http://joggler.exotica.org.uk/img/ubunt ... xt4.img.gz

Xubuntu 12.04 (Precise)
http://joggler.exotica.org.uk/img/xubun ... rfs.img.gz
http://joggler.exotica.org.uk/img/xubun ... xt4.img.gz

changes:
use ubuntu 10.10 xserver 1.9 packages
kernel v3.2.16 (one additional patch/revert needed to fix up headphone switching over v3.2.4)
updated grub bootloader - use grub 2.0beta5 rather than custom older patched grub.
packaged mplayer - vaapi enabled mplayer is now on my ppa so I can push out updates
updated xbmc
updated btrfs-tools and other joggler package updates/fixes

please let me know anything you notice that I have missed from the previous release, or that doesnt work as you think it should. thanks.
Hi Buzz,
I have just tried the btrfs version of Xubuntu. It runs up fine and I used the desktop shortcut to install squeezeplay. Whilst I get audio fine with xbmc, I don't get any sound output in squeezeplay. I tried the software mixer option in squeezeplay but that made no difference.
I see that the images have been released on your exotica site and I was going to try the latest version from there but the btrfs links don't work.

Thanks,
John
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by BuZz »

sorry, I made a mistake (such is the way managing too many images really!) - should be ok now.

I'll go and test squeezeplay. I can't rule out that I didn't break something. apologies if I did.
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

ubuntu / xubuntu 12.04 (precise pangolin)

Post by roobarb! »

Could well be that it's something I've not taken into account with SqueezePlay - there's only been some pretty rudimentary testing with desktop versions of Precise, so it could be anything!
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

ubuntu / xubuntu 12.04 (precise pangolin)

Post by roobarb! »

Oh, and I'll test Joli and the vaapi stuff in the morning.
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by johnnygal »

BuZz wrote:sorry, I made a mistake (such is the way managing too many images really!) - should be ok now.

I'll go and test squeezeplay. I can't rule out that I didn't break something. apologies if I did.
Ok, thanks, downloading now.

Yep, I know the feeling with so much going on.

Cheers for your images.

John
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by johnnygal »

roobarb! wrote:Could well be that it's something I've not taken into account with SqueezePlay - there's only been some pretty rudimentary testing with desktop versions of Precise, so it could be anything!
I'll test again with the "official" image buzz has just updated to his site.
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by BuZz »

Once I get a chance to try I will probably be able to tell you why it doesn;t work. if roobarb doesnt beat me too it. i will also be looking at the vaapi issue. might be something like I need to add some additional depends on my packages or I got some of the pinning wrong for going from "plain" to "desktop".

anyway, just teething problems. thanks for using the images. I do think so many people are sticking with default OS, and not realising they can do full tv and movie streaming, and all the other stuff. need to make a video. was using celestia recently on jolios. runs very nicely.
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by johnnygal »

Thanks. It's great there is so much activity on alternative OS for the joggler.

On most of mine I use squeezeplay, either continually or from time to time.

My bedside joggler is still running on UNR 9.10 (!) but is doing (most) things I want it to do. I am searching for a good "baseline" OS I can use for all my jogglers, squeezeplay or not.

(one annoying thing - think I mentioned this in one of the roobarb squeezeplay threads, is that often one of my joggler's squeezeplay craps out at 8am - still not got to the bottom of this yet, but you always need some problems to keep you busy)

Keep up the good work guys!

John
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by BuZz »

what do you do about the joggler getting warm and slowing down or you dont have that problem running mostly squeezeplay ? just that the older releases didnt know about tweaking throttling thermal point etc - although they are probably changable in the same way as mine.
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by johnnygal »

The solely squeezeplay jogglers tend to only be used intermittently. The bedside one, again, is only used for a few hours at a time. I can't believe the cpu is too stressed decoding mp3, which is it's main purpose.

I occasionally use xbmc to playback captured TV. I have played back an hours or so and not experienced any slowdown. (The UNR 9.1 was setup so long ago, I cant' remember if I changed the temperature setpoints, I don't think so)
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by roobarb! »

roobarb! wrote:Oh, and I'll test Joli and the vaapi stuff in the morning.
Right, tested and vaapi playback works perfectly on Joli OS, using the same command that failed on my Lucid build and your base image, BuZz.

Interestingly, with vaapi on and vaapi off, the video is automatically scaled to the correct dimensions to fit the screen. This doesn't happen on the base images - the scale remains 1:1 and only the central 800x480 pixels are displayed. Don't know if that helps at all, but thought I'd mention it all the same. :)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by johnnygal »

OK, I tried it again with the btrfs Xubuntu image downloaded from the exotica website and I still get no sound from squeezeplay?
Anything I can check?
My /etc/asound.conf is like below:
pcm.!default {
type plug
slave.pcm {
type hw
card 0
}
}
ctl.!default {
type hw
card 0
}
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: ubuntu / xubuntu 12.04 (precise pangolin)

Post by BuZz »

from a terminal do

cd /usr/share/alsa/alsa.conf.d
sudo mv pulse.conf pulse.conf.off

roobarb: precise uses a conf.d to split the alsa conf up, so you need to disable this config to get sound on precise. shame the "pulse" compatibility is gone - was that a regression in port audio or something ?
Post Reply