Monday, January 12, 2009

HandBrake 0.9.3

Good news: this new version has a linux GUI available as well.
xBuntus debs can be found here.
Forum thread here.

Friday, December 12, 2008

Sound issues on my Hardy 64bit

Still no success with the Alsa/PulseAudio settings on Hardy 64bit (Hercules Game Theater XP 5.1, CS46xx).
Only way I can get the sound to work, is to set everything to OSS.

Now, a few links with hints/guides to follow:

Alsa:
need to have soundcore loaded:
modinfo soundcore


Multiple soundcards:

explicitly assign the default device numbers of our sound card drivers by adding lines at the end of the /etc/modprode.d/alsa-base file like this (These are mine):
Code:
options snd_hda_intel index=0
options snd_cmipci index=1
options snd_atiixp index=2
options snd_usb_audio index=3
This way each device will always be numbered the same.

You can use:
Code:
cat /proc/asound/modules
to discover your sound device driver module names and their order.

Generic troubleshoot:


to check if the system recognnizes the soundcard:
aplay -l
lspci -v | less

sounds module installed?:
find /lib/modules/`uname -r` | grep snd

The 10,000 Page Guide to Sound Troubleshooting:
Among several tips, this:
Create a new user and login with that: if sound works, it's an issue of user configuration

Another (older) guide on sound problems:

This is a quite comprehensive guide, with a "failure/success" path to follow. Nice.

PulseAudio fixes:

It says libflashsupport should not be installed.
this is confusing, since it's the only way I could find to let Flash produce sounds.

PulseAudio installation (Italian):
Italian guide to PulseAudio installation.
Makes use of most of the previous hints, and summarizes them.
Too simple?
A noticeable difference with the "fixes" page:
Here it uses ladspa without even checking its installation. In "fixes":
Install the required LADSPA plugins and tools:
Code:
$ sudo apt-get install swh-plugins ladspa-sdk

Maybe
Also, there is no editing of the /etc/pulse/default.pa and no note on the necessity of changing the
slave.pcm "plughw"
line in ~/.asoundrc (or /etc/asound.conf)

Surround guide (italian):
To be tested yet

---------------------------
Edit:
this might be the real fix: remove pulsaudio....!
Or even better, in the same thread: post 51.
Or still, I can keep my "OSS" settings: not brilliant, but working...!
---------------------------

Tuesday, July 29, 2008

Installazione Ubuntu Hardy Heron 8.04 AMD64

Sono passato dalla vecchia Dapper alla nuova Hardy, sul computer fisso.

Di seguito i vari step seguiti, in forma di nota/promemoria.

CAP 0: mettiamoci in condizione di tornare indietro, se qualcosa va storto....:

Backup Dapper

Disinstallare software inutili

Fare lista sw

dpkg --get-selections > installed-packages.txt

oppure da synaptic (vengono meno voci. Perche?)

Fare lista di storia di installazioni con synaptic (export to txt)

Fare screenshot del menu applicazioni (magari c’e’ un file con l’elenco delle icone: verificare e salvare da qualche parte, cosi’ c’e’ un elenco delle applicazioni installate)

--> copiato i vari file .desktop (in usr/share/applications e in ~/.local/share/applications)

Cancellare roba inutile, anche dal trash

Copiare fstab, menu.lst, part table di fdisk, xorg.conf

Copiare bookmarks, dati thunderbird, dati utenti

Partimage di boot (5min), home (30min) e sistema (30min)

Partimage di partition table (http://www.partimage.org/Partimage-manual_Backup-partition-table)

        dd if=/dev/hda of=backup-hda.mbr count=1 bs=512

Now, we will save entries of the extended partitions:

        sfdisk -d /dev/hda > backup-hda.sf

To restore:

        dd if=backup-hda.mbr of=/dev/hda
        sfdisk /dev/hda < style="">

CAP 1: Installazione sistema

Una guida passo-passo

http://www.howtoforge.com/the-perfect-desktop-ubuntu-8.04-lts-hardy-heron


il mio schema di partizioni:

Device

Mount point

File system

size

/dev/hda1

/home

reiserfs

30GB

/dev/hda2

/media/music_fat32

vfat

30GB

/dev/hda3

/media/shared_fat32

vfat

50GB





/dev/sda1

/media/winXP

ntfs

30GB

/dev/sda2

/boot

ext3

100MB

/dev/sda3

/

reiserfs

50GB

/dev/sda5

/media/myth

ext3

50GB

/dev/sda6

/media/distro

ext3

8GB

/dev/sda7

swap

swap

1GB

/dev/sda8

/media/video_fat32

vfat

100GB


L'installazione dal liveCD AMD64 va liscissima.
Mi ha cambiato i nomi delle partizioni (chissa' perche') e ora vede il disco IDE hda come sdb. A parte questo tutto tranquillo.
Ho mantenuto la mia home, sperando di tenere tutti i dati e i settaggi.
In ~35min ho la Hardy installata e pronta all'uso, con dati e settaggi conservati!

Cap 2: Personalizzazioni


Step1 - Ritocchi al sistema base:


Nautilus: enable delete

Font: pref/appearance --> subpixel smoothing

pref/appearance/advanced --> 96dpi

Services: admin/services --> rimuovere gli inutili (--> bluetooth)

Startup: pref/sessions --> disabilitare roba inutile

Uninstall: togliere programmi inutili (--> nessun programma tolto)

Update: ricaricare e fare update del sistema

Reboot


Al termine dello step1 (~15min), ho 47.3GB free (49.2GB dichiarati da system monitor) → usati circa 2GB in /


Proseguiamo con le installazioni dei software necessari a rendere usabile (ai miei scopi) la essenzialissima Ubuntu.
Installo tutto da Synaptic, per poter avere un log di tutte le dipendenze installate di volta in volta, in modo da poterle eliminare insieme al programma in caso di malfunzionamento

Step2 - I fondamentali:

Fonts: msttcorefonts

Compilare: build-essential

Posta: Thunderbird

Sistema: partimage, checkinstall, language-support-it

Java: gcjwebplugin (non funziona!) oppure icedtea: jre e plugin (ok)

Flash: flashplugin-nonfree, libflashsupport

(http://www.ubuntu1501.com/2008/06/play-video-audio-while-playing-flash.html)

padevchooser → fotte tutto!!! pare che ne' alsa ne' pulseaudio funzionino: devo usare OSS in pref/sound

pulseaudio fallisce cosi': audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Failed to connect stream: Invalid argument

idem alsa e CS46xx (scheda Hercules Game Theater XP)

Ntfs: ntfs-config per abilitare/disabilitare scrittura su ntfs

Multimedia: vlc, DVD95, gthumb (da usare al posto di fspot), doppio click su un .mp3 e installazione gstreamer ffmpeg e extra plugins

Compiz: pref/appearance/visual effect à per abilitare effetti (compizconfig-settings-manager)

Repo: aggiungere medibuntu

Codecs: w64codecs, libdvdcss2

Internet: aMule

update e reboot

2ore circa, 46.7GB free


Step2b: Partimage di installazione base (root, boot). Root ~2.8GB

Step3 - Utili:

Software complessi o con molte dipendenze, che potrebbero appesantire il sistema o renderlo instabile.

Li installo uno per volta.

https://help.ubuntu.com/

http://ubuntuforums.org/showthread.php?t=766683

Exaile (al posto di amarok) (c’e’ bisogno anche di python-gnome2-extras python-gtkhtml2 per abilitare lyrics e guitar tablature)

Dvd::rip

EasyTag (o exfalso)

WinFF (e’ 32 bit! Richiede ia32-libs) (converte video da un formato a un altro)

cd ~/Desktop && sudo dpkg --force-architecture -i winff.deb

HandbrakeCLI (http://ubuntuforums.org/showpost.php?p=5410459&postcount=54)

Step3b - Utili, II parte :http://ubuntuforums.org/showthread.php?t=766683

Multimedia, codecs, falsh e Java

sudo apt-get remove gnash gnash-common libflash-mozplugin libflashsupport mozilla-plugin-gnash swfdec-mozilla && sudo apt-get install alsa-oss faac faad flashplugin-nonfree faad gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse ia32-libs icedtea-java7-jre icedtea-java7-plugin liblame0 non-free-codecs unrar

Ancora flash audio non funziona!!! --> http://ubuntuforums.org/showpost.php?p=5465376&postcount=13

Download libflashsupport.so compilato con OSS support:

http://ubuntuforums.org/attachment.p...6&d=1210377383

sudo apt-get install alsa-oss

sudo apt-get remove libflashsupport

cd ~/Desktop; gunzip libflashsupport.so.gz; sudo mv libflashsupport.so /usr/lib

sudo ln -s /usr/lib/libflashsupport.so /usr/lib/firefox/plugins

sudo ln -s /usr/lib/libflashsupport.so /usr/lib/mozilla/plugins

sudo ln -s /usr/lib/libflashsupport.so /usr/lib/firefox-addons/plugins

If you're running x86_64:

sudo cp /usr/lib/libflashsupport.so /usr/lib32/

ora flash funziona!!!!

unrar

htop

lm-sensors

(Tovid) Devede, avidemux

Google Earth

Dizionario Ita-Eng: vocabulary.aioe.org in Applicazioni -> Accessori -> Dizionario

Ubuntustudio-video (--> openmovieeditor, kino, jack, imagemagik)

Mplayer (installato come dipendenza di openmovieeditor)


Monday, October 1, 2007

TV-out su Radeon Mobility M7 (7500)

Sto cercando di far funzionare il TVout del mio IBM ThinkPad T40 sotto PCLinuxOS.
Nel passato, con Mepis (e XFree86) funzionava (male) con atitvout.
Qui con xorg non sembra funzionare.
Ho trovato queste istruzioni, pero'.
E anche queste.
Ci devo provare.

c'e' poi un tipo sul forum di pclinuxos che ha fatto cosi':

Ran XFdrake:
Selected "ATI Radeon (fglrx)"
Answered YES to "proprietary" driver prompt
Took defaults for the card options / startup:

Graphic card options ____________________
|*| 3D hardware acceleration
| | Enable Translucency (Composite extension)
Graphical interface at startup ____________________
|*| Automatically start the graphical interface (Xorg) upon booting

Selected generic monitor 800x600 @ 60 Hz 24bpp.

Ran startx

The desktop came up on the TV, monitor went black.
Opened up a Konsole session and everything locked up.

I then booted back into text mode and ran XFdrake again and unchecked the "3D hardware acceleration" and rebooted.
The display came up on the TV and everything seems to work ok (no lockups so far).

I also ran the "/usr/X11R6/bin/fireglcontrolpanel" and selected clone mode for the 2 displays. After restarting X, both the
TV & the monitor were active.

When I get time I'll experiment some more and try to load MythTV, but right now I'm pretty impressed with GBPVR.

Thursday, September 6, 2007

Recently tested distro

All of them in Virtualbox or VMware.
Sidux Gaia
Debian Sid, KDE, very recent Kernel, nice tools for TV and nice scripts and customization scripts.
Menu is confused, too many applications.
Nice way to approach a "pure" debian.
Also 64bit.


Klikit alpha
Very nice look, needs at least 192MB RAM in the virtualbox and it's still slow.
Kubuntu Feisty based, KDE, one-clik install, kooldock, to be tested deeper, but it's very promising and user friendly.
Too much "Ubuntu", though.
Still I prefer PCLOS, which is very easy to use for the beginner but also powerful and complete.
I'll keep a close eye on it.

SAM
PCLinuxOS, XFCE with Beryl, nice, cool, light and complete.


Wolvix 1.1.0
Slackware, XFCE, very light but complete.
Very nice for a light vitual linux.

64Studio
Gnome, very, very good distro for music. It introduced me to Rosegarden and Jack.
Yet it's pretty simple (as a distribution, software is tough!). Much better than the other distros I've tried in this field (ubuntu studio, dynabolic. musix still to test) and its pure 64bit. A i686 version is available too.

Dreamlinux and Vectorlinux

Only opened in VMware (which is too slow on my pc) thanks to bagside and his appliances.
Not liked much. Nothing distinctive at my quick look.

LinuxMint Cassandra
Ubuntu Feisty, Gnome, very nice look (much much better than Ubuntu).
Ready to use and simple. Most of the missing things in Ubuntu are readily available here. Not only the proprietary/closed source stuff (maybe philosophically not acceptable, but often very useful) but also amarok, among others.
Should I reinstall an Ubuntu-like gnome distro I might really consider to install Mint instead of the "original" Ubuntu.
Even more appealing is the KDE version, which I'll test soon.
With PCLOS (and klikit), Mint is to me the "best" distro for beginners or ex-windows users.


My Preferred Distro
Still, so far, my top distro depending on the environment:
KDE: PCLinuxOS 2007
Gnome: LinuxMint Cassandra
XFCE: Wolvix and SAM
USB drive: DamnSmallLinux, Puppy 2.15, Slax Killbill (depending on available size)

Wednesday, August 22, 2007

USB speakers

On PCLinuxOS I can't let the USB speakers work.
I think it might be a missing feature in KDE, more than a pclos issue.
The USB speakers are recognized as a different sound card.
In Gnome there's a nice setting were you just declare which soundcard is your default.
On boot it tries that card, if not present it falls back to the other card.
This works nicely with the USB speakers, just declearing those as the default card.
There are some annoyances when switching the speakers on and off, but it generally works.
Same feature is in Rhythmbox, if I'm not mistaken.
No way to find this in KDE or Amarok, though.

I've found an interesting post for Kubuntu, but should work on pclos as well.


Lightbulb
Re: switching between USB speakers and PCI sound card



Here is a fix for ya; although not a GUI one perhaps - but it is clickable.

open a shell and type

Quote:





asoundconf list


Then make a note of the sound cards you have.
In my case, I have
CK8S
UART
Headset

Since I know that CK8S is my on-board sound card and the headset is - A HEADSET, then I can create switches for each:

First new text file, write:

#! /bin/sh -f
sudo asoundconf set-default-card (your main soundcard - no brackets)

so mine looks like this:

Quote:






#! /bin/sh -f
sudo asoundconf set-default-card CK8S

OK, save this and then create one just like it for your headset.

Congrats, now you have two cool looking icons (Ubuntu Dapper) that do
nothing whatsoever! Just kidding, go ahead and right click on each of
them. Goto properties and then permissions. Under owner, check off the
Execute option. Then click the close button at the bottom.

OK, are you ready? Click on the one for your headset - boom, it will
ask you how you wish to run this. Choose "in the terminal" and then
enter the password - you just changed the default sound card without
needing to hack the .conf file manually.

From here on out, just click as you wish to toggle between the two. You
may not have to enter the password each time, it's a timed sort of
deal.

If using to toggle media in a browser, you will need to close the
browser with each new toggle. With on the desktop media files however,
you will need to close whatever program you were using for the same
affect.



In addition, this also seems to clean up sound issues that are assigned
in Skype. In short, once assigned the settings in Skype are not staying
set.



__________________





Last edited by ctsdownloads : January 3rd, 2007 at 09:27 AM.




Reply With Quote