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] Compiling nouveau open source nvidia graphics card drive

To: enming.teo@xxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sun, 23 Aug 2009 00:36:39 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 23 Aug 2009 00:37:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251012999; bh=0WbBfYgd6Io6ZBdIQeBkriXsA7LgBmwmBAB9EIIs344=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Q1PlKeLPphthc0MTA97dMBonVMfqPIOU3V4D2ih9wXlDKGEQl0c8XTqJnMwGJWXR5iVgwHxmK46K46nKWrH5QoAGYOetl7nHU1I5vCcpSwd65O6o5bnQLUwhLaGWEOAhVKssW4I8cKulKUJS7lu2C03fWGeZozJiK/3LfewItFo=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=LdPkJ9+dMOtxHdTlcommjTW5Dk7lkuXgu4XCAEMxck50JiGuBk+RMFeSHfoLCZ92a4zJj2MA62AyZNu4FXLhMY2bMQPrlcYfG6z1tY6uCGrdPqI9vnhkLAlhOGpsdMd2lunlNpzGLk3B1hWGOfT2RB3wOiN9BaWzOYedIq0dSxw=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A903F4C.5060605@xxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
  Just one question. If i would remove GeForce Video Card and enable integrated Intel
GMA 4500 in BIOS . Then load system and tune xorg.conf to work with Intel GMA .
  I  suspect pvops kernel to work OK due to presence of driver for Intel GMA 4500. Hence X-Server will come up properly.
  This story seems to be about presence of Intel Video Chip driver in the pvops kernel
and nothing else. So, with ASUS P5Q-E  i have to look for video card with driver already
implemented in 2.6.31-rc6.

Please, advise if i am wrong about that.

Boris.

--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@xxxxxxxxxxxxxxx> wrote:

From: Mr. Teo En Ming (Zhang Enming) <enming.teo@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: bderzhavets@xxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Saturday, August 22, 2009, 2:56 PM

OMG! OMG! OMG! I have solved the problem with Xorg X server (GUI) not previously working under Xen pv-ops dom 0 kernels.

Here is what I did:

A. Booted computer using NVIDIA card

1. nvidia-installer --uninstall

2. yum groupremove "X Window System"

3. yum groupinstall "X Window System"

4. Xorg -configure

5. mv /root/xorg.conf.new /etc/X11/xorg.conf-nv

6. Make sure xorg.conf-nv contains "Driver 'nv'"

7. cd /etc/X11; ln -s xorg.conf-nv xorg.conf

8. Check X server is started successfully

B. Reboot computer using integrated Intel GMA 4500 graphics on Intel DQ45CB

1. Xorg -configure

2. vi /root/xorg.conf.new

3. Remove all sections related to nv inside
xorg.conf.new, leaving only intel

4. cp /root/xorg.conf.new /etc/X11/xorg.conf-intel

5. cd /etc/X11; ln -s xorg.conf-intel xorg.conf

6. Start X server. This causes garbage GUI output.

7. Add nomodeset kernel parameter to /boot/grub/grub.conf. Reboot again.

8. Start X server. GNOME desktop environment appears. SUCCESS! No garbage GUI output!


The solution to getting X server (Graphical User Interface) work under a Xen paravirt-operations domain 0 kernel is not to use NVIDIA cards. Since it is clearly impossible to get official NVIDIA drivers and open source nouveau drivers to work with Jeremy Fitzhardinge's paravirt ops dom 0 kernels. And also Jeremy's git tree does not have nouveau sources either.

Hence, instead of using NVIDIA graphics cards with Xen pv_ops dom 0 kernels, use Intel GMA 4500 to get graphical displays (I am using Intel Desktop Board DQ45CB).

Congratulate me on my success!!!

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore



On 08/22/2009 10:22 PM, Boris Derzhavets wrote:
I don't have it.
I am not expecting PVOPS kernel to have Nvidia support in a foreseeable future.
B.

--- On Sat, 8/22/09, Teo En Ming (Zhang Enming) <enming.teo@xxxxxxxxxxxxxxx> wrote:

From: Teo En Ming (Zhang Enming) <enming.teo@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: bderzhavets@xxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Saturday, August 22, 2009, 9:52 AM

Nope. What is the link?

 

Regards,
 

Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)

Technical Support Engineer

Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541

Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx


From: Boris Derzhavets [mailto: bderzhavets@xxxxxxxxx ]
Sent: Saturday, August 22, 2009 9:23 PM
To: enming.teo@xxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel

 

All what i do on F11:-

# yum install vncserver

Then put in /etc/rc.local

export HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16

Reboot Xen Host and connect remotely via vncviewer  , using local X-server and GDM on Xen Host. KDM fails to with Xen.

There was one feed from Ian Campbell regarding Nvidia support by pvops kernel,
followed by Jeremy Fitzhardinge notice. :(

 Do you remember that ?

Boris.
P.S. GeForce 8500 GT installed on my box.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) < enming.teo@xxxxxxxxxxxxxxx > wrote:


From: Mr. Teo En Ming (Zhang Enming) < enming.teo@xxxxxxxxxxxxxxx >
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: enming.teo@xxxxxxxxxxxxxxx
Cc: bderzhavets@xxxxxxxxx , xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Saturday, August 22, 2009, 8:57 AM

I might give Driver "intel" a try in xorg.conf.. Let me reboot to Intel GMA4500 first.

-- 

Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)

Technical Support Engineer

Information Technology Department

Asiasoft Online Pte Ltd

Tampines Central 1 #04-01 Tampines Plaza

Singapore 529541

Republic of
Singapore

Mobile : +65-9648-9798

MSN: teoenming@xxxxxxxxxxx

Alma Maters: Singapore Polytechnic,
National University of
Singapore



On 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:

Dear Boris,

Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6..30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?

There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.

Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.

So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.

All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.

If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?

Thank you.

-- 

Mr.. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)

Technical Support Engineer

Information Technology Department

Asiasoft Online Pte Ltd

Tampines Central 1 #04-01 Tampines Plaza

Singapore 529541

Republic of
Singapore

Mobile : +65-9648-9798

MSN: teoenming@xxxxxxxxxxx

Alma Maters: Singapore Polytechnic,
National University of
Singapore



On 08/22/2009 08:44 PM, Boris Derzhavets wrote:

> Do I need to request nouveau and tungsten developers to make ttm and nouveau
> code Xen pvops dom 0 aware?

Why would you expect them to take care of Xen pvops ?


Boris.

--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@xxxxxxxxxxxxxxx> wrote:


From: Mr. Teo En Ming (Zhang Enming) <enming.teo@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: enming.teo@xxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Saturday, August 22, 2009, 8:31 AM

Dear Pasi,

I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.

So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.

Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?

-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile : +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore



On 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
>




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

 

 






_______________________________________________

Xen-devel mailing list

Xen-devel@xxxxxxxxxxxxxxxxxxx

http://lists.xensource.com/xen-devel

  

 

 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date: 08/20/09 18:06:00


-----Inline Attachment Follows-----

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




 

-----Inline Attachment Follows-----

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>