-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't use NVENC in hybrid mode, can use just in resetted mode #147
Comments
@sam-cavalheiro , I personally do not see this as a bug. Let me explain. The Optimus hybrid mode has a number of features- one of which is the support of the HDMI port (and audio through it). This carries with it the effect of greatly reducing battery time. So, envycontrol has the If you need the full-blown Optimus hybrid mode feature set, please do use the |
I use a |
Without digging back into the details of RTD3 to refresh my memory I cannot quickly tell if that is all that is needed. I do know that @bayasdev has spent quite a bit of time working with several people over the years making sure his code works with different hardware (Intel and AMD iGPUs), distros, WM's, etc. I just know there are some tradeoffs in there. Hence, the cli options to switch to When I am done with such a project I use envycontrol again to put my laptop in the mode I need. My usage of Make sense? To gain a better understanding of what happens upon switch to BTW, nvidia-smi should show both GPU utilization and power consumption metrics. That is how I monitor GPU overhead / usage. |
For future readers ... I followed these steps to install the nvidia cuda drivers and the nvidia-smi utility.
Installing NVIDIA CUDA Drivers on Fedora 39IMPORTANT!!! DO NOT install the proprietary NVIDIA drivers from the NVIDIA website using the run script method. This will surely break your system when kernel updates appear. See this video segment ... Proprietary NVIDIA Drivers Before installing, ensure your system is updated to prevent potential conflicts between graphic card drivers and kernels. To update your Fedora system, use the following command:sudo dnf upgrade --refresh Import Nvidia CUDA Repository for Fedora 39:sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora39/x86_64/cuda-fedora39.repo Proceed to install the necessary dependencies for NVIDIA Drivers:sudo dnf install kernel-headers kernel-devel tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-opengl libglvnd-glx libglvnd-devel acpid pkgconfig dkms To view the NVIDIA RPM modules, execute:sudo dnf module list nvidia-driver
Select the appropriate one corresponding to your Fedora version to integrate the CUDA repository into your Fedora system. To install the latest NVIDIA drivers using the DKMS method, execute:sudo dnf module install nvidia-driver:latest-dkms |
@klmcwhirter |
Describe the bug
I just can use NVENC (I think it's Nvidia codec) only with resetted envycontrol mode, not hybrid (I usually use that mode).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Test NVENC (with 'ffmpeg -i input.mp4 -vcodec h264_nvenc output.mp4') should just don't return error and convert the example file -- in hybrid mode, not necessarily resetted mode.
Screenshots
Hybrid mode:
Resetted mode:
System Information:
The text was updated successfully, but these errors were encountered: