Thursday, May 11, 2017
I'm slowly feeling like I'm getting up to speed. Slowly.
Sending patches with git-publish
I'm trying to use git publish to send collections of patches. For some reason, this seems to be blocked by the lists.freedesktop.org.
After quite a few attempts, I finally solved the problem by setting the sendemail.smtpServer field in .gitconfig.
Sent updated series. With this setup, git publish really makes things much easier than manually running git format-patch and then sending mails "manually". Highly recommended, thank you Victor
Turbo upgrade to Fedora 26
Started the upgrade of Turbo to Fedora 26. It's very lengthy, but relatively easy:
dnf upgrade --refreshdnf install dnf-plugin-system-upgrade dnf system-upgrade download --refresh --releasever=26 dnf system-upgrade reboot
The download part itself downloaded about 2.2G of data. So it's all but instantaneous. The reboot part then starts the installation proper, which also takes quite a while.
Problem is: after upgrade, my 4.8 kernel entry is gone, and since the NVIDIA driver requires it, I can no longer go to graphic mode. Filed Red Hat Bugzilla 1450052.
Trying with version 381.22 of driver. Fails to build against kernel 4.11:
FATAL: modpost: GPL-incompatible module nvidia-drm.ko uses GPL-only symbol 'refcount_inc'make[3]: *** [/usr/src/kernels/4.11.0-0.rc8.git0.1.fc26.x86_64/scripts/Makefi
It builds and works against 4.10 kernel.
VirGL issue
The udpate to Fedora 26 did not improve Red Hat Bugzilla 1449774. As a matter of fact, it may have made things slightly worse. Now, virt-manager crashes whenever you access the guest.
Seting glenable = no is sufficient to restore the ability to boot the guest.
Using ucontext on macOS
Daniel Berranger wonders if it's possibility to use ucontext on macOS. Without that, building results in an error:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/ucontext.h:43:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined #error The deprecated ucontext routines require _XOPEN_SOURCE to be defined ^ 1 error generated.
So either we disable ucontext or we define _XOPEN_SOURCE.
Interestingly, the spicy built that way seems to work correctly:
What is surprising is that the visual performance seems worse than when using spicy running on Turbo over X11. This is really unexpected. Very visible even for large changes, e.g. opening Firefox. For video like YouTube, it's really bad. I suspect that the video mode is not working probably due to a misconfiguration of the gstreamer part.
Actually, the problem only lasted for the time it took me to write this paragraph. After that, the YouTube video became smooth. Data received per seconds is about 5M/s as opposed to 20M/s for X11.
The icons don't show up.