Pioneer SC-LX57, Linux, MythTv, Intel (i915) GPU and HDMI issues


Notes on my long running project to build a HTPC to replace my aging PVR has had many issues. The HDMI output is from the GPU on an Intel i3-3220 CPU in a Gigabyte GA-Z68M-D2H motherboard which is then connected to a Pioneer SC-LX57 AVR and then onto a Panasonic TH50PZ700A 50″ plasma screen.

No sound at 1080p resolution

Initially I was using a Yamaha RXV-3800 AVR and sound was working fine. After returning from holidays and finding the Yamaha had failed. Eventually the failed AVR was replaced with a Pioneer SC-LX57 AVR. At this point I no longer had any HDMI audio and since the HTPC was still a work in progress I could no longer remember if it used to work or not. I thought I had, but wasn’t sure.

After much messing around it wasn’t until the output reverted itself to 720p (due to the second issue below) that I suddenly heard sound from the HTPC via the new Pioneer AVR. It still took some time to figure out that  there was no sound at 1080p@60 and 1080p@50 but with any other resolution sound worked fine. So 1080i and 720p both worked fine for example.

The issue turned out to be a timing issue in the Intel driver. Apparently most amplifiers were fine with the wrong timings, but the Pioneer was not happy and refused to decode the audio. The first reference to this issue I could find, along with some clues as to what was going on, was on the alsa-users mailing list:

The eventual fix appeared several months later on the intel-gfx list:

The fix was eventually merged into the main line kernel version 3.13-rc1:

commit 1a91510dc3b8098930ebda3018f5cd72e8428243
Author: Jani Nikula <>
Date:   Wed Oct 16 12:34:48 2013 +0300

    drm/i915: set HDMI pixel clock in audio configuration

    The HDMI audio expects HDMI pixel clock to be set in the audio
    configuration. We've currently just set 0, using 25.2 / 1.001 kHz
    frequency, which fails with some modes.

    v2: Now with a commit message.

After upgrading the kernel to 3.13-rc3 sound was indeed working again at 1080p, and all other resolutions.

Default resolution of 720p

Every time the HTPC was turned on, or a different input device was selected on the AVR and then the HTPC device re-selected the resolution would switch back to 720p. Needless to say this was rather annoying.

There were two different issues at play here. The first was that the display was reporting that it prefered 720p in its EDID information:

[htpc][ 7:01PM]~#> DISPLAY=:0 xrandr --current
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1434mm x 806mm
   1280x720       50.0 +   60.0  
   1920x1080      60.0*    50.0  
   1920x1080i     30.0     25.0  
   1440x576i      25.0  
   1440x480i      30.0  
   720x576        50.0  
   720x480        59.9  
   640x480        59.9  
DP2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

The asterisk (*) represents the current mode, while the minus (-) represents the default mode. I would assume the first mode listed is the default since the above order matches what the EDID information from the display.

After trying many different options I ended up using the video command line parameter to request a specific output and video mode:

[htpc][ 2:41PM]~%> grep ^GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub

The available resolutions can be found in the xrandr output above. The name of the device was a bit more complicated to find. Looking in /sys/class/drm and finding an entry that was enabled is probably the easiest way to determine this:

[htpc][ 6:06PM]~%> for i in /sys/class/drm/card*/enabled; do echo -n "$i\t"; cat $i;done
/sys/class/drm/card0-DP-1/enabled    disabled
/sys/class/drm/card0-DP-2/enabled    disabled
/sys/class/drm/card0-HDMI-A-1/enabled    disabled
/sys/class/drm/card0-HDMI-A-2/enabled    enabled
/sys/class/drm/card0-VGA-1/enabled    disabled

With this change made the system boots with 1080p as the default resolution instead of 720p. Other options may have worked, but I was also fighting to get HDMI sound output at the same time! There option I played with was using the kernels built in EDID information via the ‘drm_kms_helper.edid_firmware=HDMI-A-2:edid/1920×1080.bin‘ command line option. While this worked it also seemed to stop sound from working, although I am longer sure if that was due to the ‘no sound at 1080p‘ issue or because this built in EDID needed to contain sound information for sound to work. Since the video options is working perfectly now I have left it as it is.

But even though this change resulted in it starting up the correct resolution it still failed to hold that resolution when switching devices. Changing away from the HTPC and back again more often than not resulted in it returning to 720p. Each time this happened the following kernel messgae was logged by the kernel:

[527883.367864] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 161

This appears to be an issue with the kernel and its re-reading of the EDID information when the display is re-connected. After upgrading to the latest kernel (3.13-rc3) and xorg (via the xorg-edgers-ppa-precise) this issue has now gone away. It looks like this is a kernel issue so I would assume the kernel upgrade was responsible for fixing this.

Pioneer SC-LX57 (SC-75) I/O assignments

The following image shows the inputs available on the rear of the Pioneer SC-LX57:

Pioneer SC-LX57 rear panel inputs

There are eight HDMI inputs (IN1, BD, IN2, IN3, IN4, IN6, IN7 and IN8) on the back panel with an additional HDMI input on the front (IN5/MHL). There are two component inputs, two coaxial digital inputs, two optical digital inputs and a number of analog and composite video inputs. Other inputs include the adapter port for an optional bluetooth adapter, an Ethernet port and a WiFi adapter (usb) port (not shown) for network access and a USB port on the front.

The available options for input assignment to devices wasn’t totally clear from the manual. After some experimentation I now have a full table of what inputs can be used with each device, as shown in the following table:

Input assignments


TV Y Y Y Y                       Y     TV
CD Y Y Y Y                       Y     CD
BD         Y                           BD
HDMI5           Y Y Y Y Y Y Y Y           MHL
HDMI6           Y Y Y Y Y Y Y Y            
HDMI7           Y Y Y Y Y Y Y Y            
HDMI8           Y Y Y Y Y Y Y Y            

Some additional notes an the input assignments:

  • Audio assignment for the TV device is not available when HDMI ARC (‘Audio Return’) is enabled. When ARC is enabled the audio is taken from the return audio path via the HDMI OUT 1 output.
  • The Analog and Composite fixed inputs are dedicated to the specified device and not assignable.
  • All devices have IR input codes to directly select the device.
  • All devices have separate  ‘Auto’ input IR codes that as well as selecting the device will also power on the AVR if it is not already powered on and then switch to the selected input. This is very handy in that it avoids a delay that would normally be needed to wait for the AVR to power up before selecting the correct input.
  • It is not possible to select video and audio devices separately (so no way to watch the SAT/CBL device while listening to the CD device for example.)
  • When an audio only device is selected the HDMI output appears to be turned off.
  • HDMI4, HDMI6, HDMI7 and HDMI8 are connected via an internal HDMI switch. This does not effect assignment or input selection but it does effect the HD-ZONE output (If using the third HDMI output as a separate zone.) It is not possible to have more than one source from this group active at any time.
  • The inputs without a direct access key on the remote can still be selected by using the HDMI input cycle button or the next/previous device button.
  • The MHL remote button does not have any device code associated with it. It switches the remote to the Pioneer MHL control IR code set.
  • The HDMI remote button does have a device code associated with it, but it will also cycle through any HDMI input that are not skipped each time it is pressed.

In many ways this is far more complex to setup and far more restrictive than the Yamaha RXV-3800 that it replaced. All the extra inputs and the full list of IR codes made available by Pioneer though have made this far less of a problem  then it might have otherwise been.

Note that the Pioneer SC-LX57 is also known as the SC-75 in other markets. The SC-LX77 and SC-LX87 (SC-77 and SC-79 in other markets) are practically identical from the input device configuration point of view (with the addition of a PHONO and USB DAC inputs being the main differences).

Squeezebox radio review

What better way to wake in the morning than to a bit of streaming radio? No longer limited to the few FM or AM radio stations in your area and the option to the play your own music or stream from online music sources.

There were were two devices that I had in mind when I decided that none of the local radio stations were really doing much for me. Taking into consideration that I already had a Logitech Squeezebox Classic (V3),  the Logitech Squeezebox Boom seemed like the ideal candidate. It would be able to use my existing Logitech media server with all the existing local music and online music sources already present, and provide synchronisation and transfer options.

The other option that seemed like it might work as a DAB+ clock radio with line in paired with another Squeezebox Classic or a Squeezebox Touch. The need for multiple devices and the poor selection of DAB+ clock radios meant that this idea was abandoned early on.

So when the Squeebox Boom was put up for sale I jumped on board and ordered one. Another employee from my office also order one shortly before mine… which he received. But all I received was a call indicating that the last of the stock had been sold before they got to my order! So the Squeezebox Radio was last option for a self contained unit that could use the same Logitech media server install and had it’s own amplifier and speakers. The Radio also had the option for battery power and I eventually decided to buy the optional battery + remote pack.

Squeezebox Radio vs Squeezebox Classic


The first step out of the box is the setup processes and this can be a little confusing. You need to have a account to complete this step, even if you have no plans to use it. I highly recommend creating this account before hand so you don’t have to try and create it on the squeezebox itself.

If you have are running a local copy of Logitech media server then it will require a specific version of the firmware on the radio,  which may be different to the version that the service requires. This can result in some confusion about what version is needed! In my case it kept telling me it needed to upgrade to use my local Logitech media server, but what it actually mean it needed to downgrade, and that downgrade kept failing. After upgrading the local Logitech media server software version to the latest and power cycling the radio it all worked smoothly. This wouldn’t be an issue if you were not going to try and use a local instance of the Logitech media server.

User interface

On the older Squeezebox Classic you got a nice big VFD display, while on  radio you get a smallish LCD in its place. The new LCD can give you more menu options and once and show cover art it is rather small and I really do look the VFD displays in the original Squeezebox Classic. One area where the extra real estate of the LCD is noticeable in particular is manipulating alarms and play lists.  With a relative small size it does mean you need to be up nice and close to make sense of what it is showing.

Sound quality

The radio doesn’t have the sound quality or volume of the Squeezebox Classic connected to an expensive Hi-Fi system, but its reasonably decent (if mono) and perfectly suited to bedroom, bathroom, kitchen and back yard duties.

It would be interesting to compare to the sound of the Squeezebox Boom which has stereo output but physically looks like the speakers are smaller.

Even at maximum volume there’s no distortion to be heard – the sound remains very clear.


After much thought I decided to acquire the optional batter and remote pack. And despite the rather high price I am pretty happy that I did.

The battery means I can take the radio from the bedroom to the bathroom and it keeps on playing. Or I can drag it into the kitchen, or head out to the garage or wonder out  to the the back yard and it keeps on playing. Sure you could take the power adaptor with you and plug it in at your destination, but that’s more work and you’d have no audio while moving between locations.

When put into standby while on battery power the radio will turn off totally after an hour to save the battery from being drained. If it remains connected to the mains then it remains in standby ready to go. When totally powered off there is a reasonably long delay (approx 20s) while it powers up.

Over time I have found myself carry the radio into the kitchen while cooking and now consider it an excellent accessory for the kitchen. So much so that I may well be tempted to buy another one to use as a dedicated kitchen unit!

A recent problem that I have experienced is that after powering off (after the one hour on standy) the radio immediately powers up again, and resume playback of whatever is was playing when turned off. This didn’t happen originally so is possibly trigger by having the alarms enabled (it should wake up when the alarm is ready to fire) and was setting the radio to resume playback whenever it is powered up. This is a combination of having the squeezebox radio set to resume playing at power on and then turning the radio off. If I turn that setting off, or if I pause playback before turning it off, then the radio correctly turns off.

Preset stations

The preset buttons are very handy for quickly selecting one of your favourite stations or playlists.

I have the 6 most common internet radio streams I listen to set on each of the presets and makes it a lot easier to change between stations without having to look at the screen, such as when using it in the bedroom.

Perhaps the only downside is that there are only 6, and that they can’t be selected from the remote control.

Remote control

The remote has turned out to be very handy when using it as a sleep radio and/or alarm clock.  It is a lot easier to operate the sleep timer, volume, menus and alarms from the little remote than tying to reach out and press the buttons on the front panel.

I also find is a bit quicker to walk through the menus using the little remote than trying to use the dial on the front panel, so if the remote is handy sometimes use that instead of the dial on the front.


The WiFi connection has been rock solid and works all around the house, outside, in the garage etc.  In areas where my Samsung Galaxy S2 smart phone looses WiFi access the radio is still showing a high signal strength and still streaming fine.


Being able to use the radio as an alarm and to run it on a sleep timer at  night was one of the main reasons I decided to buy the Squeezebox Radio. What I didn’t expect was just how much I would appreciate having multiple alarms, with specific days and times (anyone who uses their smart phone’s alarm functions may be familiar with this.) It is very nice not having to remember to turn the alarms on and/or off and to be able to set weekend alarms days before the weekend. And there’s an al off for those times when  you on holidays and don’t want any alarms.

The alarm has been rock solid running from the local Logitech media server. Other reports suggest that this is not very reliable but most of those reports appears to be when using Another squeezebox owner (of the boom) reporting problems before switching to a local Logitech media server.


Back when I purchased the original Squeezebox Classic I felt the only thing wrong was how long I waited till I purchased it!

I think the same can be said of the Squeezebox Radio.

Originally it was the ability to use it as an Alarm clock that was my main interest but now find myself carry it all over the place. It’s not perfect but for anyone who already owns other Squeexebox products it is definitely a nice addition. If I didn’t already have the Squeexbox Classic and the associated Logitech media server running then I may have looked elsewhere, but with those already running it made sense to get something that fit well with the existing components.

The cost of the Radio was $USD149 and the optional battery pack and remote was $USD50 from in June 2012.

Beyonwiz DP-P1 hard disk upgrade

The trusty Beyonwiz DP-P1 had served me well for a few years but the 250G hard drive was starting to feel a bit small.

Research suggested that it was important that any new hard drive didn’t consume much more power than the original drive. If a SATA drive was to be used some a SATA to IDE adaptor would be needed and that would consume additional power which also needed to be taken into account.

Eventually I settled on the following components for the upgrade:

  1. Hitachi CinemaStar 7K1000.C 1TB 7200RPM SATA HDD
  2. Altronics D2335 SATA to IDE Converter Module

Attaching the converter to the SATA HDD effectively converted it into an IDE hard disk. It was then just a matter of swapping the existing hard drive and reconnecting the IDE cable and power cables.

The drive runs cooler and quieter than the original Samsumg 250G drive and disk related actions seem to be a lot more responsive. So deleting files, bringing up file player list etc are all feel quite a bit faster.

No problems have been observed in the year since the upgrade, including running the disk check after power outages. Most of the time the disk space used is sitting between 400G and 600G. Currently running firmware version 350.