You are not logged in.
Pages: 1
Topic closed
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
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
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
https://wiki.archlinux.org/index.php/Xo … _to_a_seat
The nvidia card is the one that isn't the Intel one (fb0).
Offline
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
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
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
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
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
Which driver you are using?
Offline
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
I suppose that bumblebee deactivates your gpu but for using multiseat you need it enabled
Offline
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
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
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
Have you succeeded?
Offline
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
Pages: 1
Topic closed