Skip to main content
32 votes

Why is video tearing such a problem in Linux?

If you're using an nvidia driver >= 365.20, then try enabling the "Force Full Composition Pipeline" option in nvidia-settings.
FuzzyTree's user avatar
  • 421
21 votes

Creating a GIF animation from PNG files

ffmeg important GIF options + test data To complement this answer: wget -O opengl-rotating-triangle.zip https://github.com/cirosantilli/media/blob/master/opengl-rotating-triangle.zip?raw=true unzip ...
Ciro Santilli OurBigBook.com's user avatar
16 votes

Why Wayland is using OpenGL ES instead of OpenGL?

The premise of your question is wrong. Wayland does not use OpenGL ES or OpenGL at all. Lets get things in order to achieve proper understanding of the software stack: Wayland is an IPC protocol that ...
j_kubik's user avatar
  • 269
15 votes
Accepted

What is the most lightweight way to render graphics Gentoo?

You can display graphics using the Linux frame-buffer interface without X11 or Wayland at all. The fbida package includes the fbi image viewer, which can run directly on the virtual console. You can't ...
telcoM's user avatar
  • 99.4k
13 votes
Accepted

Linux + how to create simple Progress Bar in bash

This is rather simple to do in just plain Bash: #!/bin/bash # progress bar function prog() { local w=80 p=$1; shift # create a string of spaces, then change them to dots printf -v dots "%...
ilkkachu's user avatar
  • 141k
13 votes
Accepted

How to enable 2560x1440 option for display in Linux Mint?

First create the appropriate modeline with cvt $ cvt 2560 1440 # 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 ...
NetIceCat's user avatar
  • 2,314
12 votes
Accepted

Is there any way to let urxvt support sixel?

Besides using the rxvt-unicode-sixel fork, it might be possible to implement sixel by writing a perl extension. Documentation for that is in the urxvtperl(3) manpage. I don't know much about sixel but ...
JoL's user avatar
  • 4,785
11 votes

How to check which GPU is active in Linux?

nvidia-smi -L This gave me what I wanted. This command shows the list of GPUs present on your machine. This might help you figure which are active ones. got the command from thread here: Ubuntu Box ...
Hardhik's user avatar
  • 219
11 votes
Accepted

How to disable Hardware Acceleration in Linux?

You can configure Xorg to disable OpenGL / GLX. For a first try, you can run a second X session: switch to tty2, log in and type: startx -- :2 vt2 -extension GLX To permanently disable hardware ...
mviereck's user avatar
  • 2,495
10 votes

How can I make a graphical plot of a sequence of numbers from the standard input?

Check the package plotext which allows to plot data directly on terminal. It is very intuitive, as its syntax is very similar to matplotlib. Here is a basic example: import plotext as plt y = plt.sin()...
Kriel's user avatar
  • 201
10 votes
Accepted

How to restart a failed amdgpu kernel module

As @Chris Stryczynski says, sudo cat /sys/kernel/debug/dri/N/amdgpu_gpu_recover is the correct way to reload the amdgpu kernel module, or you can start your system with amdgpu.gpu_recovery=1 kernel ...
Dávid Bíró's user avatar
9 votes

Xlib: extension "GLX" missing - with an NVIDIA card and on-board graphics

I arrived here after installing nvidia-current from the package repository, and got stuck on a login loop. I looked at the log on ~/.xsession-errors and found the mentioned error: Xlib: extension "...
villasv's user avatar
  • 309
9 votes

How to visualize directory tree structures?

I developed a gem for this purpose, you list a set of paths with any tool like ag or find and pipe it to the command dirtree and it'll generate an HTML page that visualize the directory structure as a ...
Emad Elsaid's user avatar
9 votes

Determine which graphics driver Xorg uses

One solution that I have found is to check what drivers are actually loaded while X is running. On my system, the drivers are installed under /usr/lib/xorg/modules/drivers/ /usr/lib/x86_64-linux-gnu/...
fwyzard's user avatar
  • 221
9 votes

xrandr fails randomly with "Configure crtc X failed" on dock with multiple monitors

Problem I suspect that your system has only 2 pixel clocks it can use to drive your 3 monitors.¹ To confirm my assumption, please provide xrandr --verbose | egrep '^[^[:space:]]|curr|pref' | sed -e '...
Robert Siemer's user avatar
8 votes
Accepted

Cannot connect external monitor via USB-C (no Display Port listed in xrandr), Ubuntu 20.04

There's two things I suggest you check, the cable and the computer BIOS. First check that you have a quality cable that complies with the USB-C and DisplayPort specifications. I know you said you ...
MacGuffin's user avatar
  • 436
7 votes
Accepted

What does "DP" device stand for?

This answer on AskUbuntu seems relevant to your question. Basically, the VGA port you see is just a built-in adapter for the native DP port. In this case, xrandr correctly shows you the installed ...
Daniele Santi's user avatar
7 votes

Suddenly my resolution of screen changed and i can't reset it

got this issue on Ubuntu 20.04, got it fixed: sudo apt-get install nvidia-settings sudo ubuntu-drivers autoinstall sudo reboot
Rull's user avatar
  • 71
7 votes

no /etc/X11/xorg.conf file in RHEL 7

X.org configuration lives in a number of places, notably /etc/X11/xorg.conf (if it exists), and .conf files in /etc/X11/xorg.conf.d and /usr/share/X11/xorg.conf.d. (For an exhaustive list, see man ...
Stephen Kitt's user avatar
7 votes

How can I test my GPU RAM integrity?

Dicslosure: I'm an author of the program linked below, so my opinion can be weighted memtest_vulkan is small & simple open-source tool for stress-testing gpu memory on any vulkan 1.1 compatible ...
Vasily Galkin's user avatar
7 votes
Accepted

What is OpenGL's relationship with the DRM

What is OpenGL and what is graphics card? OpenGL is high level 3D graphics library. Although it is used to talk with "graphics card", or rather a GPU, it abstracts many differences between ...
etosan's user avatar
  • 1,104
6 votes

Determine which graphics driver Xorg uses

Here's an attempt to automatize the analysis of the log: #!/bin/bash if [ -z "$1" ]; then logfile=/var/log/Xorg.0.log else logfile="$1" fi sed -n 's@.* Loading .*/\(.*\)_drv.so@\1@p' "$...
Ruslan's user avatar
  • 3,380
6 votes
Accepted

How can I tell who manufactured my graphics card (as opposed to the GPU)?

As root or non-root, run lspci -v -s 84:00.0 and look at the "Subsystem" line, that will usually give you the name of the manufacturer. That uses the bus identifier you found already; for a more ...
Stephen Kitt's user avatar
6 votes

Can a Unix (Linux) System Launch a GUI from CLI Like (Apple/Microsoft) DOS?

Yes, there are programs that have (historically) worked like that on *nix systems. The two good examples I can think of off the top of my head are the original classic quake (20+ years old and ...
ivanivan's user avatar
  • 4,995
6 votes
Accepted

Is nouveau completely free of non-free code?

The nouveau driver itself is entirely free software. On recent GPUs though it needs to load proprietary firmware into the GPU; see the list of NVIDIA blobs in the firmware-misc-nonfree package’s ...
Stephen Kitt's user avatar
5 votes
Accepted

Latex expressions shown in a terminal

Terminology is the way to go to display images in terminal emulators. In ttys, the framebuffer is available too. tex2im provides a nice solution to convert formulas as images but has drawbacks which ...
lgeorget's user avatar
  • 14k
5 votes
Accepted

Manjaro won't boot after update, how to rescue?

I followed Mioriin's suggestion and pressed e at the GRUB prompt to edit the config. Then I found the line starting with linux and ending with splash and added a 3 to the end. Then I pressed F10 to ...
Bagalaw's user avatar
  • 955
5 votes
Accepted

What does 01:00.0 mean with respect to graphics?

That string gives the device’s location on the PCI bus. In “01:00.0”, “01” is the PCI bus number (computers can have multiples PCI buses), “00“ is the device number, and “0” is the function in the ...
Stephen Kitt's user avatar
4 votes

Determine which graphics driver Xorg uses

I prefer to use glxinfo -B from mesa-utils package, and here is some sample pieces: using Nvidia driver 470.63.01 and RTX3070 card: OpenGL renderer string: NVIDIA GeForce RTX 3070/PCIe/SSE2 OpenGL ...
tsingakbar's user avatar
4 votes
Accepted

What would cause my video driver to stop working after every update?

It is important to note immediately that it is not just the video that has been disrupted. The modules/drivers were not permitted to load because of version-matching restraints. Update This can be ...
Jonathan Komar's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible