But? What do you mean?
when i watch youtube and touch laptop i feel the heat but now match cooler
Well like i said it is running strictly on the Intel graphics currently as shown here
API: OpenGL v: 4.6 Mesa 22.3.3 renderer: Mesa Intel Xe Graphics (TGL GT2)
direct render: Yes
The only thing we have done is corrected the Nvidia so that it loads properly. But it is not being used for graphics the Intel is.
oky and thanks for all
If you want to try optimus-manager to switch graphics you could try it and see first of all whether it works for you.
You have to install the AUR package.
yay -S optimus-manager-qt
Then reboot. Check if optimus-manager is running.
systemctl status optimus-manager
If itās not running then you can start and enable it with this command.
sudo systemctl enable --now optimus-manager
There should be a tray icon that loads that looks like this on KDE.
You can click on the tray icon to switch. Or you can use commands from the terminal.
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.
Edit: I canāt guarantee it will automatically work for you but you would have to try it and see.
oky i will
If you havenāt used yay to build packages then when you install optimus-manager-qt it will ask many questions. Just read them to get familiar with what itās asking and just press enter after for each. Eventfully you may use some of the package build features when you gain enough knowledge. For now just follow along read and press enter for each. Good Luck.
thank you but what cus this problem
Do you mean the nvidia driver not loading?
yes
Iām not sure what you are asking? Have you installed optimus manager?
yes
archipo@archipo-82h8 ~]$ optimus-manager --switch nvidia
ERROR: the latest GPU setup attempt failed at Xorg pre-start hook.
Log at /var/log/optimus-manager/switch/switch-20230114T000704.log
Cannot execute command because of previous errors.
I donāt know. Maybe you can post the log? Give me the link that it shows.
cat /var/log/optimus-manager/switch/switch-20230114T000704.log | eos-sendlog
[7] INFO: # Xorg pre-start hook
[7] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[7] INFO: Requested mode is: integrated
[1194] INFO: Available modules: ['nouveau', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[1194] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[1197] INFO: Cannot unload modules: None
[1197] INFO: Waiting 1s and retrying.
[2204] INFO: Cannot unload modules: None
[2205] INFO: Waiting 1s and retrying.
[3212] INFO: Cannot unload modules: None
[3212] INFO: Waiting 1s and retrying.
[4220] INFO: Cannot unload modules: None
[4220] INFO: Waiting 1s and retrying.
[5224] INFO: Cannot unload modules: None
[5224] INFO: Waiting 1s and retrying.
[6228] INFO: Max tries (6) exceeded
[6228] ERROR: Xorg pre-start setup error
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/optimus_manager/kernel.py", line 269, in _unload_modules
subprocess.check_call(
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'modprobe -r nvidia_drm nvidia_modeset nvidia_uvm nvidia' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/optimus_manager/hooks/pre_xorg_start.py", line 51, in main
setup_kernel_state(config, prev_state, requested_mode)
File "/usr/lib/python3.10/site-packages/optimus_manager/kernel.py", line 25, in setup_kernel_state
_nvidia_down(config)
File "/usr/lib/python3.10/site-packages/optimus_manager/kernel.py", line 104, in _nvidia_down
_unload_nvidia_modules(available_modules)
File "/usr/lib/python3.10/site-packages/optimus_manager/kernel.py", line 214, in _unload_nvidia_modules
_unload_modules(available_modules, ["nvidia_drm", "nvidia_modeset", "nvidia_uvm", "nvidia"])
File "/usr/lib/python3.10/site-packages/optimus_manager/kernel.py", line 277, in _unload_modules
raise KernelSetupError(f"Cannot unload modules {modules_to_unload}: {e.stderr}") from e
optimus_manager.kernel.KernelSetupError: Cannot unload modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia']: None
[6229] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
[6229] INFO: Writing state {'type': 'pre_xorg_start_failed', 'switch_id': '20230114T000704', 'requested_mode': 'integrated'}
Can you try switching directly to nvidia?
optimus-manager --switch nvidia
Then if it works post the output to see if it switched. Otherwise youāll get another error i suppose?
inxi -Ga
didnt work
Check if you have this file? 10-optimus-manager.conf If so i think you need to remove it. It is located here:
/etc/X11/xorg.conf.d/10-optimus-manager.conf
Maybe see if it shows what is in it. Post the URL only!
cat /etc/X11/xorg.conf.d/10-optimus-manager.conf | eos-sendlog
Edit: You could try just deleting the file also
sudo rm /etc/X11/xorg.conf.d/10-optimus-manager.conf
@pipo1 please use code tags!