Intel Sandy Bridge plus Nvidia GPU

Ratin ratin3 at gmail.com
Fri Jul 20 03:19:48 PDT 2012


Hi I am trying to utilize hardware accelerated grpahics on a system with
Integrated Intel GMA3000 graphics and NVidia GeForce GTX 460 on PCI bus and
having some issues with loading both Xorg driver. I obtained and compiled
sources for vaapi library (only for Intel, Version 1.0.15), libdrm (V
2.4.37),  intel-driver (V 1.0.17). I enabled both PEG/PCI for the graphics
in BIOS, specifying both GPUs in xorg entries and I got both the kernel
mode driver to load. But as all the kernel mode driver loads,  followed by
dri and dri2 X extension modules, nvidia X org driver gets unloaded. I
think this is because dri2 is bound with intel but I am not sure why it
would not allow more than one instance of X driver. Consequently I can not
use nvidia driver to do any deHW accelerated decode/ndering (with its
single instance it works). Atached are my Xorg logs and xorg.conf.

Here is my lsmod output :

Module                  Size  Used by
ib_iser                38640  0
rdma_cm                43866  1 ib_iser
ib_cm                  48142  1 rdma_cm
iw_cm                  18793  1 rdma_cm
ib_sa                  29364  2 rdma_cm,ib_cm
ib_mad                 48127  2 ib_cm,ib_sa
ib_core                78388  6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
nfsd                  277809  2
nfs                   356307  1
lockd                  86161  2 nfsd,nfs
ib_addr                14072  1 rdma_cm
fscache                61529  1 nfs
iscsi_tcp              18587  0
libiscsi_tcp           25115  1 iscsi_tcp
libiscsi               57546  3 ib_iser,iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi    53735  4 ib_iser,iscsi_tcp,libiscsi
auth_rpcgss            53380  2 nfsd,nfs
nfs_acl                12883  2 nfsd,nfs
sunrpc                245464  17 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
snd_hda_codec_hdmi     32474  9
snd_hda_codec_realtek   223867  1
i915                  468764  2
drm_kms_helper         46978  1 i915
drm                   242038  3 i915,drm_kms_helper
ftdi_sio               40715  1
i2c_algo_bit           13423  1 i915
usbserial              47077  3 ftdi_sio
serio_raw              13211  0
snd_hda_intel          33773  0
snd_hda_codec         127706  3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13668  1 snd_hda_codec
snd_pcm                97188  3
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi           13324  0
snd_rawmidi            30748  1 snd_seq_midi
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
snd_timer              29990  2 snd_pcm,snd_seq
mei                    41616  0
nvidia              12353161  0
video                  19596  1 i915
snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    78855  10
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15091  1 snd
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
mac_hid                13253  0
lp                     17799  0
parport                46562  1 lp
usbhid                 47199  0
hid                    99559  1 usbhid
r8168                 211529  0

lspci output:
=================

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family
DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core
Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series
Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family
High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 3 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset Family LPC
Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset
Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus
Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset
Family 2 port SATA IDE Controller (rev 05)
01:00.0 PCI bridge: NVIDIA Corporation Device 05b9 (rev a3)
02:00.0 PCI bridge: NVIDIA Corporation Device 05b9 (rev a3)
02:02.0 PCI bridge: NVIDIA Corporation Device 05b9 (rev a3)
03:00.0 3D controller: NVIDIA Corporation Device 1088 (rev a1)
03:00.1 Audio device: NVIDIA Corporation GF110 High Definition Audio
Controller (rev a1)
04:00.0 VGA compatible controller: NVIDIA Corporation Device 1088 (rev a1)
04:00.1 Audio device: NVIDIA Corporation GF110 High Definition Audio
Controller (rev a1)
05:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless
Network Adapter (PCI-Express) (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet controller (rev 06)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet controller (rev 06)

Note: On a system with just nvidia driver (PEG only on BIOS, one entry in
xorg.conf), drm_kms_helper and drm does not show up in lsmod.

Did anybody here successfully able to achieve this?

Thanks

Ratin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20120720/562e313c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: application/octet-stream
Size: 29210 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20120720/562e313c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg.conf
Type: application/octet-stream
Size: 2282 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20120720/562e313c/attachment-0001.obj>


More information about the xorg mailing list