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

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-27-11, 03:08 PM   #121
towo|
Registered User
 
Join Date: Feb 2007
Posts: 113
Default Re: Nvidia support for Xen

I have many KVM guests running on my system with NVidia drivers installed on the host.
Why should there be a problem?
towo| is offline   Reply With Quote
Old 07-27-11, 03:46 PM   #122
uOpt
FreeBSD cheering section
 
uOpt's Avatar
 
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
Default Re: Nvidia support for Xen

Quote:
Originally Posted by towo| View Post
I have many KVM guests running on my system with NVidia drivers installed on the host.
Why should there be a problem?
I know there shouldn't, the same way that running VMware doesn't interfere with the video drivers. But I'm getting paranoid about these things, so I'm asking.

Too bad everybody put so much work towards XEN paravirtualizaton and that KVM's documentation stinks so much.
__________________

My Unix benchmark results
uOpt is offline   Reply With Quote
Old 07-28-11, 06:24 AM   #123
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: Nvidia support for Xen

Quote:
Originally Posted by uOpt View Post
LA LA LA I can't hear you

BTW, is there any problem running the NVidia drivers in an OS that has (not is) KVM guests?
None.
But keep in mind that Xen Hypervisor / Dom0 architecture is more complex than KVM's architecture.

- Gilboa
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 12-21-11, 08:43 AM   #124
uOpt
FreeBSD cheering section
 
uOpt's Avatar
 
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
Default Re: Nvidia support for Xen

I'm still having no luck here. I now have kernel 3.1.5 and I'm still segfaulting with the 285.05.09 drivers. It runs fine when booting the same kernel not inside Xen.

This happens both in Xorg server 1.7.7 and Xorg 7.1.1.

(II) Dec 18 17:56:37 NVIDIA(0): Setting mode "2560x1600"
(WW) Dec 18 17:56:40 NVIDIA(0): WAIT (0, 1, 0x8000, 0x000000bc, 0x000000bc)
(EE) Dec 18 17:56:40 NVIDIA(0): Error setting DVC.
(WW) Dec 18 17:56:43 NVIDIA(0): WAIT (0, 6, 0x8000, 0x00001274, 0x00001274)

Backtrace:
0: X (xorg_backtrace+0x28) [0x4acd58]
1: X (0x400000+0x61a09) [0x461a09]
2: /lib/libpthread.so.0 (0x7f2a695f2000+0xef60) [0x7f2a69600f60]
3: X (dixAllocatePrivate+0x78) [0x450c08]
4: X (dixLookupPrivate+0x35) [0x450de5]
5: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f2a62f85000+0x36df37) [0x7f2a632f2f37]
6: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f2a62f85000+0xc1585) [0x7f2a63046585]
7: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f2a62f85000+0xc1c80) [0x7f2a63046c80]
8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f2a62f85000+0x82c5e) [0x7f2a63007c5e]
9: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f2a62f85000+0xf0d2e) [0x7f2a63075d2e]
10: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f2a62f85000+0xb7460) [0x7f2a6303c460]
11: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f2a62f85000+0x33fa48) [0x7f2a632c4a48]
12: X (AddScreen+0x1d4) [0x442d54]
13: X (InitOutput+0x7af) [0x46808f]
14: X (0x400000+0x25a8a) [0x425a8a]
15: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f2a680f6c4d]
16: X (0x400000+0x257e9) [0x4257e9]
Segmentation fault at address 0x290

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting
__________________

My Unix benchmark results
uOpt is offline   Reply With Quote
Old 01-20-12, 02:37 AM   #125
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: Nvidia support for Xen

With Fedora 16 supporting Xen Dom0 out of the box, I decided to give it a shot (on the DEV machine in my signature).
No go - black screen w/ Xid's.


xen: registering gsi 30 triggering 0 polarity 1
xen_map_pirq_gsi: returning irq 30 for gsi 30
xen: --> pirq=30 -> irq=30 (gsi=30)
Already setup the GSI :30
nvidia 0000:03:00.0: PCI INT A -> GSI 30 (level, low) -> IRQ 30
nvidia 0000:03:00.0: setting latency timer to 64
vgaarb: device changed decodes: PCI:0000:03:00.0,olddecodes=none,decodes=nonewns =io+mem
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 290.10 Wed Nov 16 17:39:29 PST 2011
NVRM: PAT configuration unsupported, falling back to MTRRs.
...
NVRM: Xid (0000:03:00): 8, Channel 00000000
NVRM: Xid (0000:03:00): 16, Head 00000000 Count 00000002
NVRM: Xid (0000:03:00): 16, Head 00000000 Count 00000003
NVRM: Xid (0000:03:00): 16, Head 00000000 Count 00000004
NVRM: Xid (0000:03:00): 16, Head 00000000 Count 00000005
NVRM: Xid (0000:03:00): 16, Head 00000000 Count 00000006
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 01-20-12, 02:58 AM   #126
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: Nvidia support for Xen

... And in the xorg.log.

(EE) NVIDIA(0): EVO Push buffer channel allocation failed
(EE) NVIDIA(0): *** Aborting ***
(EE) NVIDIA(0): Failed to allocate EVO DMA push buffer
(EE) NVIDIA(0): *** Aborting ***
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline   Reply With Quote
Old 02-03-12, 01:35 PM   #127
morangie
Registered User
 
Join Date: Jan 2012
Location: Coburg, Germany
Posts: 2
Unhappy Re: Nvidia support for Xen

I tried to install nvidia driver on opensuse 11.4 as described by user moenchmeyer in this forum.
Unfortunately it doesnīt work. Iīm able to compile the driver with standard kernel as well as xen kernel.
With the standard kernel the desktop effects in KDE work beautifully - with xen kwin tells me, that the desktop effects were disabled because compositing is to slow..

log entries form standard and xen kernel are the same when nvidia driver is loaded:
.....
[17754.047605] nvidia 0000:01:00.0: PCI INT A disabled
[17765.372650] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[17765.372662] nvidia 0000:01:00.0: setting latency timer to 64
[17765.372667] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=nonewns =io+mem
[17765.372854] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 270.41.06 Mon Apr 18 14:53:56 PDT 2011
.....

The Xorg.0.log are identical for both kernels.


I tried to play around with several options in xorg.conf:

Section "Screen"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "TwinView" "0"
Option "UseEvents" "false"
Option "TripleBuffer" "1"
Option "BackingStore" "1"
Option "PixmapCacheSize" "70000"
Option "OnDemandVBlankInterrupts" "true"
...
...
EndSection

None of these options are necessary to make desktop effects work with the standard kernel. With xen nothing helped.


The only "alarming" message I could find is in .xsession-errors :

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 430/PCI/SSE2
OpenGL version string: 4.1.0 NVIDIA 270.41.06
OpenGL shading language version string: 4.10 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 270.41.6
GPU class: GF100
OpenGL version: 4.1
GLSL version: 4.10
X server version: 1.9.3
Linux kernel version: 2.6.37
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
kwin(10858): Invalid framebuffer status: "GL_FRAMEBUFFER_UNSUPPORTED"


Dr. Google doesnīt give any help on "GL_FRAMEBUFFER_UNSUPPORTED". I donīt even know, if this message is the cause of my problem.

This is driving me nuts.... help!!!
morangie is offline   Reply With Quote
Old 02-12-12, 10:23 AM   #128
morangie
Registered User
 
Join Date: Jan 2012
Location: Coburg, Germany
Posts: 2
Unhappy Re: Nvidia support for Xen

ok ... a little update...

I tried different nvidia driver versions:
270.41.06 - result as described
275.43 same result
290.10 kwin crashes when I try to enable desktop effects

I found some old bug reports describing, that nvidia driver version > 260 cause kwin to crash with kde > 4.6.0 on 64-bit systems.

So I tried it with a 32-bit system. Unfortunately I am not able to compile the driver for the xen kernel.
I get this message:

Quote:
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
Kernel source and devel packages are installed for the running kernel (2.6.37.6-0.11-xen)

I also ran in /usr/src/inux-2.6.37.6-0.11

Code:
make oldconfig & make prepare
I also tried to specify source and output directory by:

Code:
export SYSSRC=/usr/src/linux-2.6.37.6-0.11
export SYSOUT=/usr/src/linux-2.6.37.6-0.11-obj/i386/xen/
and of course as always

Code:
export IGNORE_XEN_PRESENCE=1
but I always get the same error message. I didnīt encounter this problem on
the 64-bit system. Configuring the kernel sources was not necessary.

Next step I tried to update to kernel 3.2 - result stays the same.

What am I doing wrong ???
morangie is offline   Reply With Quote

Old 02-12-12, 07:17 PM   #129
johnnyk
Registered User
 
Join Date: Feb 2012
Posts: 9
Default Re: Nvidia support for Xen

At best, at one stage (unfortunately forgot with which combinations of xen version / kernel / binary driver) I managed to get the binary driver to work, but without proper 3D support, glxgears showing something like 3fps when running Xen; honestly I'm starting to think that for Dom0 it's best to use a driver like nouveau unless you can get pass through working to assign the device to a DomU.

Otherwise I almost always have issues with either a) getting the driver compiled due to unable to identify kernel correctly, or b) errors like "NVRM: RmInitAdapter failed!" and inability to even start X.

If anyone has had better luck, could you please post your: xen version, kernel version and binary driver version.
johnnyk is offline   Reply With Quote
Old 02-28-12, 05:38 PM   #130
johnnyk
Registered User
 
Join Date: Feb 2012
Posts: 9
Default Re: Nvidia support for Xen

bump?
johnnyk is offline   Reply With Quote
Old 02-29-12, 05:29 AM   #131
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: Nvidia support for Xen

nvm
Licaon 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
Remastered Doom 3 BFG Edition Game Coming with Stereo 3D Support News Archived News Items 0 06-01-12 05:30 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Official Detonator 40.xx Feedback Thread pelly NVIDIA Windows Graphics Drivers 299 09-22-02 06:54 AM

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


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