PDA

View Full Version : I would like to switching between graphics card on a notebook.



BorjaAB
2022-03-20, 20:47
kali version:
- VERSION="2022.1"
- VERSION_ID="2022.1"
- VERSION_CODENAME="kali-rolling"

kali Architecture:
- 64 bits

Kali installation:
- SSD

First of all, a little bit of explanation of my problem:
I installed Kali linux on my nootbook and while using it sometimes I be able to see some tear points on the screen, this is and image of an tear point example: https://hardzone.es/app/uploads-hardzone.es/2019/11/Screen-Tearing-03.jpg?x=480&quality=20

I figure it out is because I am using the intel graphic card and not the dedicate card.

Solutions tried and their result:

List of the 2 graphics cards:


xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x247 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0

And this is how I tried to change the default graphic card:


sudo xrandr --setprovideroffloadsink 0x247 0x43
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 34 (RRSetProviderOffloadSink)
Value in failed request: 0x247
Serial number of failed request: 16
Current serial number in output stream: 17


inxi -G
Graphics:
Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM107M [GeForce GTX 950M] driver: nvidia v: 470.103.01


lspci -v | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)


lspci -s 01:00.0 -v
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
Subsystem: Hewlett-Packard Company GM107M [GeForce GTX 950M]
Flags: bus master, fast devsel, latency 0, IRQ 134, IOMMU group 1
Memory at 95000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidia


lspci -v | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])


lspci -s 00:02.0 -v
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company HD Graphics 530
Flags: bus master, fast devsel, latency 0, IRQ 130, IOMMU group 2
Memory at 93000000 (64-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 6000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915


prime-select nvidia
prime-select: command not found

I tried on graphic mode too but it doen't show Prime profiles as you can see on the screenshot.

4859

But on ubuntu looks like its working

https://askubuntu.com/questions/661922/how-am-i-supposed-to-use-nvidia-prime

I will apreciate the help, thanx.