• Fixing Display Issues on iPad with HDMI out

    Several years ago when Apple released Macs with USB-C connectors, there seemed to be a lot of talk about needing a bunch of dongles to connect things. When I got my first USB-C based Mac, I only had 2 dongles and was content. Over time, I saw various USB-C hubs that had multiple USB-A ports, power delivery, Ethernet and HDMI out. I bought one and used it for everything except the HDMI out as I use an old Thunderbolt Display.

    When I bought my 2018 iPad Pro with USB-C, I tried the hub on it, but was told by the support folks that the iPad Pro wasn't fully supported; I guess the power delivery didn't work properly. It would have been nice for it to work, but it didn't really matter to me at the time.

    Earlier this year I saw a sale on the Plugable 7-in-1 USB-C hub that had all the ports I'd ever need into SD card slots (I had been working a bit with SD cards at the time, so that seemed convenient). I used the hub with my 2017 MacBook Pro without issues, but never tested the HDMI output as I rarely took my machine anywhere.

    Last month we were getting ready to go on a trip and I decided to check the hub to see if I could connect my iPad Pro to our TV in case we wanted to watch a show. The Plugable hub was advertised as iPad Pro compatible, so I had no reason to think it wouldn't work. When I plugged it in, all the colors were messed up. I plugged in my MacBook Air and it didn't have any problems.

    Messed up display colors

    I contacted Plugable's support and they assured me it was compatible and started going through troubleshooting steps. For our trip, I brought the Plugable adapter as well as my older adapter that didn't have the same problem. When we wanted to watch a show, I decided to try the Plugable hub and much to my surprise, it worked fine. I sent my findings along with the model number of the TV in our room and thought maybe it was a 4K vs 1080p issue.

    When we got home, I tried a few more troubleshooting steps that were recommended to me and didn't see any change. After much Internet searching, I discovered that when you plug an HDMI display into the iPad Pro, an extra option appears in Displays & Brightness for the display. Under connected displays, there is my TV, the 55R617.

    Tapping on the option brought up 3 choices for Preferred Display Setting with the checked one being Dolby Vision. I selected the second option (High Dynamic Range) and boom, the picture problem cleared up!

    Preferred Display Setting

    I relayed this information to Plugable support and the person I was working with commended me on my sleuthing and said that was exactly the issue as the chipset used in the hub didn't support Dolby Vision (extra licensing for it) and offered me a refund if I wanted it. I told him it wasn't necessary (support was great and would definitely recommend their products) as I just wanted to make sure I knew how to work around the issue when I traveled.

    Now I can just bring 1 hub for both my iPad Pro and my MacBook Air when I travel and hook up either device to a TV if needed. As long as I remember to bring an HDMI cable (it's on my packing list), we should be good to watch our own content when we travel.

  • My Take on the M1 MacBook Air

    Years ago Mac laptops were getting so much better every year that I was on a 2-3 year cycle for upgrading my machine. The performance increases helped with my productivity as it reduced compile times for my work. This increase slowed dramatically in the last decade and I stopped buying new machines so often.

    When the Retina MacBook Pro was released (2012), I got a fairly loaded one (quad core i7, 16 GB RAM, 512 GB SSD). This machine was a workhorse for me for 5 years. In 2017, I bought a new 15" MacBook Pro that was kind of a mid range machine that was still a quad core i7, but had a higher clock speed. It definitely was faster, but for being 5 years newer, I really had expected more. In any case, I gave my 2012 machine to my wife (she says she doesn't mind getting older hardware as long as it works; does she really mean it? I hope so!).

    For a few years, the 2012 machine has had an indicator saying that the battery needs service, but it can still be used. We've ignored that for awhile as it mostly stays connected to power. Two weeks ago, the machine restarted a few times while my wife was using it to teach. My theory was that the battery was on its last legs and when the MagSafe adapter got knocked out, it lost power and restarted. That might not quite be the issue, but started me thinking about what to do with it. We had basically 2 options; option 1 was to replace the battery myself using a battery from iFixit or buy a new computer.

    I've opened up machines before and replacing a battery should be doable. However, this machine has the battery glued in and was rated as a hard to replace. If anything went wrong, the machine was basically toast. A friend of mine saw a technician replace the battery and advised me against it. Apple put the machine on its obsolete list last year so Apple wouldn't touch it and authorized repair centers couldn't get Apple parts for it; so if I wasn't going to replace the battery, who would? If the battery wasn't the problem, getting it serviced would be near impossible. It would also be throwing money at a very old computer (9 years is a pretty long life for a laptop).

    The second option of buying a new computer was the easier option, but far more expensive. My wife didn't care if I got a new machine and she got my 2017 machine or if we got her a new machine. I asked a few friends what they would do and the answers ranged from don't buy an M1 machine now because it is a first generation to loving his M1 MacBook Air. I had shied away from the MacBook Air for me in the past because they had been underpowered and I thought the screens were too small. These days I use an 11" iPad Pro often and don't use my laptop all that often without it being connected to an external display, so I would be OK with the 13" display and the differences between the Air and the 13" MacBook Pro were relatively minor that I'd save a few dollars by going with the Air.

    I decided to get a new M1 based MacBook Air and my wife would get the 2017 machine. While she didn't care, I justified me getting the new machine thinking that if there were any problems with the M1, it would be better that I had them than she did as the computer is just a tool for her and she doesn't like futzing with technology.

    The machine I picked up was a 16 GB/1TB/8 GPU M1 MacBook Air. Of course I bought AppleCare+ with it as I now buy AppleCare+ on just about every Apple product that is portable. This was the least I've spent on a laptop (in raw, non-adjusted dollars) in a long time; did I make the right decision? Would the machine be able to handle my daily work?

    After setting up the machine, I worked on getting my projects to build. While they built fine for an iOS device, they wouldn't build for the iOS simulator due to a different simulator architecture. Unfortunately there are a few 3rd party libraries I use that I don't have source for and needed a workaround until the libraries are updated. I did a bunch of searching and found the answer:

    EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64

    That magic line in my project (as well as sub projects) got me going again. A full build of one project on the M1 machine was 42 seconds; on my 2017 machine it was 1 minute 24 seconds. Wow! That's some pretty impressive performance.

    The next part of getting setup was getting a Ruby on Rails project setup. Luckily Homebrew has many packages compiled for the M1, so I installed that, Ruby and some other pieces. Unfortunately it took me about a week to figure out that I had to change the version of a library to the latest as someone committed changes to build on the M1.

    I took the machine on a trip last week and I absolutely love the size and weight! Even though it is a lot smaller than my 15" machine, the screen is easy to read. The keyboard is excellent and the machine performs well in everything I've thrown at it. While it only has 2 Thunderbolt/USB-C ports, that's not a problem. I have 1 connected to a Thunderbolt 3 to Thunderbolt adapter for my Thunderbolt Display and the second is connected to a USB-C hub that has a few USB-A ports, SD Card reader and power delivery.

    Up until yesterday I hadn't restarted the machine since I got it, but have had 3 kernel panics since then which is concerning to me. I'm not sure if it is related to the external hard drive I connected to perform a backup or running Cura in Rosetta 2.

    As long as the kernel panics stop and performance remains as good or better than my old machine, then I'll be a happy camper and this will have been a good purchase. When Apple releases new machines with either the M1 or a newer processor, I think they'll be a hit. However, I'm so taken with the size and weight of the MacBook Air, I might not want to move to a larger machine even if it has better performance.

  • Dreading the trip to the mall (it turned out fine)

    One of the malls in San Diego is University Towne Center. It has always been my least favorite mall because the traffic around it is horrendous. I hadn't been there in years even prior to the pandemic. A few years ago, I had read that the whole mall was under construction and they added a major parking garage (there was a small parking structure in addition to lots of surface parking before) which made me want to go there even less. In addition, they started charging for parking. Last week when I was looking to get a MacBook Air, I didn't want to have it shipped as it would have arrived when we weren't home and the other close Apple Store didn't have it, so I decided to brave the mall and goto UTC. I read that the first two hours of parking were free, so that was good.

    I drove to UTC using a sightly less traveled route and was kind of lost as I approached it as there is still a lot of construction for the trolley extension. Traffic was light (it was a weekday around lunchtime), so it wasn't bad getting there. I turned into the parking garage and was overwhelmed at its size; the entrance was very wide open and spanned two stories. I got my ticket and followed some signs to Nordstrom since I really had no idea where the Apple Store was located. As I proceeded, I saw signs that indicated how many empty spaces down each section. In the past I've thought that they were kind of made up. Once I started going down an aisle, I realized that the numbers were completely accurate; overhead down the center of each aisle was a small sign that had a red or green indicator on each side showing me which spot was occupied. This made finding a space super easy. I parked, recorded the section I was in on my ticket as I had no idea where I was going, followed the painted walkways to the stores, and then went up 2 flights of stairs.

    The digital map said to use at your own discretion, so I pulled out my phone and looked for the Apple Store. I had managed to park relatively close, so it was a short walk. I stood in line outside for less than a minute, showed my barcode, had my temperature checked (yeah, I know this is a waste) and then was told to wait on one of the black dots near the window inside the store. Someone brought out my computer, checked my ID and I was on my way.

    Getting back to my car was easy and exiting the garage was another painless activity. When I got to the gate to leave, I tried to stuff the ticket in the machine, but it wouldn't go and the gate opened. I think it read the barcode and opened without me having to put it in. This particular exit was on a street that had less traffic, so I was on my way. I think my total time from leaving my house to returning was less than hour with about 25 minutes of that being driving time.

    The experience was so pleasant, I might consider going back to the mall in the future!

  • Another stab at fixing the Vizio SB36512-F6 Soundbar

    About a year and a half ago, I wrote about fixing the SB36512-F6 soundbar as sometimes we just couldn't hear anything from it. My "fix" seemed to work for awhile, but over the last few months, the problems have been worse. We would start a show using Channels or Netflix (primarily) and got no sound. Lately the volume buttons wouldn't work (through HDMI-CEC) which is also frustrating. Through a combination of powering down the TV, changing the input on the soundbar, and powering off the outlet for the devices, we were able to get sound again.

    I've been so frustrated with this that I've been on the verge of purchasing another soundbar, but waiting for a Costco sale so that I can take advantage of their return policy when it performs poorly. Today I decided to do another web search to see if others encountered the same problem. Unfortunately my original post was one of the hits! On the positive side, other posts indicated that Dolby Atmos was pretty poor on these types of soundbars which gave me an idea.

    In order to get Dolby Atmos on the soundbar, I plugged the Apple TV into the soundbar's HDMI port and then the TV into the soundbar's HDMI ARC port. If I was willing to forego Atmos, I had more options for connecting the soundbar. Since I like HDMI-CEC for controlling all my devices, I decided to plug the Apple TV directly into my TV and then plugged the soundbar into the TV using HDMI-ARC.

    Initial tests show that the setup works as expected with HDMI-CEC working for controlling volume and the power to the devices (I use power loosely as the devices are always in some type of standby mode). Will this fix my problems? I sure hope so or it is back to the drawing board on how to deal with this frustration.

    It still baffles me that getting devices that adhere to standards working together is such a crapshoot. I have no idea how the average person gets any type of technology or electronic device to work.