You are not logged in.

#1 2016-06-05 06:07:42

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Multiseat with Nvidia & Intel

Hi. I'm trying to set up multiseat on my hybrid laptop (with intel & nvidia graphics). I read an article about multiseat in the wiki and I understood that I have to attach my devices to the second seat and I have to start with the graphics card. now my primary seat uses the intel graphics and I want the second seat to use the nvidia graphics. this is the output when i run this command:
loginctl seat-status seat0

 seat0
	Sessions: *1 c1
	 Devices:
		  ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
		  │ input:input2 "Power Button"
		  ├─/sys/device...SYSTM:00/LNXSYBUS:00/ATK4001:00/input/input19
		  │ input:input19 "Asus Wireless Radio Control"
		  ├─/sys/device...SYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input13
		  │ input:input13 "Video Bus"
		  ├─/sys/device...NP0A08:00/device:02/LNXVIDEO:00/input/input12
		  │ input:input12 "Video Bus"
		  ├─/sys/device...XSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
		  │ input:input0 "Lid Switch"
		  ├─/sys/device...XSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
		  │ input:input1 "Sleep Button"
		  ├─/sys/devices/pci0000:00/0000:00:02.0/drm/card0
		  │ [MASTER] drm:card0
		  │ ├─/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1
		  │ │ [MASTER] drm:card0-DP-1
		  │ ├─/sys/device...00:00/0000:00:02.0/drm/card0/card0-HDMI-A-1
		  │ │ [MASTER] drm:card0-HDMI-A-1
		  │ ├─/sys/device...0000:00/0000:00:02.0/drm/card0/card0-LVDS-1
		  │ │ [MASTER] drm:card0-LVDS-1
		  │ └─/sys/device...i0000:00/0000:00:02.0/drm/card0/card0-VGA-1
		  │   [MASTER] drm:card0-VGA-1
		  ├─/sys/devices/pci0000:00/0000:00:02.0/drm/renderD128
		  │ drm:renderD128
		  ├─/sys/devices/pci0000:00/0000:00:02.0/graphics/fb0
		  │ [MASTER] graphics:fb0 "inteldrmfb"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/usb3
		  │ usb:usb3
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3
		  │   usb:3-3
		  │   ├─/sys/device...3.1:1.0/0003:0458:003A.0008/input/input41
		  │   │ input:input41 "Genius Optical Mouse"
		  │   ├─/sys/device...3.2:1.0/0003:0518:0001.0009/input/input42
		  │   │ input:input42 "Plus More Enterprise LT...iant keyboard"
		  │   └─/sys/device...3.2:1.1/0003:0518:0001.000A/input/input43
		  │     input:input43 "Plus More Enterprise LT...iant keyboard"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/usb4
		  │ usb:usb4
		  ├─/sys/devices/pci0000:00/0000:00:1a.0/usb1
		  │ usb:usb1
		  │ └─/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1
		  │   usb:1-1
		  │   ├─/sys/device....0/usb1/1-1/1-1.3/1-1.3:1.0/input/input24
		  │   │ input:input24 "ASUS USB2.0 Webcam"
		  │   └─/sys/device...b1/1-1/1-1.3/1-1.3:1.0/video4linux/video0
		  │     video4linux:video0 "ASUS USB2.0 Webcam"
		  ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0
		  │ sound:card0 "PCH"
		  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input21
		  │ │ input:input21 "HDA Intel PCH Mic"
		  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input22
		  │ │ input:input22 "HDA Intel PCH Headphone"
		  │ └─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input23
		  │   input:input23 "HDA Intel PCH HDMI/DP,pcm=3"
		  ├─/sys/devices/pci0000:00/0000:00:1d.0/usb2
		  │ usb:usb2
		  │ └─/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1
		  │   usb:2-1
		  ├─/sys/device...1f.2/ata3/host2/target2:0:0/2:0:0:0/block/sr0
		  │ block:sr0
		  ├─/sys/device...a3/host2/target2:0:0/2:0:0:0/scsi_generic/sg1
		  │ scsi_generic:sg1
		  ├─/sys/devices/platform/asus-nb-wmi/input/input20
		  │ input:input20 "Asus WMI hotkeys"
		  ├─/sys/devices/platform/i8042/serio0/input/input3
		  │ input:input3 "AT Translated Set 2 keyboard"
		  ├─/sys/devices/platform/i8042/serio4/input/input18
		  │ input:input18 "ETPS/2 Elantech Touchpad"
		  ├─/sys/devices/virtual/misc/kvm
		  │ misc:kvm
		  └─/sys/devices/virtual/misc/rfkill
		    misc:rfkill 

and this is the output when I run lspci:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev ff)
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader (rev 01)
04:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a) 


my problem is that I don't know what is the nvidia device path in /sys/devices/pci...   to attach to the second seat with loginctl. can anyone help?

Last edited by shahriar25 (2016-06-05 07:38:28)

Offline

#2 2016-06-05 06:08:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Multiseat with Nvidia & Intel

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-06-06 06:17:26

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Re: Multiseat with Nvidia & Intel

Well since no one has answered let me ask a simpler question.
My laptop has two graphics and I want to attach the nvidia graphic to my cuttent seat. how can I do that?

Last edited by shahriar25 (2016-06-06 06:17:51)

Offline

#4 2016-06-06 06:26:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Multiseat with Nvidia & Intel

https://wiki.archlinux.org/index.php/Xo … _to_a_seat

The nvidia card is the one that isn't the Intel one (fb0).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-06-06 13:02:50

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Re: Multiseat with Nvidia & Intel

well that is my problem. the Nvidia graphics is nowhere to be found in seat-status but it is there in the lspci. if you look at my first post you will see

Offline

#6 2016-06-06 13:17:55

positronik
Member
Registered: 2016-02-08
Posts: 94

Re: Multiseat with Nvidia & Intel

Can't you just explore /sys/devices/pci* to see where your second Nvidia card is located, using some educated guesses from lspci output?

Offline

#7 2016-06-06 15:49:58

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Re: Multiseat with Nvidia & Intel

I searched /sys/devices/pci... and I found it:

/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0

I tried attaching the above path and it printed that there was no such device (as I suspected)

what should I do now?

Offline

#8 2016-06-06 17:19:56

positronik
Member
Registered: 2016-02-08
Posts: 94

Re: Multiseat with Nvidia & Intel

Post the command you used to attach the device

Edit: I guess you simply used the path that you've written. Don't you see that the command in the wiki specifies also a subfolder?

Last edited by positronik (2016-06-06 17:23:24)

Offline

#9 2016-06-06 17:46:55

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Re: Multiseat with Nvidia & Intel

this is the command and the output:

loginctl attach seat1 /sys/devices/pci0000\:00/0000\:00\:01.0/0000\:01\:00.0/
Could not attach device: No such device

and yes I noticed the subfolder in the wiki but I have no idea which one. this is the contents of the folder:

ls /sys/devices/pci0000\:00/0000\:00\:01.0/0000\:01\:00.0/
boot_vga                  enable         remove        resource5
broken_parity_status      firmware_node  rescan        rom
class                     irq            reset         subsystem
config                    local_cpulist  resource      subsystem_device
consistent_dma_mask_bits  local_cpus     resource0     subsystem_vendor
d3cold_allowed            modalias       resource1     uevent
device                    msi_bus        resource1_wc  vendor
dma_mask_bits             numa_node      resource3
driver_override           power          resource3_wc

which one is it?

Offline

#10 2016-06-06 18:17:59

positronik
Member
Registered: 2016-02-08
Posts: 94

Re: Multiseat with Nvidia & Intel

Which driver you are using?

Offline

#11 2016-06-07 04:04:56

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Re: Multiseat with Nvidia & Intel

I'm using bumblebee with NVidia drivers. I installed this section in this article:

https://wiki.archlinux.org/index.php/bumblebee
Installing Bumblebee with Intel/NVIDIA

Offline

#12 2016-06-07 05:58:48

positronik
Member
Registered: 2016-02-08
Posts: 94

Re: Multiseat with Nvidia & Intel

I suppose that bumblebee deactivates your gpu but for using multiseat you need it enabled

Offline

#13 2016-06-07 07:13:06

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Re: Multiseat with Nvidia & Intel

How do you suggest I do that? and what do I do after that?
I can enable it by running an application with optirun but that is a temporary solution

Offline

#14 2016-06-07 07:31:03

positronik
Member
Registered: 2016-02-08
Posts: 94

Re: Multiseat with Nvidia & Intel

I don't have a laptop with a hybrid graphics setup and when I set multiseat I did it on a desktop computer.
My idea is that if you give up with any kind of power management utility such as bumblebee and have both cards active, you will probably find the drm bit in the /sys/* folder. But this is my guess, I think you will need to experiment by yourself, sorry for not being able to help you further!

Offline

#15 2016-06-07 07:58:30

shahriar25
Member
Registered: 2016-06-05
Posts: 8

Re: Multiseat with Nvidia & Intel

I searched the internet and I found a solution to switch the nvidia on with bbawitch

tee /proc/acpi/bbswitch <<<ON

and when I read the enable file in the nvidia device directory in /sys it prints :
1

is it enabled? (there is no drm file or folder in device path)

and thank you for helping this much

Offline

#16 2017-09-07 16:41:30

hlslbmwc
Member
Registered: 2017-09-07
Posts: 1

Re: Multiseat with Nvidia & Intel

Have you succeeded?

Offline

#17 2017-09-07 17:29:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,741

Re: Multiseat with Nvidia & Intel

Please don't necrobump old topics. Create a new one detailing your own research and reflecting an up to date software stack.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.

Online

Board footer

Powered by FluxBB