Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-30-13, 10:44 AM   #1
jkfloris
Registered User
 
Join Date: Feb 2005
Posts: 2
Default multiseat with systemd

Hey,

I already know that the nvidia driver creates the framebuffer after the X server is started, so I have to create an udev rule to make a "seat-master" (or is it "master-of-seat")

on http://www.freedesktop.org/wiki/Soft...emd/multiseat/
Quote:
...

Tag "master-of-seat": if set this device is enough for a seat to be considered existent. This tag is
usually set for the framebuffer device of graphics cards. A seat hence consists of an arbitrary
number of devices marked with the "seat" tag, but (at least) one of these devices needs to be
tagged with "master-of-seat" before the seat is actually considered to be around.

...
Can someone give me an example to set this tag in an udev rule?

thanks,

jkfloris

Last edited by jkfloris; 05-30-13 at 10:54 AM. Reason: change code to quote
jkfloris is offline   Reply With Quote
Old 06-03-13, 07:11 AM   #2
jkfloris
Registered User
 
Join Date: Feb 2005
Posts: 2
Default Re: multiseat with systemd

The people of systemd where so kind to give me an example:
Code:
 SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat", TAG+="master-of-seat"
Unfortunately, Nvidia doesn't create a SUBSYSTEM==graphics or a KERNEL==fb0

Code:
 $sudo udevadm info -a -p /sys/devices/pci0000\:00/0000\:00\:03.0/0000\:01\:00.0/

 looking at device '/devices/pci0000:00/0000:00:03.0/0000:01:00.0':
 KERNEL=="0000:01:00.0"
 SUBSYSTEM=="pci"
 DRIVER=="nvidia"
 ATTR{vendor}=="0x10de"
 ATTR{device}=="0x0615"
 ATTR{subsystem_vendor}=="0x1043"
 ATTR{subsystem_device}=="0x82fb"
 ATTR{class}=="0x030000"
 ATTR{irq}=="16"
 ATTR{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
 ATTR{local_cpulist}=="0-3"
 ATTR{numa_node}=="-1"
 ATTR{dma_mask_bits}=="40"
 ATTR{consistent_dma_mask_bits}=="32"
 ATTR{enable}=="1"
 ATTR{broken_parity_status}=="0"
 ATTR{msi_bus}==""
 ATTR{boot_vga}=="1"
so I tried
Code:
 SUBSYSTEM=="pci", KERNEL=="0000:02:00.0", TAG+="seat", TAG+="master-of-seat"
but without success,

some more tips?

thanks
jkfloris is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiseat X with two cards: used to work, now segfaulting Artefact2 NVIDIA Linux 10 06-26-12 05:22 PM
A Two-Second Boot Time With systemd News Archived News Items 0 05-14-12 05:40 AM

All times are GMT -5. The time now is 12:11 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.