Language Selection

English French German Italian Portuguese Spanish

Waiting for Xawtv 4 - DVB & mpeg2

Filed under

I got brave and updated my beloved gentoo's xorg from 6.8.2-rsomething to the modular 7.0 this morning. Among many others, I tested my gimp, openoffice, mozilla, and my games. Nothing seemed broken. In fact, things seemed just fine. ...Until I fired up my trusted xawtv-3.95. It had problems.

The problems it had was that my overlay was now broken. I could get video with grabdisplay, but it would drop frames. ...badly. If I started per commandline, it complained about not finding the framebuffer device and that v4l wasn't compiled with dga support. I'd seen these errors before and the usual (and even more creative) fixes didn't help. I was desperate enough to download the cvs snapshot of xawtv4 from February. This code is so new that they haven't even released an alpha for testing yet.

Compiling was easy of the snapshot, the only problem I had was errors with compiling for aalibs. So, I pulled the --enable-aa option and it compiled just fine after that. For those of you interested, I think the biggest draw of xawtv 4 is that it's primarily for digital decoders and it includes mpeg2 support. So, if you download the cvs snapshot and untar.gz it, you'll find no configure script. One must run the script first. Then you can run configure. Do a ./configure --help first and pick out the options you'd like, but for me I did a: ./configure --enable-alsa --enable-xvideo --enable-quicktime --enable-mpeg2 --enable-gl --enable-mmx

Upon starting xawtv4 I find that none of the stations in my ~/.xawtv file were being read. Right clicking on the tv screen opened a nice new configuration screen. All the usual options are still there, (except overlay/grapdisplay), it's just more graphical. It will automagically scan your channels for you, but if you have cable in a big city, the next step can be time consuming. It won't just save the list it finds. You must click Edit > Add Stations and input some info and save each one. What a drag!


I kept looking and noticing my ~/.xawtv wasn't being updated or overwritten, but if I saved a few stations, closed xawtv, and reopened it - they were saved. I knew this joker was saving those files somewhere. Indeed it was. Xawtv 4 now uses a ~/.tv directory with an "options" file and a "stations" file. My options were pretty much in place the way I picked them from the gui configuration, and my 3 stations were in the stations file. Upon closer inspection one finds that it is still the same format as the old .xawtv file with the exception of the missing options at the top. Lazy me copies my ~/.xawtv to ~/.tv/stations and edits it to take out the options at the top. Yes! All my stations are now showing up in the new xawtv 4 without having to setup 100 of 'em manually. They are gonna have to add a way to save the scan before this takes off.

One of the things missing is changing channels with my mouse wheel. Perhaps there is a compile option I missed or a start-time option to explore, but the keyboard spacebar advances the stations and backspace decreases the stations. A isn't mute anymore, the keypad enter is. Fortunately F is still fullscreen. A left mouse click still brings up the list of stations to choose from. And of course you can do any of this from their new gui.


The xawtv4 gui still may not be quite as fancy as some of the other tv applications graphical tools, but at least xawtv works. I don't know how your experiences have gone, but I've never had any luck with any of those other tv apps. If they even work, then they eat up cpu cycles and leak memory. Xawtv is the only tv app for me and has been for over 5 years now.


Bearing in mind this is a cvs snapshot, I still have to say this application is rock solid so far. It opens without issue and tunes my tv card without complaints. Changing channels is faster than before and the osd presents in much prettier fonts. I experienced no noticeable cpu or memory usage and other running applications weren't effected. No dropped frames!!! I was fixed up. The author claims support for analogue isn't implemented as well in version 4 as version 3, but if this is a pre-alpha - I can't wait for the beta!


New features and major changes:

  • MPEG2 software decoding.
  • Support for DVB cards, including budget cards.
  • Reworked configuration framework.

Dropped features:

  • Overlay without Xvideo extention.
  • Switching display resolution.

*xawtv homepage*

More in Tux Machines

What the Linux Foundation Does for Linux

Jim Zemlin, the executive director of the Linux Foundation, talks about Linux a lot. During his keynote at the LinuxCon USA event here, Zemlin noted that it's often difficult for him to come up with new material for talking about the state of Linux at this point. Every year at LinuxCon, Zemlin delivers his State of Linux address, but this time he took a different approach. Zemlin detailed what he actually does and how the Linux Foundation works to advance the state of Linux. Fundamentally it's all about enabling the open source collaboration model for software development. "We are seeing a shift now where the majority of code in any product or service is going to be open source," Zemlin said. Zemlin added that open source is the new Pareto Principle for software development, where 80 percent of software code is open source. The nature of collaborative development itself has changed in recent years. For years the software collaboration was achieved mostly through standards organizations. Read more

Arch-based Linux distro KaOS 2014.08 is here with KDE 4.14.0

The Linux desktop community has reached a sad state. Ubuntu 14.04 was a disappointing release and Fedora is taking way too long between releases. Hell, OpenSUSE is an overall disaster. It is hard to recommend any Linux-based operating system beyond Mint. Even the popular KDE plasma environment and its associated programs are in a transition phase, moving from 4.x to 5.x. As exciting as KDE 5 may be, it is still not ready for prime-time; it is recommended to stay with 4 for now. Read more

diff -u: What's New in Kernel Development

One problem with Linux has been its implementation of system calls. As Andy Lutomirski pointed out recently, it's very messy. Even identifying which system calls were implemented for which architectures, he said, was very difficult, as was identifying the mapping between a call's name and its number, and mapping between call argument registers and system call arguments. Some user programs like strace and glibc needed to know this sort of information, but their way of gathering it together—although well accomplished—was very messy too. Read more

GNU hackers discover HACIENDA government surveillance and give us a way to fight back

GNU community members and collaborators have discovered threatening details about a five-country government surveillance program codenamed HACIENDA. The good news? Those same hackers have already worked out a free software countermeasure to thwart the program. According to Heise newspaper, the intelligence agencies of the United States, Canada, United Kingdom, Australia, and New Zealand, have used HACIENDA to map every server in twenty-seven countries, employing a technique known as port scanning. The agencies have shared this map and use it to plan intrusions into the servers. Disturbingly, the HACIENDA system actually hijacks civilian computers to do some of its dirty work, allowing it to leach computing resources and cover its tracks. Read more