cayoenrique
Senior Member
- Messages
- 325
Congratulations. You have your Intel GPU managing screen monitor. But from this
It seems there is something wrong with Nividia?
Look at mine.
See how I have 2 providers!! Provider 1 "Turks" is my AMD.
The good part is that lsmod | grep -i -e "nvidia\|nouveau\|i915" shows your nvidia drivers installed. Now you need to look into dmesg & cat /var/log/Xorg.0.log[/b] to look for errors.
Now the Theory. You have what people called a Hybrid GPU setup as you have Intel at the moment running your screen and Nvidia in the waiting. If clinfo works, then this is perfect setup for running Opencl in Nvidia.
This MESA commands will force the use of Nvidia firsta one will ask info, the secong will drive the wheels. Firts we do it with Intel so that you know what to expect with Nvidia.
Intel
DRI_PRIME=0 glxinfo -B
DRI_PRIME=0 glxgears
Nvidia
DRI_PRIME=1 glxinfo -B
DRI_PRIME=1 glxgears
But you can try to twink a little to see if you can also get the opposite. Running screen in NVIDIA and Opencl in Intel. But it requires experimentation. Just for info look at:
NOWWWW I suggest to leave it as it is and see if clinfo works, then try to compile the add_numbers Opencl sample.
Code:
root@live:~# xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
It seems there is something wrong with Nividia?
Look at mine.
Code:
enrique@live:$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x6b cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 0 name:TURKS @ pci:0000:01:00.0
See how I have 2 providers!! Provider 1 "Turks" is my AMD.
The good part is that lsmod | grep -i -e "nvidia\|nouveau\|i915" shows your nvidia drivers installed. Now you need to look into dmesg & cat /var/log/Xorg.0.log[/b] to look for errors.
Now the Theory. You have what people called a Hybrid GPU setup as you have Intel at the moment running your screen and Nvidia in the waiting. If clinfo works, then this is perfect setup for running Opencl in Nvidia.
This MESA commands will force the use of Nvidia firsta one will ask info, the secong will drive the wheels. Firts we do it with Intel so that you know what to expect with Nvidia.
Intel
DRI_PRIME=0 glxinfo -B
DRI_PRIME=0 glxgears
Nvidia
DRI_PRIME=1 glxinfo -B
DRI_PRIME=1 glxgears
But you can try to twink a little to see if you can also get the opposite. Running screen in NVIDIA and Opencl in Intel. But it requires experimentation. Just for info look at:
Code:
https://bbs.archlinux.org/viewtopic.php?id=259300
NOWWWW I suggest to leave it as it is and see if clinfo works, then try to compile the add_numbers Opencl sample.