Showing posts with label Bugs. Show all posts
Showing posts with label Bugs. Show all posts

Saturday, November 1, 2014

Filing bug reports for fun and profit

Profit? Well, I didn't make money from filing a bug about redshift, but I did get the lovely little application running on my computer again.

Since jumping to an testing install of Plasma 5 in my upgraded Kubuntu, I've been filing bugs as I find things not working. It took me a few days to notice that redshift no longer worked, because I didn't always use it. But when I had my eyes dilated for my annual eye exam, I needed it! And it crashed.

I love filing bugs using ubuntu-bug from the commandline. I would love to see KDE build this capability as well, because the little application gathers useful information automatically, and uploads it to the bug tracker. Man ubuntu-bug says it reports problems  to your distribution's bug tracking system, using Apport to collect a lot of local information about your system to help the developers to fix the problem and avoid unnecessary question/answer turnarounds. Dr. Konqui does this sometimes, but a little cli app would be nice as well.


You can read my bug report here if you like, but to make a long story short: there is still no working Plasma 5 widget, but redshift is a commandline application. The kindly person who answered my bug report sent me to the website, where I found that I could create my own config file, which might be a workaround to the lack of a widget, but it works. The gtk widget did not work, by the way.

Writing a config file sounds daunting, but I just copy/pasted the working config on the website, changed it to fit my system, and saved it as ~/.config/redshift.conf

In the commandline, when I typed redshift & - my screen pinked up a bit. Lovely!

Friday, April 16, 2010

Lucid beta, bugs, and Alsamixer

The ongoing saga of running a beta release, I guess. Everything was pretty cool for 10 days or so, but then......

A few days ago, my laptop lost its voice. After doing some update or another, there was NO sound, except an occasional odd clicking noise when instead it should have been playing a music track. In KDE, one can test various sound devices and services in System Settings > Multimedia. This is also, by the way, where you see what backends are available to you, such as Gstreamer, Xine or VLC. This same window is used in Amarok to configure Playback > Phonon. Once sound disappeared, this configuration window in System Settings started crashing, so I filed a bug about that. Actually, it's still crashing, even now that I have sound back.

The nice part about filing that bug is that the crash handler AKA Dr. Konqui now asks you, if certain debugging packages would help display a more helpful backtrace, if you would like to install them. Then it searches the database, fetches the packages and installs them for you. Be sure to reload your report after the installations, of course!

Finally, I went over to Launchpad and filed a bug there about the sound issue, since my tests have revealed that this was a general problem, not a KDE one. https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/558910 if you are interested in this issue.

Salient points: aplay -l displays your sound equipment.

Of course first, I always checked Kmix. Often some channels were muted, but unmuting made no difference. I must have done that 20 times or so. I uninstalled Pulseaudio, which made no difference. I tried booting into next older kernel, still no sound. I used the TTY to run a sound file from Music123, which runs below X. It gave no error message; but appeared to be playing the file. No sound.

I also removed the phonon config in ~/.kde/share/config - no change. Rebooting into my original Kubuntu Lucid beta LiveCD, I heard sound again! After days. More updates, but still no sound.

In desperation, I asked in #unbuntu+1 (Freenode). The kindly folks there commiserated, and one person asked about Alsamixer. I remembered using it in opensuse, so I consulted my blog post here, and opened alsamixer in the console, and then used Ksnapshot to take a screenshot of it.


See where it says Speaker, and MM? Jordan_U kindly pointed out that that meant MUTE, and that I could change that by using the arrow keys to highlight the speaker column, and then use the M key to change to unmuted, which is 00 -- none of which makes any sense to me. However, sound now works! I updated my bug with the new information, because while my problem is solved, there is still a venomous bug, crawling around and biting random people!

Now I can get back to work in Amarok. Wonderful IRC people to the rescue once more! Thanks to Jordan_U and the rest of the helpful folks in #ubuntu+1.