"Optimus" is the tech where your laptop has an Intel AND an Nvidia card, the amount of problems this can cause are more than the sum of the parts on Linux.
Trying to run apps on the Nvidia card had all sorts of issues until I switched the intel card on 'SNA' ("the successor to UXA").
It seems like every few years intel changes how their graphics cards work, and the new hotness is SNA.
Before this, glitches included black windows, and apps just freezing until I resized their windows, or if you ran more than one GL app.
As per the answer here at https://ask.fedoraproject.org/en/question/32960/black-windows-in-gnome-3-suddenly add the following to your /etc/X11/xorg.conf
I'm not sure it's entirely problem free, I have had one or two logouts, but at least I can run more than one instance of my own app without random freezing and glitching.
It turns out I'm still getting glitchyness and lockups running on intel, at least running things on the Nvidia card with DRI_PRIME=1 works though.
Real lift has got in the way of doing much graphics work recently, however I've now caught up and uploaded a bunch of videos.. (it also took quite a while to get scripts for creating the same videos, with sound working).
Audio Reactive Critters
Rendering fat lines with Shoebot
Animating fat lines with Shoebot
Learning about 2D vectors
I have some basic code to find the length of a Bezier Curve and a point along it, I seem to have talked myself into implementing this in Cairo, so that's the next stage, from there path effects and text-on-a-path will be the next stage.
I've been pretty busy so far doing laying the groundwork for my audiovisual project. I've got the architecture worked out, so ones this stage 0 is complete I can start coding it.
Uploaded, 2 videos using shoebot... 4 others waiting to be uploaded.
This makes it easy to use things like wx, gtk, pyqt4 and other, mostly Gui and older Audio libraries in virtualenv.
Have been using this successfully with Shoebot for a while.
Python 3 support is still TODO, at which point can do a proper release.
Finishing off a tool to make videos with :)
Bezier Curves (have a Gtk demo app waiting to be uploaded)
[Blocking on app to create videos]
Cairo OpenGL PPA:
Built a Docker Image that can build debian packages, this needs completing so they can be signed and uploaded to the PPA.
If you are on linux and having trouble with WIFI in a new country it might be worth letting it know what country you are in - on debian/ubuntu edit the file
/etc/default/crda and update the country code.
Todays daily graphic I'm getting familiar with grids (in shoebot), Vector maths from the planar library .. this started from the grid example from shoebot / nodebox.
Shoebot Code Below the fold
Recently I had to look at an issue where the behaviour on windows was subtly different to that on linux... unfortunately most potential users are on Windows so it's not good enough to just write them off :)
This workflow was quite good for checking python internals on different versions of python and being able to revert things easily.
To get things going quickly I use the IE11 VM from microsoft, and download from xdissent
That way you just need to enter a command to download it
Next I install all the tools I need before python (we will save the state of the VM before then).
chocolatey.org makes installing tools easy*
Open a command Window as Administrator then install chocolatey:
Once thats done you can install tools you need - I install everything *except* python:
choco install git conemu
While these are installing start the downloads for python and it's C compiler (remember not to install them yet):
Grab python from here:
For python 2.7.x you will probably need the VC compiler
My app was for PyGtk so I also downloaded that - download anything else you need at this stage.
Download your project...
Using git or whatever, grab your own project to a directory.
Save the VM state.
In virtualbox save the machine state, I called mine 'Tools Installed'.
From here you can install python + know that you can poke around in the internals, any time you want to check against a different version, just revert the VM to the previous state.
TL;DR - Install all tools except python, grab projects, SNAPSHOT, install python - find bugs.
*when it works.
A day of Admin ..
Spent a good amount of time getting backups setup on ubuntu ..
Insynch to backup google drive to my computer - https://www.insynchq.com/
Setup good old Thunderbird to download email to my computer
- the trick is to get an an app specific password.
Finally, bought cloud backup from SpiderOak it seems quite good from a security point of view, the app itself is a little 'java', but seems to work OK.
Back in the deep dark past (2004-2007) I worked on a 3D game for phones of that era (before iphone, android). I recently found some of the test files for the engine, here are some videos.
Very low poly racetrackThe ubiquitous cubeSpacekid in the spacestation corridors
Our Maskot wanders the corridors .. you can't look too far ahead, to keep things really low, which means popup is a little...severe.
Movement is a better in reality - the capture has made the movement a bit jerky.
Obviously we didn't make this, but it heavily inspired our 3D engine ... textures were just too slow, so we aimed for this look.