Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [Solved] New laptop Nvidia/AMD GPU problem weekly iso  (Read 1410 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Solved] New laptop Nvidia/AMD GPU problem weekly iso

Hi to all I just bought  Hp Gaming laptop 15 with amd ryzen 7 4800h with Radeon Graphics cpu and Nvidia GTX 1660 ti .
I download the weekly iso of Kde and runit for init system. I didn't have a problem with the installation except that  the touchpad  didn't work  after the first reboot.@linuxer advised me to put the flag " iommu=pt " and everything was ok .
After that I  try to install Nvidia drivers (world/nvidia-dkms)and xorg crush.
I start again with a fresh install but  this time with the  normal kde-runit iso not the weekly .
Everything  seems to work ok this time  and the touchpad.
I install the same drivers and nvidia settings and everything seems to work .

2.png3.png
Screenshot_20210314_132954.png

dmseg show me this

4.png
First I have an error with the amdgpu profile
 And i don't understand or see  anywhere when the os switches to nvidia card  if it does.
Any help???

Re: New laptop Nvidia problem weekly iso

Reply #1
@tkor iommu=pt is a needed spec on UEFI systems so to have proper operation of ports, i.e. USB 3.0

Nevertheless you can try optimus as announced here for switching/setting the used GPU

After optimus packages installation, relative services enabling and rebooting, run one of the following commands:

  • optimus-manager --switch nvidia to switch to the Nvidia GPU
  • optimus-manager --switch integrated to switch to the integrated GPU and power the Nvidia GPU off
  • optimus-manager --switch hybrid to switch to the iGPU but leave the Nvidia GPU available for on-demand offloading, similar to how Optimus works on Windows.

Re: New laptop Nvidia problem weekly iso

Reply #2
you can install from AUR optimus-manager-qt too. A Qt interface for Optimus Manager that allows to configure and switch GPUs on Optimus laptops using the tray menu.

@linuxer can add it to our universe repo too

Re: New laptop Nvidia problem weekly iso

Reply #3
you can install from AUR optimus-manager-qt too. A Qt interface for Optimus Manager that allows to configure and switch GPUs on Optimus laptops using the tray menu.

@linuxer can add it to our universe repo too
That one depends heavily on systemd @alium

Code: [Select]
grep -rnw 'src/' -e 'systemctl'                                
src/optimusmanager.cpp:211:                                   .arg("sudo systemctl enable optimus-manager", "sudo systemctl start optimus-manager"));
src/optimusmanager.cpp:312:                                   .arg(QStringLiteral("sudo systemctl disable bumblebeed.service")));

I will try to write a new one for our init systems, but first I am trying to get it working with our inits.

Actually I am on my way, hoping to get it done soon.

Re: New laptop Nvidia problem weekly iso

Reply #4
i just installed this :
Code: [Select]
sudo pacman -S optimus-manager-runit sddm-optimus-runit optimus-manager-git 
after that nvidia settings won’t start and optimus manager the same .
i install  this :
Code: [Select]
 yay -S optimus-manager-qt 
and i had the same results .
If i give to the terminal :
Code: [Select]
optimus-manager --switch nvidia
i have this error
Spoiler (click to show/hide)
inxi :
Spoiler (click to show/hide)
dmesg nvidia
Spoiler (click to show/hide)

dmesg amd
[Spoiler (click to show/hide)

nvidia settings terminal
Spoiler (click to show/hide)

xrandr --listproviders
Spoiler (click to show/hide)

sudo rsm
Spoiler (click to show/hide)

Re: New laptop Nvidia problem weekly iso

Reply #5
Quote
grep -rnw 'src/' -e 'systemctl'                              
src/optimusmanager.cpp:211:                                   .arg("sudo systemctl enable optimus-manager", "sudo systemctl start optimus-manager"));
src/optimusmanager.cpp:312:                                   .arg(QStringLiteral("sudo systemctl disable bumblebeed.service")));

this is no systemd hard linked code, @linuxer, that is only a part of information text  (not hard dependency on systemd) - as i saw in the code

Re: New laptop Nvidia problem weekly iso

Reply #6
this is no systemd hard linked code, @linuxer, that is only a part of information text  (not hard dependency on systemd) - as i saw in the code
I know, but the app's daemon controls for systemd stuff too.

I wished that it would be only the qstring messages...

check the Qt/cpp sources

Re: New laptop Nvidia problem weekly iso

Reply #7
After success of the following package, I will prepare a PKGBUILD on Universe

https://github.com/OlivierV78/switch_amd_nvidia

I will prepare one for optimus-manager-qt, with a patch for Artix Linux, too

Re: New laptop Nvidia problem weekly iso

Reply #8
thanks man for the help