Hacker   Traveler   Gamer   Foodie   Outdoorsman

Migrating from QGLWidget to QOpenGLWidget

A year ago I migrated an old Qt4 project to Qt5. The migration was relatively painless and a huge success with the exception of the QGLWidget powered OpenGL canvas. In Qt5, this widget has been deprecated and currently mangles text rendering on Mac OS X retina displays as shown below:The only way to fix the mangled text is to migrate to the QOpenGLWidget that was introduced in Qt 5.4.0. Overall, this widget is pretty similar to QGLWidget and Qt has done a decent job describing the differences as well as providing an example of working code.With that information in hand, I decided to try my luck migrating it over the weekend where I ran into some trouble. Here are some of the more annoying differences that I discovered:qglColor(), qglColorClear(), bindTexture(), and renderText() are not available.QPixmaps aren’t supported anymore and you need to substitute QOpenGLTexture.updateGL() has been renamed to update()Blending seems...
Keep reading

Modded ASUS MG279Q drivers with 60-144 Hz FreeSync range

The ASUS MG279Q was released with much fanfare because it was the first 144 Hz IPS panel that supported FreeSync. If you looked beyond the MG279Q quality control issues (and subsequently won the panel lottery) the only problem with this display was a limited FreeSync range of 35-90 Hz.A lot of people questioned why buy a 144 Hz IPS monitor if they would be effectively limited gaming to 90 fps (frames per second) but no other solutions existed. Luckily, a German hacker discovered that you could extend the range of FreeSync by modifying the EDID portion of the monitor driver. The total FreeSync range could now be extended beyond 35-90 Hz to 31-110 Hz or 54-144 Hz!FreeSync excelled at providing smooth gaming at low frame rates so a lot of gamers usually picked the 31-100 Hz option. Gamers were overjoyed with the November release of the Crimson drivers made that old...
Keep reading

Building a MSI Z97-Gaming 5 Yosemite Hackintosh

I have been building computers ever since my uncle helped me build my first PC at age 13. The fascination of installing, tuning, and then finally using the machine has been a vice that I have been enjoying ever since. I have now built over a dozen Linux and Windows PCs over the years but the ☼perfect hackintosh☼ has always eluded me.For those of you who don’t usually mess with the internals of computers, a hackintosh is essentially a standard commodity Windows PC running the OS X which powers MacBooks and iMacs. Why do people go through such lengths to have OS X? It’s mostly preference, but in my case I’m doing this for my own personal education and curiosity. 
Keep reading