You are not logged in.

#1 2021-03-11 17:42:41

GRG121
Member
Registered: 2016-02-28
Posts: 10

[SOLVED] duplicated screen problems nvidia/intel optimus configuration

Hello there,

I have an MSI GL63 8SD-270XES with both an Nvidia and an Intel graphic cards. I used to run it with Bumblebee but recently I wanted to run Vulkan/steam-play so I decided to switch to PRIME following the Nvidia optimud guide: https://wiki.archlinux.org/index.php/NV … er_offload

Everything when right, I disabled all bumblebee-related configuration and uninstalled/disabled those packages/kernel modules that I didn't need anymore. Everything works just right with Vulkan (this is my Vulkan info output: https://gist.github.com/Pac0x73706f7468 … d99b098f9) but I've found two issues after this change.

1. For some reason, my SDDM session manager started acting weird when the laptop is blocked, showing a "second, small-duplicated screen" on the upper left corner (See this screenshot: https://i.ibb.co/VBJMw3d/2021-03-11-17-52.png)
2. When I try to share my screen on slack or similar meeting software there is some kind of "flickering" issue where people say that they could see my desktop but the image isn't continuous as if there were multiple screens sending the signal simultaneously.

I'm not sure where to start investigating to solve this, I don't even know how to name this problem.

Any help would be strongly appreciated.


Here is my xorg log: https://gist.github.com/Pac0x73706f7468 … 6770d98d4b

From there I've found that there seem to be two available screens (maybe one for each card) but I'm not sure if this is supposed to be like that or not.

[     3.935] (==) ServerLayout "X.org Configured"
[     3.935] (**) |-->Screen "Screen0" (0)
[     3.935] (**) |   |-->Monitor "Monitor0"
[     3.935] (**) |   |-->Device "Card0"
[     3.935] (**) |-->Screen "Screen1" (1)
[     3.935] (**) |   |-->Monitor "Monitor1"
[     3.936] (**) |   |-->Device "Card1"

Last edited by GRG121 (2021-03-11 19:05:34)

Offline

#2 2021-03-11 18:02:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,343

Re: [SOLVED] duplicated screen problems nvidia/intel optimus configuration

What's in your xorg config ? What happens if you remove both that config and xf86-video-intel ?

Offline

#3 2021-03-11 18:58:18

GRG121
Member
Registered: 2016-02-28
Posts: 10

Re: [SOLVED] duplicated screen problems nvidia/intel optimus configuration

Hello,

Thanks for answering V1del, that just worked!

I thought that I would still need Intel drivers as I am using the intel card...


Also, just in case this helps anyone, this was my Xorg configuration, I have to admit that I don't remember having generated it. I probably did that wile configuring bumblebee long ago... but still, It work fine without this configuration so I've removed it.

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "CustomEDID"         	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "HWRotation"         	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
	Identifier  "Card1"
	Driver      "nvidia"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Thank you again for your time and your answer.

Best regards,

Offline

Board footer

Powered by FluxBB