Thursday, June 9, 2011

Plymouth startup with fglrx

This is by no means a fix for supporting your resolution, just a workaround to see a graphical startup rather than lines...


Start with sudo gedit /etc/default/grub
Edit grub line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=792"
For vga codes -the essential part- look here
Then, echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash

Last but not least sudo update-grub

To choose from alternative plymouth startups
sudo update-alternatives --config default.plymouth
sudo update-initramfs -u

link

Tuesday, June 7, 2011

RT2870 wifi issues

Everytime I attempt to connect to a wireless network, the Network-Manager app takes forever to connect but never succeeds.
Apparently, RT2800usb and RT2870sta drivers compete to operate your wireless card resulting in no wireless connectivity.

The solution is to simply add the line

blacklist rt2800usb
in the file "/etc/modprobe.d/blacklist.conf"

P.S.: If you want to compile your own to improve data transfer...

Flash in ubuntu... no audio problem solved

Flash defaults in 0 alsa. But 0 could be another card or audio output. That is the only problem that you can get video but no audio in flash in Ubuntu.

Pavucontrol did not see the default card anymore, so I had to check for another solution (I must not have been thinking properly as pulse audio is THE solution for everything... otherwise flash locks the ALSA device)so reverse what we have just said...

First of all uninstall anything that has to do with alsa and leave pulse do all its magic.
Then sudo gedit /etc/asound.conf so as to tell each and every process to output to pulseAudio (all the other programs do so, but flash doesn't!!!)
Insert those stuff

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}




Well if it is not ok continue by issuing in terminal gstreamer-properties and choosing pulse audio as output audio plugin.
Everything should be ok... We simply told that everything that uses audio codecs should pulse. Then do whatever you want with pavucontrol
If still does not work, check with "pulseaudio device chooser" in applications->Sound & Video, and from there select your default sink (I made it start at startup in preferences).

==============================
Old version through ALSA

So, I decided to update my Ubuntu machine. It's been a while that my video card was not supported (HD6850) (old one died unexpectedly)
AMD has released its own drivers, so I decided to go back to my beloved desktop.
I installed kernel 2.6.35 as, let's face it, works with everything; I installed the video drivers; And then I decided to work to support vaapi.
While installing something must have gone wrong as I could no longer hear sound from YouTube.
Flash is in the multiverse (check repositories) in its nswrapper 32bit way. Having installed that, I can say that the next step was to change my default sound card.

Although there must be a way to do it through alsamixer, I preferred the terminal.
So i typed cat /proc/asound/modules
The result was
0 snd_hda_intel
1 snd_cmipci
And the first one was my AMD HDMI audio, which I did not want it to be first.

So I entered in sudo gedit /etc/modprobe.d/alsa-base.conf and added these lines...

#Keep pci card to default as first sound card
options snd_cmipci index=0
options snd_hda_intel index=1


Now everything works as it should..
Hope I have helped.