Hardware acceleration problems

so intel uninstalled now?

revert to nvidia opensource driver and reinstall the nvidia driver from nvidia (propritary)
sudo nvidia-installer -n
please post the output of this here!
pacman -Qs nvidia again to see if packages are cleaned. (post output)
then reinstall the nvidia driver:
sudo nvidia-installer
If commands running successful, you can try reboot to see if nvidia driver loads now, if not w eneed to set some stuff in Grub and for mkinicpio (kernel image)

2 Likes

yes

INFO:root:EndeavourOS Nvidia Installer v3
2020-12-30 18:58:03 [INFO]: EndeavourOS Nvidia Installer v3
INFO:root:All logs will be stored in /tmp/nvidia-installer.log
2020-12-30 18:58:03 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
INFO:root:Updating Nvidia graphics cards database...
2020-12-30 18:58:03 [INFO]: Updating Nvidia graphics cards database...
Fetching NVIDIA graphics card ids from nvidia.com ...
==> Latest New Feature Branch Version: found!
==> Latest Legacy GPU version: found!
Database is already up-to-date.
INFO:root:Installing nouveau driver...
2020-12-30 18:58:07 [INFO]: Installing nouveau driver...
INFO:root:Removing conflicting packages...
2020-12-30 18:58:07 [INFO]: Removing conflicting packages...
INFO:root:Downloading and installing driver packages, please wait...
2020-12-30 18:58:07 [INFO]: Downloading and installing driver packages, please wait...
INFO:root:Removing /etc/X11/xorg.conf.d/20-nvidia.conf file...
2020-12-30 18:58:13 [INFO]: Removing /etc/X11/xorg.conf.d/20-nvidia.conf file...
INFO:root:Installation finished. You need to reboot now!
2020-12-30 18:58:13 [INFO]: Installation finished. You need to reboot now!

after that i rebooted

local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.4-1
    Nvidia VDPAU library
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia-dkms 455.45.01-1
    NVIDIA drivers - module sources
local/nvidia-installer 3-1
    Script to setup nvidia drivers in EndeavourOS
local/nvidia-installer-db 2.4.11-1
    Database for the script to setup nvidia drivers in EndeavourOS
local/nvidia-utils 455.45.01-1
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.16-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

2020-12-30 19:01:25 [INFO]: EndeavourOS Nvidia Installer v3
2020-12-30 19:01:25 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
2020-12-30 19:01:25 [INFO]: Updating Nvidia graphics cards database...
Fetching NVIDIA graphics card ids from nvidia.com ...
==> Latest New Feature Branch Version: found!
==> Latest Legacy GPU version: found!
Database is already up-to-date.
2020-12-30 19:01:29 [INFO]: Installing nvidia driver...
2020-12-30 19:01:29 [INFO]: Removing conflicting packages...
2020-12-30 19:01:29 [INFO]: Downloading and installing driver packages, please wait...
2020-12-30 19:01:41 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2020-12-30 19:01:41 [INFO]: Installation finished. You need to reboot now!

rebooted again, im not sure where we are now

on a sidenote my pc do feels like its a little snappier than before

2 Likes

What does inxi -G say now?

Graphics:
  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 455.45.01 
  Display: x11 server: X.org 1.20.10 driver: nvidia 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 

an yet another sidenote, i enabled hardware acceleration on vivaldi and unlike before it doesnt look like its crapping itself like usual, tho that m,ight just be a placedo effect

3 Likes

This looks correct now.

2 Likes

If I am reading that correctly, you are now using the nVidia card with its drivers.

2 Likes

alrighty cool, but does that mean i have to do something else now as well or?

2 Likes

yea no LVM-Pipe anymore, so looking good, what i would set on most cases for nvidi ais the full compositing pipeline to not have tearing on video watching:
sudo nano /etc/X11/xorg.conf.d/20-nvidia.conf

and add this part after the text you have there already:

Section "Screen"
        Identifier      "nvidia"
        Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

        Option          "TripleBuffer"                  "on"
        Option          "AllowIndirectGLXProtocol"      "off"
EndSection

then save file by pressing Ctrl+X

full file will look like this then:


Section "Device"
    Identifier "Nvidia Card"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
EndSection

Section "Screen"
        Identifier      "nvidia"
        Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

        Option          "TripleBuffer"                  "on"
        Option          "AllowIndirectGLXProtocol"      "off"
EndSection
2 Likes

i have added the entry

now before i declare victory i would like to 100% make sure

am i using hardware acceleration now? all steps done and all is over?

2 Likes

Yes, from the result of inxi -G you are using your nVidia card with the proper drivers.

freaking victory!
holy moly what a journey its been in here, id like to thank everybody here that was lending a helping hand.
i had quite a few examples of hwo friendly and helpfull the people here are, now i have yet another to add to the list.

8 Likes

yes now you are using the GPU with the accelerated driver from Nvidia, you can now start Gaming if you like :wink:

For the Browser you can enhance stuff by settings, but mostly this is not needed on chromium based browsers, you can check setting in vivaldi:
vivaldi://gpu

settings can be changed from:

vivaldi://flags

this two could be set to enabled what will improve gpu hardware usage:

5 Likes

Thatā€™s the way you learn. Even if itā€™s sometimes a pain in the a**. I had that so many times during my Linux journey. If everything runs smoothly there is no need to think about and cope with problems.

@joekamprad
Thanks for helping out and solving the problem. You for sure know a lot more about GPU sh** than I do. :wink:

Today I was again reminded, that one should never take assumptions as facts. This is not only true, when itā€™s up to problems with computers.

3 Likes

Awesome that it is working now for you. The way I learned Linux was fixing issues on my Laptops. Enjoy your system and hope to see you on the forums. Enjoy!

6 Likes

well, i have to report a slight regression and i didnt want to open a new issues for it.
i accidentally unplugged by second monitor, upon restarting i am getting the same notification about missing hardware acceleration again and even after reproducing the answering steps the message is not going away

P.S: i dont notice too much of a difference with vivaldi despite hardware acceleration turned on.

well uuuuh, this is embarrassingā€¦but after reproducing the steps a second time it all worked like a charm, i must have done something wrong the first time.

sorry for bumping this thread up a second time.

Just check and see what inxi -Ga shows to see if it hasnā€™t loaded the module again. You may have to go through what i did last night with the same issue. @joekamprad has created a wiki for it.

well i just restarted again and the notif is right back

Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:3e92 
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Micro-Star MSI 
  driver: nvidia v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1c82 
  Display: x11 server: X.org 1.20.10 driver: modesetting FAILED: nvidia 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.3.1 
  compat-v: 3.1 direct render: Yes 

I think you are going to have to do the same as i did last night. Follow the wiki and it works.

Edit: If you donā€™t understand anything just ask. Itā€™s pretty straight forward and only a couple of steps because you already have the drivers installed itā€™s just not loading them properly.

i have done exactly as described, didnt have a problem with it , it feels like its booting much slower now, the notif is still coming up.