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: bderzhavets@xxxxxxxxx
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
From: "Mr. Teo En Ming (Zhang Enming)" <enming.teo@xxxxxxxxxxxxxxx>
Date: Sun, 23 Aug 2009 02:56:12 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 22 Aug 2009 11:57:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <902537.86052.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <902537.86052.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: enming.teo@xxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3
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






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