Some Bits: Nelson's log

7 posts in July 2025

Sony Bravia A95L “Enhanced Mode” HDMI

I bought a fancy new OLED TV, a Sony Bravia A95L. It’s beautiful! And it should do 3840x2160 video (ie, 4K) at 60Hz with HDR10. With Variable Refresh Rate, no less! But I was having trouble with both my Playstation 5 and a gaming PC I have.

Long story short, the Sony Bravia has a configuration for each HDMI input called “Enhanced format”. You want to turn that on. By default it is off and video signals are limited to 30 FPS in HDR mode. I guess this is a compatibility / performance thing but it seems fine for me.

There’s all sorts of other things that can go wrong. Windows likes to default to 30 FPS sometimes. The cable can be the wrong kind. Etc. But this setting in the screen is a new one on me.

There’s a bunch of other settings in the screen input too. One thing I particularly like is you don’t have to enable “game mode” to disable a bunch of extra processing like motion smoothing, etc.

It really is a lovely display. HDR is a marvel.

ZFS on an external USB drive

I’m liking ZFS so much I decided to use it on my new media storage drive. A 14TB external USB drive with video and music files. The serious nerds who use ZFS will tell you that USB is unsuitable and there’s no point in using ZFS without reundancy. Phooey!

It works quite well. You plug the disk in, create a pool on it (with just the one disk), and you’re done. It automounts for you. You can create datasets to segregate data and they automount. (Be aware you can’t efficiently move files between datasets, that ends up being a byte by byte copy.) And as a bonus you get ZFS features like checksums, deduplication, snapshots, etc. It’s nice!

What happens if you unplug the disk? If you unplug while the disk is mounted (“imported”) it’s a total mess. Don’t do that. This is the problem with USB, it can be a bit flaky and act like it unplugs itself, but I think that’s mostly a problem of the bad old days. So far so good!

If the disk is unplugged and the system is rebooted, the directories won’t exist at all. This is different from ext4 or other fstab filesystems. For instance, say /jukebox is my USB disk. With ext4fs I have to do a mkdir /jukebox before mounting, so there’s a /jukebox present on the root filesystem. The mount replaces the directory. If the disk doesn’t mount you still have that /jukebox visible and other stuff might try to use it. Instead if you have a ZFS pool named “jukebox” it just automounts to /jukebox even if that name doesn’t exist at all in the root filesystem. And if it doesn’t mount, that means there’s no /jukebox at all. In my case I’m using these USB disks as bindmounts for LXC containers. Proxmox notices the directory doesn’t exist and refuses to even start the container. I like that failure mode.

Mostly the disk is plugged in though and ZFS seems to work pretty well with it.

(Elsewhere I have a deployed system with ZFS mirroring deployed on two USB disks in the same enclosure. This also seems to work reliably, after one USB hiccup scared me right at the start.)

Passkey success (Jul 2025): 1Password

I love the idea of passkeys but had a very bad time trying to use them last year. But sites keep adding support for them and friends reported they were having more luck, so I gave them another try. It worked!

Before I get into details, I want to talk about another milestone: Apple is leading the way in passkey migration, see these notes on iOS 26. So far none of the vendors had any story for “what if I want to move my passkey to a different device or program?” and Apple now has a solution.

For now I’m storing all my passkeys in 1Password. They’re my existing password agent and I like they are independent. If I were starting brand new I might use Google’s password manager instead, it’s now quite good, but it locks you into Chrome. Apple also has very good password management in their products.

1Password, Windows, and Android

I’m now able to log into GitHub and this test site with passkeys. I generated them in Chrome on Windows and stored them in 1Password and that worked. I could then use them from Chrome on Android (via 1Password). Hooray!

It’s still a little janky: the 1Password UI integration is not perfect. But it does work. A huge help is everything is now displaying which software is trying to fill in the password: 1Password’s blue keyhole icon or Google’s multicolored key.

It was not easy making this work reliably! It’s partly my fault: last year when testing I did everything I could to disable 1Password. Re-enabling it was not so simple. In Windows it’s straightforward enough, but note that Google Chrome or Windows Hello both might try to intervene. I’ve got it going to 1Password first now and I’m happy.

In Android it’s a total mess. It’s Google’s fault, the Android settings have proliferated terribly across the product. And I suspect no one at Google is mandated to make it easy for their competitors to work well.

1Password’s instructions mostly got me there but shed a tear for step 3 with four different scenarios like “If you have a Samsung device running...” Good ol’ Android :-(

Actually even following those instructions I had a lot of trouble. You have to enable it in two different Settings places.

I ended up having to remove everything and re-enable 1Password a second time for it to work. Like I said before, I did a bunch of stuff to disable 1Password last year and I suspect that made me a trickier case than most users.

So passkey usability still isn’t great. But at least I can get them working on my devices now! And now that it is working I’m anticipating a real improvement in authentication usability. I’m convinced passkeys are a good technology, I just wish the user experience were better.

Some quick LLM speed tests

This article about running LLMs on a laptop inspired me to try out LM Studio again on Windows. This is on a computer that I first built 8 years ago and updated in 2020. Ryzen 3700X CPU with 32GB RAM, and an old GeForce 1080 with 8GB of VRAM.

Bottom line: I can run Q4 models up to 8B parameters pretty fast, 20-25 tokens/s. It feels about as fast as basic ChatGPT. Big models like 27B run in one tenth the speed, 2-3 tokens/second. The big difference is the smaller models fit entirely in my 8GB VRAM. I think there could be some headroom for more than 8B models, maybe as much as 12B? But in practice the 12B models are running a lot slower, so maybe not.

You can run inference usefully entirely on a CPU, no GPU at all, as long as you aren’t in a hurry. LM Studio is smart about offload parts of a model to use as much of the GPU as it can, but it seems much faster if it can run the whole thing on the GPU. Most of these models are 4 bit quantized, so a 12B model needs roughly 6GB of RAM to load. Plus overhead which is significant, 20%? I can’t make the numbers add up in testing, I must not understand something.

Update: I can get about 20 tokens/s on fast small models, and 2 tok/s on big slow models. FWIW ChatGPT says the consumer web products are working at about 50 tok/s.

Anyway, some quick tests of recent models. The prompt was something like “write me a python program to reverse the words in a sentence. No fair using [::-1] to slice it backwards, that’s cheating Just write the reverse function and show it to me, don’t discuss your answer or show usage and tests”.

I didn’t really inspect the quality of the output, just testing what I can run. Unfortunately I can’t exactly measure how much RAM and VRAM these things are loading: LM Studio does not accurately report it. So instead I’m recording the model download size: RAM usage seems to be 10-20% more.

Fast

deepseek/deepseek-r1-0528-qwen3-8b. 20-25 tokens/sec. 5.03GB. Note deepseek has an extensive “thinking... process” first so the useful output takes longer. Most of those tokens at 20 tokens/sec are not useful to me! It spun for several minutes on my programming questions, thinking to itself. I’ve got no idea what’s going on here but it was not very useful.

google/gemma-2-9b: 20 tok/s. 5.1GB

google/gemma-3n-e4b (6.9B). 25 tok/s, 4.2GB

gemma-3-270m (0.3B) 112 tok/s but while the output is coherent it is very wrong

Slow

google/gemma-3-12b. 7.5 tok/s. 8.2GB. LM Studio says “Full GPU Offload possible” but I have my doubts based on observed behavior.

google/gemma-3-27b. 2.7 tokens/sec. 16.4GB

mistralai/mistral-small-3.2 (24B). 3.6 tokens/sec. 15.2GB

Prompts (Aug 1)

I forgot to document the prompts I’m using to testing. It’s very simple. (typos and all!)

  • who am i talking to?
  • write my a python program to reverse the words in a sentence
  • write my a python program to reverse the words in a sentence. No fair using [::-1] to slice it backwards, that’s cheating… Just write the reverse function and show it to me, don’t discuss our answer… or show usage and tests
  • summarize the literary career of Edmund White in about 500 words.

Update (Linux server, Aug 1)

I’m doing some new experiments using Ollama on my main server, a 2022 machine with an i5-12600K and 64GB of RAM. It has no GPU at all. I’m giving the LXC 40GB of RAM and 12 CPUs (the machine has 6 performance cores with 2 threads each.)

google/gemma-3n-e4b (6.9B). 14tok/s. ollama has 8GB resident.

gemma3/12b: (12B). 5.6 tok/s. Ollama is 10GB resident.

gemma3/27b: (27B). 2.7tok/s. Ollama has 19GB resident.

Summary: even without a GPU, my little server can run useful models fairly quickly. 14 tok/s on the server CPU feels reasonably fast and is a little over half the speed of the same model running on my Windows machine with an old GPU. The other big conclusion here is that tokens/second is correlated with number of weights in a model. Twice the weights, half the speed. (It’s not quite linear, but close.) I guess that’s obvious but I never understood it before.

Update (Hosting, Aug 1)

I don’t know that self-hosting an LLM makes sense. ChatGPT claims it would cost a few hundred dollars a month to rent a server with a GPU big enough to run gemma3/27b. Alternately you can pay companies to run gemma3/27b for you and access it for about $0.20 / 1M tokens. OpenAI and Claude are significantly more expensive, on the order of $10-$70 / 1M tokens. But then they are much higher quality systems with a lot more going on than just the LLM.

Outputs

I said I wasn’t evaluating output quality but here’s the Edmund White transcripts. They are all competent but the gemma3n/e4b model’s answer feels a little off, it talks about some lesser books and some of the tone feels a little off (like referring to “a close friend”). And the gemma3/12b model is just plain wrong in places, hallucinating the title “A Boy’s Own Apollo”. gemma3/27b also makes some factual mistakes: My Lives wasn’t published in 1981 but in 2005. Overall these answers seem good but have some real flaws.

gemma3n/e4b

Edmund White, born in 1940, is a towering figure in American literary
history, renowned for his unflinching explorations of gay male life,
sexuality, and the complexities of identity. His career, spanning over
four decades, has consistently pushed boundaries, blending memoir,
fiction, and literary criticism into a distinctive and highly acclaimed
body of work.

White’s early writing emerged during the burgeoning gay rights movement of
the 1970s. His first novel, Desire (1976), established his signature
style: a meticulously detailed, often self-deprecating narrative that
prioritized psychological realism over plot-driven storytelling. It
explored the anxieties and desires of a young, closeted gay man in New
York City, setting the tone for his future explorations of intimacy and
self-discovery. This period saw him become a prominent voice in the gay
literary scene, offering nuanced portrayals that challenged prevailing
stereotypes.

Throughout the 1980s and 90s, White’s work gained wider recognition. He
published several novels, including A Boy’s Own Story (1984), a
semi-autobiographical novel that delved into his childhood and
adolescence, and The Beautiful Room is Empty (1988), a poignant
exploration of grief and loss following the death of a close friend. These
works cemented his reputation as a master of psychological realism,
capable of capturing the subtle nuances of human emotion and experience.
He also began to publish more explicitly autobiographical works, blurring
the lines between fiction and memoir.

A significant turning point in White’s career came with the publication of
My Usual Profession (1997), a collection of essays that offered a candid
and often humorous account of his life as a writer. This collection
revealed a sharp wit and a willingness to expose his own vulnerabilities,
further solidifying his reputation as a literary intellectual. He
continued to publish both fiction and memoir, including The Farewell, My Love (1998), a deeply moving exploration of love and loss, and States of Desire (2000), a collection of essays that examined the complexities of
desire and identity.

In later years, White’s work has become increasingly introspective and
philosophical. He has explored themes of aging, mortality, and the legacy
of his own life. His novels, such as The Humbling (2008), a
fictionalized account of a mentally fragile painter, and Life is Elsewhere (2011), continue to grapple with the challenges of human
connection and the search for meaning. He has also written extensively
about other writers, offering insightful and often affectionate portraits
of literary giants like Marcel Proust and Henry James.

Edmund White’s literary career is characterized by his unwavering
commitment to honesty, his masterful prose, and his profound understanding
of the human condition. He has consistently challenged conventions and
pushed the boundaries of literary form, creating a body of work that is
both deeply personal and universally relevant. He remains a vital and
influential voice in American literature, celebrated for his ability to
illuminate the complexities of gay life and the enduring power of love and
loss.

gemma3/12b

Edmund White’s literary career is a fascinating and evolving chronicle of
a life lived openly and honestly, reflecting shifts in American culture
and the ongoing struggle for LGBTQ+ visibility. Spanning over four
decades, his work has traversed genres, from memoir and biography to
novels and essays, consistently marked by a keen intellect, elegant prose,
and a persistent exploration of identity, desire, and the complexities of
human connection.

White’s early work, heavily influenced by Proust and Fitzgerald,
established him as a significant voice in American literature. His first
novel, A Boy’s Own Apollo (1985), launched his career and became a
landmark in gay literature. The trilogy, comprising A Boy’s Own Apollo,
The Farewell Symphony, and The Plotting of Mrs. Lang, boldly explored
the coming-of-age and interior life of Thomas Scholes, a gay man grappling
with societal expectations, artistic ambition, and the AIDS crisis. These
novels, initially criticized for their perceived elitism, resonated deeply
with readers seeking authentic portrayals of gay experience, and
solidified White’s reputation for stylish and introspective prose.

The AIDS crisis profoundly shaped White’s subsequent work. States of the Union (1988), a semi-autobiographical novel, offered a poignant and
searing account of a young man’s experience with the disease, interwoven
with political commentary. This marked a shift towards greater social
engagement in his writing. Following the deaths of friends and loved ones,
White turned to biography, finding solace and intellectual stimulation in
exploring the lives of others. His biographies of Guillaume Apollinaire
(Guillaume Apollinaire: A Life) and Caravaggio (Caravaggio)
demonstrated his talent for bringing historical figures to life, revealing
their complexities and struggles within their respective contexts.

The turn of the millennium saw White further evolve his style and themes.
The Caliph’s House (2002), a memoir recounting his experiences with a
devastating and secretive relationship, was a raw and intensely personal
exploration of love, loss, and deception. It showcased a willingness to
confront painful truths and challenge conventional notions of memoir. This
work, and subsequent memoirs like Inside a Vicarious Mood: Re-reading a Life (2006) and How Odd to be Titular: A Collection of Photographs
(2009), revealed a sophisticated understanding of self-reflection and a
willingness to examine his own complicity in difficult situations.

In recent years, White’s work has become increasingly focused on the
complexities of relationships and the ongoing search for connection. Man in Profile: Essays (2011) and Let’s Not Talk About Cesars (2014)
offered meditations on art, literature, and the evolution of his personal
life. The Loveliest Home That Lady Ever Built (2018), a novel inspired
by the life of Charlotte Perkins Gilman, showcased his continued ability
to inhabit the perspectives of diverse characters and to grapple with
issues of gender, class, and societal expectations.

Throughout his career, Edmund White has remained a vital and influential
voice in American literature. His unflinching honesty, lyrical prose, and
ongoing exploration of identity and desire have consistently challenged
readers and broadened the landscape of literary representation. He has not
only chronicled his own journey but has also helped to illuminate the
experiences of countless others.

gemma3/27b

Edmund White is arguably one of the most important American novelists and
essayists to emerge in the late 20th and early 21st centuries, largely
credited with pioneering a new frankness in gay literature. His career is
marked by a persistent exploration of desire, memory, and the complexities
of identity, often through a distinctly autobiographical lens.

White began publishing in the 1970s, a period when openly gay fiction was
still relatively rare. His early novels, like A Boy’s Own Story (1982),
were groundbreaking for their unflinching portrayal of a young boy coming
to terms with his homosexuality. Told through the voice of a young
protagonist navigating childhood and adolescence, it broke ground by
presenting gay desire not as a pathology or tragedy, but as a natural, if
sometimes complicated, part of life. This novel established several key
themes that would recur throughout his work: the exploration of desire as
a driving force, the power of memory, and the often-painful process of
self-discovery.

Following A Boy’s Own Story, White published The Beautiful Room Is Empty (1985), a sequel that continued to chart the protagonist’s journey
into adulthood and the search for love and acceptance. This novel deepened
his exploration of the emotional and psychological landscape of gay life,
tackling themes of isolation, longing, and the challenges of finding
lasting connection.

His work took a different turn with The Farewell Tour (1993), a
fictionalized account of a closeted film star, and the subsequent novels
Bonfire (1998) and The Married Man (2000). These novels moved away
from the coming-of-age narrative and explored the complexities of love,
desire, and commitment within established relationships, often involving
characters grappling with the tension between public persona and private
truth.

Beyond fiction, White has also made significant contributions as a
memoirist and essayist. His memoir, My Lives (1981), was a critical and
commercial success, offering a candid and introspective account of his
upbringing, sexual awakening, and literary ambitions. It’s known for its
unflinching honesty and elegant prose. He’s continued to publish memoirs
and essays, reflecting on his life, work, and the evolution of gay
culture.

A key aspect of White’s career is his willingness to challenge
conventional literary boundaries. He often blends fiction and
autobiography, blurring the lines between personal experience and
imaginative creation. He’s been criticized for this perceived
self-indulgence, but his defenders argue that this blending is essential
to his artistic vision and allows him to explore universal themes of
identity, desire, and memory with exceptional depth and nuance.

Throughout his career, Edmund White has remained a vital and influential
voice in contemporary literature. His work has been praised for its
emotional honesty, stylistic elegance, and its unwavering commitment to
exploring the complexities of the human heart and the enduring search for
self-discovery. He paved the way for a more open and honest portrayal of
gay lives in literature, and his influence can be seen in the work of many
contemporary writers.

Audio tools for oral history

I’m interviewing some folks and want to capture and transcribe the audio. I did this last year successfully with the Parrot app and a hand install of Whisper. But it was pretty clunky, I don’t like Parrot. This time around I’m trying new stuff.

Summary: ASR Voice Recorder to record (on Android) and aTrain to transcribe.

Audio recording

ASR Voice Recorder. It’s a modern recorder app, the key thing is it stores files in a place I can find them with other Android apps or USB download. I think the free version is sufficient but I subscribed for $2.50 for a year. I set it up to store things in the Recordings folder. It also is uploading to Google Drive for me. I’m not confident about the microphone gain: there’s a manual setting I’ve left at 0, I’m hoping it auto-adjusts.

Simple transcribing

How about a simple text transcript from the audio file?

Running Whisper locally is an option. ASR also has integration with the OpenAI whisper service, so you can transcribe audio for $0.36 an hour. Unfortunately individual files to analyze are limited to 25 MB. Not sure if ASR is smart enough to chunk the file to work around that when transcribing: ChatGPT thinks it might be but it could be wrong.

Another option would be to break a big audio file up myself and upload it in chunks to the Whisper API. The problem here is you only want to break in silences, or even better when a speaker switches.

A third option is to install Whisper and run it locally. I’ve done this twice and it worked OK.

Diarization

A simple transcription just gives words. Much better is diarization: the tool also detects who is speaking and annotates the transcript. Whisper does not do this itself. ChatGPT had lots of ideas for me.

I first tried whisperx, which adds PyAnnote to Whisper to diarize. I couldn’t get it to run: lots of problems with drivers, even if I tried to make it CPU-only. Was dumping core :-( This may be a WSL problem, I didn’t try very hard.

I had much more luck with aTrain. I installed it via the Windows Store: the 5GB download from their own server didn’t work. Installed easily, no setup required, it’s all preloaded to use my NVidia GPU. It transcribed 2 hours of audio in maybe 20 minutes? The output is pretty good, I imagine this is just Whisper for the transcript. The diarizing looked fairly good but not perfect, lots of cases of several speakers being lumped into one. But it’s still helpful. Just will still need hand editing and review. It’s a nice product, very easy to use.

GV LAN down to 100Mbit

so much depends
upon

an ethernet
cable

with its delicate
threads

and fragile
connectors


Something went wrong with my Internet connection on July 3: my Starlink speed tests never got above 80Mbit/s (it should often be 200+). I finally pinned it down to the ethernet on the path to the Starlink being at 100Mbit. These are old fashioned Netgear dumb switches and they are very good about being gigabit and negotiating to slower speeds if necessary.

I tried replugging the cables. I tried different ports. I even changed the switch on the Starlink end. The connection would start at gigabit then give up and drop to 100Mbit. Feels like a bad cable? But then magically after power cycling the new switch (it had been on for awhile) it started working. I really don’t think it’s the switch’s failure, I’d swapped switches! Maybe it’s a flaky connector and I just got lucky? Or maybe there’s some state kept in the switching network that I reset with the power cycle? Very confused.

Anyway, need to keep an eye on it. Flaky cables are bad news. This one will be expensive to replace, it’s a long run through an attic. One possibility is mice or heat damaged the cable.

Some graphs showing the problem

I don’t really have monitoring of my LAN. But I do have monitoring through two Internet connections at the other end of the flaky link, so I can infer something from them.

The speed test showing the Starlink degradation to 100Mbit. The last > 100 Mbit is 19:00 on July 3. But speeds are suspiciously slow that morning too, that may have just been a lucky hour. The last normal behavior is July 3 6AM.

Pings to 8.8.8.8 via Starlink. The packet loss red dots don’t tell a story. But that high latency until July 1 is kinda weird, I have no explanation for it. But there’s no obvious change. I zoomed in on just July 3 but it doesn’t show any problem.

Pings to 8.8.8.8 via Smarter Broadband, my WISP. This WAN link is a lot less reliable but note this pattern of the minimum latency increasing: that seems like it could be another indicator of the LAN change.

IPerf 3 tests

I tried running some tests with iperf3 after being on gigabit for an hour or two. Testing with a server on the OpenWRT router at the other end of the cable. UDP client tests with iperf3 -c 192.168.9.1 -u -b 1G (from my WSL host.)

With a full gigabit I get 22% packet loss: that’s bad! But that’s with the client sending a gigabit to the server. If I reverse the test with -R I get 0.036% packet loss but the server is only sending 713Mbits/sec. I suspect that’s a CPU limitation of the OpenWRT device. Tests of 700Mbit/sec UDP (sent from client) show 0.5% packet loss. 400Mbits/sec shows 0% packet loss.

I also did a TCP test and get about 930Mbits/sec over the link in both directions. I take this all as evidence the gigabit link is just fine right now.

8BitDo Ultimate 2C variants and upgrades

I bought an 8BitDo Ultimate 2C Wireless Controller for Windows PC and Android from Amazon. It can connect either via Bluetooth or a proprietary 2.4GHz USB dongle. It’s mostly worked fine with the 2.4GHz on my PC. I’m not able to pair it with my onn Android TV via Bluetooth, not sure yet what’s wrong. It seems to start pairing, the controller vibrates, then the TV says it can’t pair.

There is also a 8BitDo Ultimate 2C Bluetooth Controller for Switch and Switch 2 (on Amazon). This is a similar controller but is Bluetooth only, no 2.4GHz. And it only advertises Switch compatibility, nothing else.

I’m not sure why this is so complicated. PC gaming has been plagued for decades with XInput vs DInput, a lot of controllers have a physical switch to select between the two. Switch apparently has its own Bluetooth HID profile that’s different again. 8BitDo is doing customers no favors by making two incompatible products with very similar names.

To make matters more confusing, 8BitDo has a firmware updater. But while version 2.50 supports a bunch of controller types it does not support the Windows Ultimate 2C. It does support “Ultimate 2C Bluetooth” though, by which they apparently mean the Switch version. When I run the software and plug my Windows controller in via USB it starts vibrating in a little pattern but there are no update options that work.

The trick is to use a different program, the 8BitDo Ultimate Software V2. It’s unsigned so Windows gives a scary warning but it runs and updates my controller fine. This software has a bunch of advanced features like macros and button remapping but I’m not sure any work on my 2C.

8BitDo make excellent hardware, their controllers are great and cheap. But the software situation is not good. I also am frustrated by all these controller modes and incompatibilities but that may not be entirely 8BitDo’s fault.

BTW, the firmware upgrade didn’t fix my pairing problem with the onn streaming device. The same controller pairs fine with my Pixel phone, so I’m guessing it’s a problem with the onn. The onn does work with the controller with the 2.4GHz USB dongle. Steam Link works great on it!