Mon 23.07.2018Malloc-got-sick

Malloc got sick

So this is for anyone who may have a cat, in case it happens to them. Last night around 9pm when I was going to have dinner, something strange happened to him. He was sitting on the couch next to me just having that usual cat "licking session" and he started doing this:

It was crazy and just kept on going. I called our vet (Uncle Jang) and sent him the video. He asked me some questions, like if we have any plants, did Malloc eat anything strange, was it hot (AC was on all day Sunday), did Malloc go to the toilet and pee. Nothing seemed to fit, though he only had done 1 pee in his toilet in the previous 20 hours or so.

Malloc calmed down, then started up again about an hour or so later, so finally I took my vet's advice around 11pm or so and raced across Seoul to a 24h vet (Western Animal Clinic). $300 or so in bills and being up until 4am later I know what's wrong. Malloc seemingly has FLUTD. Or more specifically his bladder was swollen and he couldn't pee, probably causing lots of pain and maybe stopping him from pooping too. The vet did a urine sample test and there was blood and white blood cells in it indicating FLUTD. The vet drained his bladder and has given me antibiotics to give to the poor fluffkins for the next week. He's definitely behaving better now and has already peed and pooped in his litter box.

So if you have a cat, especially a male, as this seems to be far more common in males, check the litter box regularly to see if they are using it as normal, and note that foaming behavior like above can be a symptom of this. If it happens, rush to the nearest vet and get it fixed. Your little fluffball is probably in severe pain but is unable to tell you.

Thanks to the vets above, Malloc is now happy and relaxing. I'm a bit tired but relieved.

Wed 27.12.2017Enlightenment on Raspberry Pi and Wayland Smoothness

Enlightenment on Raspberry Pi 3 in Wayland mode is pretty smooth

Enlightenment with no X11 (running as a wayland compositor) at a smooth 60fps even with a live miniature pager preview updating to match, a full desktop all smooth at 60fps. Terminology running and Rage playing movies smoothly. On a stock Rasperry Pi 3 running 32bit Arch Linux with Mesa VC4 drivers. See the Arch Linux ARM on Raspberry Pi 3 page for install details.

Don't forget to have the following lines in /boot/config.txt:

framebuffer_depth=32
gpu_mem=256
dtoverlay=vc4-kms-v3d

You might be OK with 128 or 192 for gpu memory, but I chose to go with 256M as 768M left is plenty for apps and even compiling evrything, while it allocates a reasonable amount of memory for buffers and textures. As I'm running 1920x1080 at 32bpp, it'd be about 24M just for the triple buffered backbuffers for the compositor, and the same for any screen sized client apps plus textures and so on. I haven't overclocked my Pi3 in any way, so it's stock with dynamic clock scaling (the schedutil cpufreq governor).

The Pi gets a bit hot and may approach 80 degrees celcisu. Make sure it's well ventilated and not inside a case which allows for no easy heat transfer outside. It may even be a good idea to have a fan on the SoC. This is the nature of such a board as it hasn't got any decent heat trasnfer designed in via large heatsinks or active cooling like a fan.

It may also help to know the packages I have installed. The following is a dump of all my packages that are not dependencies via pacman -Qte:

sudo pacman -S autoconf \
automake bison ccache \
check connman dri2proto \
dri3proto flex gdb \
gettext glproto \
gst-libav \
gst-plugins-bad \
gst-plugins-good \
gst-plugins-ugly \
htop iputils jfsutils \
licenses \
linux-raspberrypi \
logrotate lvm2 make \
man-db man-pages \
mdadm meson nano \
net-tools netctl ntp \
openssh otf-overpass \
pacman patch pciutils \
perf pkg-config \
presentproto psmisc \
python-mako python2-mako \
raspberrypi-bootloader-x \
raspberrypi-firmware \
reiserfsprogs rsync scim \
smem sudo \
ttf-arphic-ukai \
ttf-arphic-uming \
ttf-baekmuk \
ttf-bitstream-vera \
ttf-cheapskate \
ttf-croscore \
ttf-dejavu \
ttf-droid \
ttf-fira-mono \
ttf-fira-sans \
ttf-freebanglafont \
ttf-freefont \
ttf-gentium \
ttf-hack \
ttf-hanazono \
ttf-hannom \
ttf-inconsolata \
ttf-indic-otf \
ttf-ionicons \
ttf-junicode \
ttf-khmer \
ttf-liberation \
ttf-linux-libertine \
ttf-linux-libertine-g \
ttf-mph-2b-damase \
ttf-roboto \
ttf-sazanami \
ttf-symbola \
ttf-tibetan-machine \
ttf-ubraille \
ttf-ubuntu-font-family \
usbutils valgrind vi \
weston which \
wireless_tools \
wiringpi \
xcb-util-keysyms \
xfsprogs xorg-server \
xorg-server-xwayland \
xorg-xev xorg-xinit \
zsh

I compiled EFL, Enlightenment, Terminology and Rage myself from the Enlightenment GIT repositories since I work on them and have my development envirnment set up and transferrable from machine to machine via rsync, but the Arch AUR packages should offer a similar experience. Relevant ones are:

efl-git
enlightenment-git
terminology-git
rage-git

Copyright © Carsten Haitzler | raster@rasterman.com | CV/Resumé