Showing posts with label nvidia. Show all posts
Showing posts with label nvidia. Show all posts

Sunday, January 5, 2020

xubuntu 18.04 installing with nvidia graphics, tearing fixes

Before installing (running LiveCD/USB)

Edit GRUB options in the live-cd menu by adding "nomodeset" argument to the  kernel parameters string.

After installing

Repeat "nomodeset" option as described above before the first boot.
  1. "apt install nvidia-driver-435"
  2. Reboot
  3. In "NVidia X Server Settings -> X Server Display Configuration -> Advanced..." switch on "Force Composition Pipeline".
  4. Enable XFCE compositor (Menu->Window Manager Tweaks->Compositor->Enable display compositing)
  5. Enable the "Synchronize drawing to the vertical blank" option in the "Window Manager Tweaks" "Compositor" tab.

Saturday, November 2, 2019

Fix nvidia OpenCL/CUDA driver after resume from suspend

fixes OpenCL/CUDA/NVENC after suspend:

sudo rmmod nvidia_uvm && sudo modprobe nvidia_uvm

Thursday, September 8, 2016

transcoding using nvenc ffmpeg

./ffmpeg -i /mnt/file.avi -c:v nvenc_h264 -preset slow -b:v 2000k -c:a libmp3lame testnvenc.mp4
ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2.1) 20160413
  configuration: --enable-opencl --enable-opengl --enable-nvenc --enable-nonfree --prefix=/home/y/ --extra-cflags='-I /home/y/nvidia_video_sdk_6.0.1/Samples/common/inc' --enable-libmp3lame