I was using manjaro KDE, today I’ve installed Manjaro gnome
the GPU was working properly after installation, I wanted to install envycontrol to make it hybrid and connect my external monitor.
after installing it and playing with the drivers, I missed it up.
now the laptop boots without loading the nvidia drivers, how to load it ?
and how to setup hybrid graphics
inxi -G
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: N/A
Device-2: AMD Renoir [Radeon RX Vega 6 ] driver: amdgpu v: kernel
Device-3: Syntek Integrated Camera driver: uvcvideo type: USB
Display: server: X.Org v: 23.2.3 with: Xwayland v: 23.2.3 driver: X:
loaded: amdgpu failed: nvidia gpu: amdgpu resolution: 1920x1080~120Hz
API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.3-manjaro1.1
renderer: AMD Radeon Graphics (radeonsi renoir LLVM 16.0.6 DRM 3.54
6.6.10-1-MANJARO)
cscs
29 February 2024 05:33
2
We dont know what this means. Undo what you did.
‘hybrid’ (using prime) is how it is already.
tools like envycontrol are only (sorta) needed if you want to choose to boot into a system using solely one gpu or the other.
Using the regular prime profile you simply call the nvidia using prime-run.
ex:
glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'
most of the changed I’ve reverted it back like removing mhwd config from /etc/X11/xorg.conf.d
but I don’t know what is the correct to do.
glxinfo | grep 'renderer string' ─╯
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, LLVM 16.0.6, DRM 3.54, 6.6.10-1-MANJARO)
prime-run glxinfo | grep 'renderer string' ─╯
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 51
cscs
29 February 2024 07:25
4
I dont know what you did.
If you installed envycontrol and selected something … undo that, remove envycontrol, etc.
Similarly if you created/edited configs in /etc/X11/*
then you would need to undo that as well.
All that would normally be required is to select/install the relevant *prime* profile in mhwd.
(and then use prime-run
)
I removed envycontrol
/etc/X11/
├── mhwd.d
│ ├── nvidia.conf
│ └── nvidia.conf.nvidia-xconfig-original
├── xinit
│ ├── xinitrc
│ ├── xinitrc.d
│ │ ├── 40-libcanberra-gtk-module.sh
│ │ ├── 50-systemd-user.sh
│ │ └── 80xapp-gtk3-module.sh
│ └── xserverrc
└── xorg.conf.d
├── 00-keyboard.conf
└── 90-mhwd.conf -> /etc/X11/mhwd.d/nvidia.conf
config in /etc/X11
cat /etc/X11/mhwd.d/nvidia.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##
installed drivers:
the problem is: the nvidia driver is not loaded like mentioned in
inxi -G ─╯
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: N/A
Device-2: AMD Renoir [Radeon RX Vega 6 ] driver: amdgpu v: kernel
Device-3: Syntek Integrated Camera driver: uvcvideo type: USB
Display: wayland server: X.Org v: 23.2.3 with: Xwayland v: 23.2.3
compositor: gnome-shell v: 45.3 driver: X: loaded: amdgpu failed: nvidia
gpu: amdgpu resolution: 1920x1080~120Hz
API: EGL v: 1.5 drivers: radeonsi,swrast
platforms: wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.3-manjaro1.1
renderer: AMD Radeon Graphics (radeonsi renoir LLVM 16.0.6 DRM 3.54
6.6.10-1-MANJARO)
EDIT:
@cscs
I’ve installed older kernel (6.1), the nvidia driver is loaded
pacman -Q | grep -i nvidia ─╯
lib32-nvidia-utils 545.29.06-1
linux66-nvidia 545.29.06-36
mhwd-nvidia 545.29.06-2
mhwd-nvidia-390xx 390.157-9
mhwd-nvidia-470xx 470.223.02-1
nvidia-prime 1.0-4
nvidia-settings 545.29.06-1
nvidia-utils 545.29.06-4
cscs
1 March 2024 00:08
7
I dont see how these can all be true at the same time.
Furthermore … do you mean that prime works now ?
system
Closed
2 March 2024 12:09
8
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.