Language Selection

English French German Italian Portuguese Spanish

Graphics: VGA Signal In A Browser Window, Mesa's Radeon R600 Gallium3D Driver, EGL+OpenGL Off-screen Multi-Card

Filed under
Graphics/Benchmarks
  • VGA Signal In A Browser Window, Thanks To Reverse Engineering

    [Ben Cox] found some interesting USB devices on eBay. The Epiphan VGA2USB LR accepts VGA video on one end and presents it as a USB webcam-like video signal on the other. Never have to haul a VGA monitor out again? Sounds good to us! The devices are old and abandoned hardware, but they do claim Linux support, so one BUY button mash later and [Ben] was waiting patiently for them in the mail.

    But when they did arrive, the devices didn’t enumerate as a USB UVC video device as expected. The vendor has a custom driver, support for which ended in Linux 4.9 — meaning none of [Ben]’s machines would run it. By now [Ben] was curious about how all this worked and began digging, aiming to create a userspace driver for the device. He was successful, and with his usual detail [Ben] explains not only the process he followed to troubleshoot the problem but also how these devices (and his driver) work. Skip to the end of the project page for the summary, but the whole thing is worth a read.

  • Mesa's Radeon R600 Gallium3D Driver Now Has NIR Support Under Review

    Similar to the trend with other Mesa drivers, the Radeon R600g driver for supporting Radeon HD 2000 through Radeon HD 6000 series graphics cards has been seeing experimental work to introduce a NIR back-end for this modern intermediate representation. That R600 NIR support now has a merge request open meaning it could possibly land still for Mesa 20.0.

    The R600g NIR support has been worked on by Gert Wollny and currently targets Radeon HD 5000 "Evergreen" graphics cards with support for other AMD GPU generations handled by this Gallium3D driver not yet supported. Additionally, this NIR back-end only supports vertex / fragment / geometry shaders for now and other features missing.

  • Playing with EGL+OpenGL Off-screen Multi-Card

    So I've now spent the last day and a half playing with getting EGL offscreen rendering working on Linux. There are two major ways to do off-screen rendering with EGL and OpenGL. In the first, you use a pbuffer surface, that surface is basically a purpose-defined surface-type for off-screen backing of a renderer. When I use the EGL enumeration API we always seem to get pbuffer compatible visuals (and *not* window compatible ones).

    On Ubuntu 18.04 the enumeration API seems to be... problematic, lots of segfaults, particularly with the VirtualBox driver that shows up in the enumerations. On Ubuntu 19.10 the behaviour is much more reliable, with all 3 GPUs in my prime-based nVidia/Intel laptop (including the VirtualBox GPU) completing the OpenGL query for version, extensions, etc. The missing bit is being able to specify which GPU to use, as the EGL query API doesn't seem to have a way to get a "name" that a user would recognise to describe the card.

More in Tux Machines

today's programming leftovers and licence lawsuit

  • Whiteboard Coding Stress Reduces Performance by More than Half

    A recent study by North Carolina State University researchers found that stress caused by whiteboard technical interviews significantly affected the performance of job candidates. Whiteboard tests are a common feature of the hiring process for software developers. During these sessions, candidates are expected to develop coding solutions on a whiteboard while describing their decision-making process to observers. In the study, half of the participants performed the typical whiteboard test with an interviewer looking on. The other half solved the problem on a whiteboard in a private room with no interviewer present. The private interviews also included a retrospective “think-aloud” session to discuss the solutions presented. [...] In the paper, the researchers noted that “a technical interview has an uncanny resemblance to the Trier social stress test,” a technique used by psychologists with the sole purpose of inducing stress. “Through a happy accident, the software industry has seemingly reinvented a crude yet effective instrument for reliably introducing stress in subjects, which typically manifests as performance anxiety,” they said. Additionally, “the unique combination of cognitive-demanding tasks with a social-evaluative threat (essentially being watched) is consistent and powerful,” they stated.

  • Address Sanitizer, Part 1

    Hello everyone. My name is Harshit Sharma (hst on IRC). I am working on the project to add the “Address Sanitizer” feature to coreboot as a part of GSoC 2020. Werner Zeh is my mentor for this project and I’d like to thank him for his constant support and valuable suggestions. It’s been a fun couple of weeks since I started working on this project. Though I found the initial few weeks quite challenging, I am glad that I was able to go past that and learned some amazing stuff I’d cherish for a long time. Also, being a student, I find it incredible to have got a chance to work with and learn from such passionate, knowledgeable, and helpful people who are always available over IRC to assist. [...] The design of ASan in coreboot is based on its implementation in Linux kernel, also known as Kernel Address Sanitizer (KASAN). However, coreboot differs a lot from Linux kernel due to multiple stages and that is what poses a challenge.

  • Etcd, or, why modern software makes me sad

    I talk a lot of shit about Google, but Facebook and Microsoft are nearly as bad at turning out legions of ex-employees who can't be left alone in the room with a keyboard lest they attempt to recreate their previous employer's technology stack, poorly.

  • EuroPython 2020: Find a new job at the conference

    Our sponsors would love to get in touch with you, so please have a look and visit them at their sponsor exhibit channel on Discord or contact them via the links and email addresses given on the page.

  • Check if incoming edges in a vertex of directed graph is equal to vertex itself or not

    Given a directed Graph G(V, E) with V vertices and E edges, the task is to check that for all vertices of the given graph, the incoming edges in a vertex is equal to the vertex itself or not.

  •        
  • Jelurida Files Lawsuit Against Apollo Blockchain For License Violations Over Nxt Code

Raspberry Pi and Other Linux Devices

  • Who needs vinyl records when you’ve got Raspberry Pi and NFC?
  • UASP makes Raspberry Pi 4 disk IO 50% faster

    Without UASP, a drive is mounted as a Mass Storage Device using Bulk Only Transport (or BOT), a protocol that was designed for transferring files way back in the USB 'Full speed' days, when the fastest speed you could get was a whopping 12 Mbps!

    With USB 3.0, the BOT protocol cripples throughput. USB 3.0 has 5 Gbps of bandwidth, which is 400x more than USB 1.1. The old BOT protocol would transfer data in large chunks, and each chunk of data had to be delivered in order, without regard for buffering or multiple bits of data being able to transfer in parallel.

    So a new protocol was created, called 'USB Attached SCSI Protocol', or 'UASP'.

  •            
  • Xiaomi Mi TV Stick with Android TV Launched for as low as $29.99

    There’s been a fair amount of leaks related to Xiaomi Mi TV Stick around the web for the last few months, but the company has now finally launched their Android TV TV stick with a quad-core processor, 1GB RAM, and 8GB storage. While there were rumors about a 4K version, Xiaomi Mi TV Stick only outputs up to 1080p60, and since it runs the official Android TV OS, supports Chromecast and Google Assistant out of the box. Official Price: 39.99 Euros. But you can get it on Aliexpress for as low as $29.99 with coupon 715MITVSTICK.

  •             
  • ODROID-N2 Plus SBC Gets Amlogic S922X Rev. C Processor Clocked at up to 2.4 GHz

    Announced in February 2019, ODROID-N2 Amlogic S922X SBC launched the following month with 2GB to 4GB RAM, HDMI 2.0 output, Gigabit Ethernet, multiple USB 3.0 ports with pricing starting at $63 making very good value for an hexa-core Cortex-A73/A53 processor. The company has now announced an upgraded with ODROID-N2 Plus SBC featuring Amlogic S922X Rev.C bringing the Cortex-A73 big core maximum clock frequency from 1.8 GHz to 2.2GHz. But Hardkernel also found out they could overclock the processor up to 2.4 GHz in all 300 boards they have delivered a 33% boost over the original ODROID-N2 board. The Cortex-A53 cores are also a bit faster up to 2.0 GHz.

  • Lilbits: Computing convergence, another streaming platform, and DDR5

    It’s been 7 years since Canonical failed to raise meet its crowdfunding goals for the Ubuntu Edge smartphone that was supposed to be a phone you could also use as a desktop computer thanks to “convergence,” which is a fancy way of saying you could plug in a keyboard, mouse, and display and use it like a desktop computer. Over most of that time… not much happened on the convergence front. But now that companies including Pine64 and Purism are starting to ship phones designed to run Linux, convergence is a thing again. Today Pine64 announced a new PinePhone Convergence Pack that bundles a USB-C docking station with a PinePhone sporting slightly better-than-usual specs. Connect an external display and you can use it to run desktop apps.

Proprietary Software Leftovers

Audiocasts/Shows: BSD Now, Going Linux, Self-Hosted and TLLTS

  • BSD Now 359: Throwaway Browser

    Throw-Away Browser on FreeBSD With "pot" within 5 minutes, OmniOS as OpenBSD guest with bhyve, BSD vs Linux distro development, My FreeBSD Laptop Build, FreeBSD CURRENT Binary Upgrades, and more.

  • Going Linux #394 · Manjaro Linux Overview

    Bill searches for a non-Debian-based distribution that is suitable for Linux newcomers. He finds one in Manjaro! Episode 394 Time Stamps 00:00 Going Linux #394 · Manjaro Linux Overview 01:51 Rolling release 04:02 An Arch-based distribution for new Linux users 05:46 Windows vs. Manjaro on Dell Latitude 5450 10:13 Performance comparison after installation 13:09 The promise of perpetual upgrades 13:59 Installing Manjaro 14:44 The updates 16:56 Compared with other distros best for new Linux users 17:37 Default browser (Midori) 19:12 Manjaro Hello (Welcome) 21:30 Obtaining and installing software 24:12 Universal package format support 27:57 The community support 29:49 Manjaro: New user distro 32:25 A note on hybrid graphics 35:20 Overall: 'Thumbs up' 38:04 goinglinux.com, goinglinux@gmail.com, +1-904-468-7889, @goinglinux, feedback, listen, subscribe 39:04 End

  • Shields Up | Self-Hosted 23

    We've spent thousands of dollars, and over a decade refining the perfect home media setup. We get nostalgic and share what worked, and what REALLY didn't.

  • The Linux Link Tech Show Episode 866

    terminal-quest, kano products, pi, stuff