WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] X-server problem using sdl with nvidia graphics

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] X-server problem using sdl with nvidia graphics
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Mon, 14 Mar 2011 08:34:35 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 14 Mar 2011 00:35:32 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1300088078; x=1331624078; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=8EHh7Z3C37hwen+5HtpmT6uXeLOb8/qkbzOZ5Oo/TNg=; b=gPrjsmKwncCtG/WhlezKX9SmJ/IYyuPa/1sP35AMirnrQqgGa+QBkQOU 35VqggJ763Gm9jWyUxGoSCjds1SCFvqvKZ/mqdtSasgO9PQRg8tG1WHkG ylw6RPiJ/CzIImOuOqNoEnU4095vIXBLCyE3QHQrybjaGDcS2vJeCM0q2 OIWPdZDqZbVi8WxkirfR9KrScNISqsD+p0U0XdsX9orM0mzYV/N44iDz6 jn28Nkayu2YC5MOo8baYzTDl6WiWE;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Hkx2RbWK+EUnZS0wrhFHitvnwo5uuYwwTnfHI01E3Lynn7ewjN36yTtI J1GiX8zGVZribGXK3PT3aFZagpNFvtxjX3ErQ4AqwniO68Y6GqW7GbHt3 TADp/IAzH/uolJn1V+qNBvoMF1vAfs2zC0+bnPjAoQ6k63uCYFFWSX7zt N12vWd/lAijtY80B7xnGv4xKgCnLbQD8bJa9xnNbViDzMtWziQY5PoJQ9 Herr0q7uSjZXgFlfD88xcP81Lr6Fs;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1103071559200.2968@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fujitsu Technology Solutions
References: <4D709F9A.8050805@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1103071559200.2968@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Iceowl/1.0b1 Icedove/3.0.11
Hi,

sorry for late reply, I was at home for 1 week :-)

On 03/07/11 16:59, Stefano Stabellini wrote:
On Fri, 4 Mar 2011, Juergen Gross wrote:
Hi,

I'm playing a little bit with Windows domU on Xen. My machine is a Notebook
with a nvidia card:

01:00.0 VGA compatible controller: nVidia Corporation G96M [Quadro FX 770M]
(rev a1)

Xen is Xen 4.0.1 from SLES 11 SP1, Xserver is xorg 7.4-27.19.19.
When I use vnc as console for the domU, everything is okay. Using sdl will
blank my screen as soon as the domain is started and the sdl window should
appear. I can get the X screen again via switching to text console and back,
but the sdl window isn't there.
Starting the domain with sdl using an external DISPLAY works okay.

Has anybody seen this problem?
Any ideas how to solve it?

I tried with nv driver from SLES and nvidia driver from nvidia.com. Both
failed.

Guest configuration:

import os, re
arch = os.uname()[4]
if re.search('64', arch):
      arch_libdir = 'lib64'
else:
      arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
device_model = '/usr/lib' + '/xen/bin/qemu-dm'
builder='hvm'
memory = 4096
shadow_memory = 32
name = "Win"
vif = [ 'type=ioemu, bridge=extbr1', 'type=ioemu, bridge=intbr1' ]
disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
boot="c"
vcpus=1
acpi=1
apic=1
sdl=1
vnc=0
vncconsole=0
vncviewer=0
vncpasswd=''
vnclisten="0.0.0.0"
stdvga=0


try adding opengl=0

Doesn't help.


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel