EDID for ViewSonic Vx2025wm

I recently reinstalled Fedora on my desktop machine, which has (amongst others) a ViewSonic Vx2025wm screen connected to it. It’s an oldie, but still works (quite well).
Unfortunately, Linux just complained that it didn’t get a proper EDID out of it, and refused to activate it – might also explain why Windows doesn’t recognise it as a PnP monitor – I guess the chip fried somewhere along the way.

This was found in the /var/log/messages:

May 16 19:57:29 odin kernel: nouveau 0000:01:00.0: DVI-I-1: EDID is invalid:
May 16 19:57:29 odin kernel: #011[00] BAD 00 ff ff ff ff ff ff 00 5a 63 1d e5 01 01 01 01
May 16 19:57:29 odin kernel: #011[00] BAD 08 10 01 03 80 2b 1b 78 2e cf e5 a3 5a 49 a0 24
May 16 19:57:29 odin kernel: #011[00] BAD 00 50 54 bf ef 80 b3 0f 81 80 81 40 71 4f 31 0a
May 16 19:57:29 odin kernel: #011[00] BAD 01 01 01 01 01 01 21 39 90 30 62 1a 27 40 68 b0
May 16 19:57:29 odin kernel: #011[00] BAD 36 00 b1 0f 11 00 00 1c 00 00 00 ff 00 51 36 59
May 16 19:57:29 odin kernel: #011[00] BAD 30 36 30 38 30 36 38 33 39 0a 00 00 00 fd 00 32
May 16 19:57:29 odin kernel: #011[00] BAD 4b 1e 52 11 00 0a 20 20 20 20 20 20 00 00 00 fc
May 16 19:57:29 odin kernel: #011[00] BAD 00 56 58 32 30 32 35 77 6d 0a 20 20 20 20 00 f4
May 16 19:57:29 odin kernel: nouveau 0000:01:00.0: DRM: DDC responded, but no EDID for DVI-I-1

As you can see, the screen connected on connector DVI-I-1 (remember this!) isn’t returning a valid EDID.

Luckely, it’s rather easy to override your screen’s EDID in Linux, allowing you to serve one from a file ;) as long as you have a copy of said EDID. I didn’t have one, but was able to get my hands on one online. You can download it here:  viewsonic_vx2025wm_edid.bin_.gz (11 downloads)

To activate this (these instructions are for Fedora, but they’ll probably apply to any distro):

  1. Copy it to /usr/lib/firmware/edid (make this directory if needed) – and unpack it
  2. Modify your initramfs to include this firmware, since we’re going to need it early on in the boot.
    Fedora uses dracut – so put this in eg. /etc/dracut.conf.d/viewsonic_edid.conf:
    install_items+=" /usr/lib/firmware/edid/viewsonic_vx2025wm_edid.bin"
  3. Rebuild your initramfs: dracut -f
  4. Assuming you’re using grub, modify your default kernel boot line in /etc/default/grub and append drm.edid_firmware=DVI-I-1:edid/viewsonic_vx2025wm_edid.bin on the line that starts with GRUB_CMDLINE_LINUX. You can find the connector the display is on in the messages output above.
    In the end, mine reads: GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora_odin/root rd.lvm.lv=fedora_odin/swap rhgb quiet drm.edid_firmware=DVI-I-1:edid/viewsonic_vx2025wm_edid.bin"
  5. Regenerate your grub config. For UEFI booting systems, use grub2-mkconfig > /boot/efi/EFI/fedora/grub.cfg, otherwise use grub2-mkconfig > /boot/grub2/grub.cfg.
  6. Reboot

And that should be it – the screen should activate now.

(for Windows, you can take a look here)

Testing out silicone sponges

I was reading some stories (don’t ask my where anymore – might have been on reddit or Lifehacker) about silicone sponges to replace (the often gross) disposable sponges we used in the kitchen. Sounded like a great idea – something that you don’t need to throw away, that doesn’t become a bacterial warzone, durable.. but after trying it out I’ll be going back to the disposables.

This blog post “I Tried It: Goodbye Gross Disposables, Hello Silicone Sponge summarizes it nicely…

  • Wastes more soap/water – it just rinses off the sponge. It does the same with the bad bugs, but well…
  • Scrubbing is just a no go. No matter how much you try, it’s just not firm enough!
  • Breaks easily – the first sponge had several holes quickly enough. Might be because of the cheapo ones we got to try it out, though.

Why did you become a vegetarian?

“Why did you become a vegetarian?” – It’s one of those questions I get asked fairly frequently, when it comes to food choices / eating habits. I recently had the question again, at work – I’ve changed jobs recently, and it came up during a discussion. I guess it’s a good question, as not everyone has the same reasons.

(Bit of a backstory: I come from a rural home, so I’m no stranger to the ‘meet your meat’ kind of thing – I’ve fed, petted, played, and (helped) kill animals that were bred for their meat. Can’t say I enjoyed the latter part, but it was a part of life.)

My original reasons were very.. eh..  selfish: I’m lazy.

As my girlfriend was living with me (at my parents house) during a sabbatical year she was taking, and combined with the odd hours I was working (two shifts), she cooked for the two of us. Already being a vegetarian, she cooked a veggy meal – but in no way opposed if I would want to cook a piece of meat. But, as I said: I’m lazy. It also opened up my palate to the wonderful world of vegetarian food, meat replacements, spices, …

After nearly a year of not eating meat, I noticed – the first time round when I got served a piece of meat – that it disagreed with me. It tasted off. The texture was wrong.
Fast forward 10 years, and I’m now a nearly 100% vegetarian. My only vice is the once-a-year (or so) seafood pizza. I’ve stopped eating meat, poultry and fish, and cannot say that I miss it. Even more so, the smell of fried meat is something that nauseates me. Strange but true.

These last few years, I’m actually quite happy that I don’t eat meat anymore…

  • The food scandals going round (meat being sold of such quality that is way below what is allowed for consumption)
  • Horrible treatment of animals. (and I’m always cynically amused by the fact people don’t realise just how bad animals are treated)
  • Waste of water with growing all the foods required to feed the proverbial 1kg of meat. In a world where water is becoming scarcer and scarcer
  • Pollution due to the transport of cattle all over the place (note: if you don’t watch where your vegetables come from, you’re likely just as bad of)

Will I ever become a vegan? Probably not. I’m too fond of cheese!