Skip to main content

Thread: OpenGL and MultiGPU


we trying setup server multiple tesla m2050 run opengl.

current setup follows : ubuntu 12.04 nvidia drivers. have setup xorg.conf separate devices identified bus id. have tied x server each display in turn tied each device , our code attached each of these x servers. somehow 1 x session seems work out alright. other 1 produces garbled output , while watching nvidia-smi, notice when garbled output being produced gpu's not @ used. verify our setup seems reasonable? other thing noticed that, first x server started 1 has issue.

section "serverlayout"
identifier "gpu0"
screen 0 "screen0" 0 0
inputdevice "keyboard0" "corekeyboard"
inputdevice "mouse0" "corepointer"
endsection

section "serverlayout"
identifier "gpu1"
screen 0 "screen1" 0 0
inputdevice "keyboard0" "corekeyboard"
inputdevice "mouse0" "corepointer"
endsection

section "device"
identifier "card0"
driver "nvidia"
busid "pci:0:3:0"
endsection

section "device"
identifier "card1"
driver "nvidia"
busid "pci:0:4:0"
endsection

section "screen"
identifier "screen0"
device "card0"
monitor "monitor0"
subsection "display"
viewport 0 0
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
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

now, when ran single x server pointing either of these serverlayouts, works fine. issue when run 2 x servers @ same exact time 1 pointing 1 serverlayout , 1 other. trying use first 1 started have issues. both x servers started so:
openvt -fw -- su -c "startx -- ${display} -logverbose 20 -config xorg.${layout}.conf -layout ${layout}" xuser
1 x server, display=:0 layout=gpu0 , other display=:1 layout=gpu1 if x server started first :0 :1, rendering using opengl try on :0 result in either freezing, rendering fuzz, or rendering black screen. if these instances supported sli, wouldn't issue, unfortunately, don't. or direction on matter appreciated haven't found great way debug going on or whether issue lies in x or nvidia drivers (310.40).



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] OpenGL and MultiGPU


Ubuntu

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP