Skip to contentSkip to conversation

Xen 4.3.2 -- nvidia binary driver possible

DISCUSSION Georg Bege 3 participants 3 messages Jul 22, 2014 – Jul 23, 2014

lore
Share & tools
lore

Georg Bege

author
#0 lore raw

Hello

I'd like to ask about the possible using of the nvidia binary driver, along with Xen on Dom0.
It's obvious not working, there are a few hits on Google regarding this, most are however outdated.
I didn't find a clear answer if this is possible to fix or not.

I can remember that I once had this setup in an older system, maybe something like Linux 2.6 and much older binary driver. There was the famous "IGNORE_XEN_PRESENCE" flag - these information seems to be outdated.
The driver compiles fine, but if I want to startx:

-----------------------------------------snip---------------------------------
...

[   208.771] (II) NVIDIA(0): Validated MetaModes:
[   208.771] (II) NVIDIA(0):     "DFP-0:1280x1024,DFP-2:1280x1024"
[   208.771] (II) NVIDIA(0): Virtual screen size determined to be 2560 x
1024
[   208.793] (--) NVIDIA(0): DPI set to (85, 83); computed from
"UseEdidDpi" X config
[   208.793] (--) NVIDIA(0):     option
[   208.793] (**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[   208.793] (--) Depth 24 pixmap format is 32 bpp
[   208.794] (II) NVIDIA: Using 3072.00 MB of virtual memory for
indirect memory
[   208.794] (II) NVIDIA:     access.
[   208.803] (II) NVIDIA(0): Setting mode "DFP-0:1280x1024,DFP-2:1280x1024"
[   208.930] (EE) NVIDIA(0): Failed to allocate sofware rendering cache
surface: out of
[   208.930] (EE) NVIDIA(0):     memory.
[   208.930] (EE) NVIDIA(0):  *** Aborting ***
[   208.971] (EE)

Fatal server error:
-----------------------------------------snip---------------------------------

My system is Gentoo Linux 3.12.21 (64bit), the nvidia driver is of 337.25 revision.
I found an older hit which similar error message, however it was from 2010 and ppl did workaround by adding nopat along with the kernel - obviously on an 32bit host system.

Maybe this is an old tale, was asked a couple of times already - as said I couldnt really discover a clear answer about this.

regards,
Georg

#2 lore raw
In reply to Georg Bege
Quoted 4 lines · Georg Bege

Hello

I'd like to ask about the possible using of the nvidia binary driver, along with Xen on Dom0.

The most recent driver that works for me is the 319.xx series (I think the current latest one of those is 319.82, which is what I'm using). Later drivers build but cause Xorg to fail with the error you pasted.

Quoted 30 lines

It's obvious not working, there are a few hits on Google regarding this, most are however outdated.
I didn't find a clear answer if this is possible to fix or not.

I can remember that I once had this setup in an older system, maybe something like Linux 2.6 and much older binary driver. There was the famous "IGNORE_XEN_PRESENCE" flag - these information seems to be outdated.
The driver compiles fine, but if I want to startx:

-----------------------------------------snip---------------------------------
...

[   208.771] (II) NVIDIA(0): Validated MetaModes:
[   208.771] (II) NVIDIA(0):     "DFP-0:1280x1024,DFP-2:1280x1024"
[   208.771] (II) NVIDIA(0): Virtual screen size determined to be 2560 x
1024
[   208.793] (--) NVIDIA(0): DPI set to (85, 83); computed from
"UseEdidDpi" X config
[   208.793] (--) NVIDIA(0):     option
[   208.793] (**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[   208.793] (--) Depth 24 pixmap format is 32 bpp
[   208.794] (II) NVIDIA: Using 3072.00 MB of virtual memory for
indirect memory
[   208.794] (II) NVIDIA:     access.
[   208.803] (II) NVIDIA(0): Setting mode "DFP-0:1280x1024,DFP-2:1280x1024"
[   208.930] (EE) NVIDIA(0): Failed to allocate sofware rendering cache
surface: out of
[   208.930] (EE) NVIDIA(0):     memory.
[   208.930] (EE) NVIDIA(0):  *** Aborting ***
[   208.971] (EE)
Quoted 5 lines

Fatal server error:
-----------------------------------------snip---------------------------------

My system is Gentoo Linux 3.12.21 (64bit), the nvidia driver is of 337.25 revision.

I mentioned something like this on one of the Xen lists about 2 weeks ago. Switch to 319.82 driver and it should work fine. IIRC, that compiles fine on 3.12.xx kernels. For later kernels you'll need some additional patches for the nvidia driver (I can provide a patch against 3.13 and 3.14, I am currently running a 3.14 kernel.

Gordan