You are not logged in.

#1 2025-02-04 13:22:38

tigerjack
Member
Registered: 2017-08-20
Posts: 85

Nvidia + Intel GPU - flickering with proprietary drivers

Hi, I'm trying to use both nvidia card with proprietary drivers and intel GPU card on my system.
These are my GPU cards

#> lspci -k -d ::03xx
00:02.0 VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06)
	Subsystem: ASRock Incorporation Device 041e
	Kernel driver in use: i915
	Kernel modules: i915
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)
	Subsystem: ZOTAC International (MCO) Ltd. Device 2454
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
#> drm_info | grep -A 1 card
Node: /dev/dri/card2
├───Driver: nvidia-drm (NVIDIA DRM driver) version 0.0.0
--
Node: /dev/dri/card1
├───Driver: i915 (Intel Graphics) version 1.6.0

Following the wiki, I installed the nvidia pacman package.
I additionally installed nvidia-utils (and nvidia-settings and nvidia-prime FWIW).


#>cat /sys/module/nvidia_drm/parameters/fbdev
Y
#>sudo cat /sys/module/nvidia_drm/parameters/modeset
Y

I launch sway using the --unsopported-gpu option (no Xwayland installed).
I tried to installed the wlroots-nvidia package, but it was one version behind the sway package, so I couldn't access the sway session with it. I am back to normal wlroots.

I have one monitor connected to the nvidia card, and other two attached to the integrated card.

PROBLEM
While all monitors are working, the one attached to the nvidia card is quite slow, meaning that all the typing operations on terminal (as an example) happen at a very slow rate.
Additionally, there is huge flickering and random black figures appearing everywhere.

What should I check to debug the problem?

Last edited by tigerjack (2025-02-06 12:59:22)

Offline

#2 2025-02-04 14:28:09

Fijxu
Member
Registered: 2021-08-11
Posts: 46

Re: Nvidia + Intel GPU - flickering with proprietary drivers

Is it a laptop or just a PC? Why would you want to use the Integrated Card when you can just use the Dedicated one? Lack of ports? If that's the case, I'm sure you can try just using the integrated card for everything and the dedicated card for heavy 3D programs. (Like if it was a laptop, since the integrated card is the being used to display everything on the display, but a dedicated card is being used to render games or anything else)

Offline

#3 2025-02-04 15:08:51

tigerjack
Member
Registered: 2017-08-20
Posts: 85

Re: Nvidia + Intel GPU - flickering with proprietary drivers

Fijxu wrote:

Is it a laptop or just a PC? Why would you want to use the Integrated Card when you can just use the Dedicated one? Lack of ports? If that's the case, I'm sure you can try just using the integrated card for everything and the dedicated card for heavy 3D programs. (Like if it was a laptop, since the integrated card is the being used to display everything on the display, but a dedicated card is being used to render games or anything else)

It's a PC, and yes, I don't have enough outputs on the integrated card.

I must say, using the open nouveau driver didn't give me any problem, meaning no flickering or lag.
But sometimes I need the Nvidia card (and, I think, proprietary driver, especially for hardware acceleration).

Last edited by tigerjack (2025-02-04 18:14:30)

Offline

Board footer

Powered by FluxBB