From: Boris Derzhavets Subject: Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] Date: Mon, 16 Aug 2010 04:06:23 -0700 (PDT) Message-ID: <886104.78921.qm@web56101.mail.re3.yahoo.com> References: <20100816104508.GE2804@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1801776659==" Return-path: In-Reply-To: <20100816104508.GE2804@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org --===============1801776659== Content-Type: multipart/alternative; boundary="0-1938349854-1281956783=:78921" --0-1938349854-1281956783=:78921 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable > Do you have "nomodeset" parameter for the dom0 kernel in grub.conf ?=20 No , i don't However , setup KMS via devices->staging drivers-> radeon by modesetting by= default i got=20 =A0[drm] Initialized drm 1.1.0 20060810 [drm] radeon defaulting to kernel modesetting. [drm] radeon kernel modesetting enabled. xen: registering gsi 16 triggering 0 polarity 1 xen_allocate_pirq: returning irq 16 for gsi 16 xen: --> irq=3D16 Already setup the GSI :16 radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 radeon 0000:01:00.0: setting latency timer to 64 [drm] radeon: Initializing kernel modesetting. [drm] register mmio base: 0xFE8E0000 [drm] register mmio size: 65536 ATOM BIOS: 11X [drm] Clocks initialized ! mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combin= ing [drm] Detected VRAM RAM=3D256M, BAR=3D256M [drm] RAM width 128bits DDR [TTM] Zone=A0 kernel: Available graphics memory: 4073770 kiB. [TTM] Zone=A0=A0 dma32: Available graphics memory: 2097152 kiB. [drm] radeon: 256M of VRAM memory ready [drm] radeon: 512M of GTT memory ready. [drm] Loading RV730 CP Microcode platform radeon_cp.0: firmware: requesting radeon/RV730_pfp.bin r600_cp: Failed to load firmware "radeon/RV730_pfp.bin" [drm:rv770_init] *ERROR* Failed to load firmware! [drm:radeon_driver_load_kms] *ERROR* Fatal error while trying to initialize= radeon. Boris. --- On Mon, 8/16/10, Pasi K=E4rkk=E4inen wrote: From: Pasi K=E4rkk=E4inen Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV73= 0 PRO [Radeon HD 4650] To: "Boris Derzhavets" Cc: xen-devel@lists.xensource.com, "Konrad Rzeszutek Wilk" Date: Monday, August 16, 2010, 6:45 AM On Mon, Aug 16, 2010 at 03:40:19AM -0700, Boris Derzhavets wrote: >=A0 =A0 >.. And KMS modesetting works properly now in Xen dom0! >=A0 =A0 My onboard ATI Radeon is the following: >=20 >=A0 =A0 > # lspci -v | grep VGA >=A0 =A0=A0=A011:04.0 VGA compatible controller: ATI Technologies Inc ES100= 0 (rev 02) >=A0 =A0 (prog-if 00=A0=A0=A0[VGA controller]) >=20 >=A0 =A0 Environment :=A0 Xen 4.0.1-rc6 & 2.6.32.19 on top of F13 ( .config= attached) >=20 >=A0 =A0 [root@fedora13 ~]# lspci -v | grep VGA >=A0 =A0 01:00.0 VGA compatible controller: ATI Technologies Inc RV730 PRO = [Radeon >=A0 =A0 HD 4650] (prog-if 00 [VGA controller]) >=20 >=A0 =A0 KMS seems do be disabled. "NOPAT" removed from kernel line. >=A0 =A0 Is it expected or i am=A0 missing something ? >=20 >=A0 =A0 Dmesg fragment :- >=20 >=A0 =A0 [drm] Initialized drm 1.1.0 20060810 >=A0 =A0 -> [drm] radeon defaulting to userspace modesetting. Do you have "nomodeset" parameter for the dom0 kernel in grub.conf ?=20 -- PAsi >=A0 =A0 pci 0000:01:00.0: setting latency timer to 64 >=A0 =A0 [drm] Initialized radeon 1.31.0 20080528 for 0000:01:00.0 on minor= 0 >=A0 =A0 mtrr: type mismatch for d0000000,10000000 old: write-back new: >=A0 =A0 write-combining >=A0 =A0 mtrr: type mismatch for d0000000,10000000 old: write-back new: >=A0 =A0 write-combining >=A0 =A0 mtrr: type mismatch for d0000000,10000000 old: write-back new: >=A0 =A0 write-combining >=A0 =A0 mtrr: type mismatch for d0000000,10000000 old: write-back new: >=A0 =A0 write-combining >=A0 =A0 [drm] Setting GART location based on new memory map >=A0 =A0 [drm] Loading RV730 CP Microcode >=A0 =A0 platform r600_cp.0: firmware: requesting radeon/RV730_pfp.bin >=A0 =A0 platform r600_cp.0: firmware: requesting radeon/RV730_me.bin >=A0 =A0 [drm] Resetting GPU >=A0 =A0 [drm] writeback test succeeded in 1 usecs >=20 >=A0 =A0 Boris. >=20 >=A0 =A0 --- On Sun, 8/15/10, Pasi K=E4rkk=E4inen wrote: >=20 >=A0 =A0 =A0 From: Pasi K=E4rkk=E4inen >=A0 =A0 =A0 Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixe= s-0.5 >=A0 =A0 =A0 To: "Konrad Rzeszutek Wilk" >=A0 =A0 =A0 Cc: "Jeremy Fitzhardinge" , >=A0 =A0 =A0 xen-devel@lists.xensource.com >=A0 =A0 =A0 Date: Sunday, August 15, 2010, 4:41 PM >=20 >=A0 =A0 =A0 On Fri, Aug 06, 2010 at 10:06:09AM -0400, Konrad Rzeszutek Wil= k wrote: >=A0 =A0 =A0 > >=A0 =A0 =A0 > Some of them are marked as not for upstream consumption, whi= le some of >=A0 =A0 =A0 > the other are OK (and Daniel's is upstream). Those patches f= rom both >=A0 =A0 =A0 > branches make it possible to have Xorg working with the foll= owing >=A0 =A0 =A0 > graphics cards on the PVOPS kernel: >=A0 =A0 =A0 > >=A0 =A0 =A0 > RIVA TNT2 Pro >=A0 =A0 =A0 > GeForce 1 256 >=A0 =A0 =A0 > GeForce 4 Ti 4200 >=A0 =A0 =A0 > GeForce 6150 >=A0 =A0 =A0 > GeForce 6200 >=A0 =A0 =A0 > GeForce 7300 >=A0 =A0 =A0 > GeForce 8600 GT >=A0 =A0 =A0 > Radeon R100 QD (7200) >=A0 =A0 =A0 > Radeon RV100QY (7000) >=A0 =A0 =A0 > Radeon HD 3200 >=A0 =A0 =A0 > Radeon HD 3450 >=A0 =A0 =A0 > Radeon RV710 [Radeon HD 4350] >=A0 =A0 =A0 > Radeon ES1000 >=A0 =A0 =A0 > ICH5 82865G >=A0 =A0 =A0 > ICH7 82G33/G31G >=A0 =A0 =A0 > ICH8 82Q963/Q965 >=A0 =A0 =A0 > Matrox G450 >=A0 =A0 =A0 > XGI Z7/Z9 (XG20 core) >=A0 =A0 =A0 > >=A0 =A0 =A0 > Testing was carried out using Fedora Core 13, Fedora Core 11= , and >=A0 =A0 =A0 Ubuntu >=A0 =A0 =A0 > Lucid 10.04 with the PVOPS kernel. >=A0 =A0 =A0 > >=A0 =A0 =A0 > The details are located at >=A0 =A0 =A0 [1]http://wiki.xensource.com/xenwiki/XenPVOPSDRM >=A0 =A0 =A0 > For the NVidia cards I backported the 2.6.34 nouvoua driver = in 2.6.32 >=A0 =A0 =A0 > and used that - it is pretty stable and even the experimenta= l Gallium >=A0 =A0 =A0 > drivers (3D) work well. >=A0 =A0 =A0 > >=20 >=A0 =A0 =A0 Hello, >=20 >=A0 =A0 =A0 I just tried the latest 2.6.32.19 kernel from xen/stable-2.6.3= 2.x >=A0 =A0 =A0 branch, >=A0 =A0 =A0 which now includes the kms.fixes-0.5, on my radeon/supermicro = testbox. >=20 >=A0 =A0 =A0 .. And KMS modesetting works properly now in Xen dom0! >=A0 =A0 =A0 My onboard ATI Radeon is the following: >=20 >=A0 =A0 =A0 # lspci -v | grep VGA >=A0 =A0 =A0 11:04.0 VGA compatible controller: ATI Technologies Inc ES1000= (rev 02) >=A0 =A0 =A0 (prog-if 00 [VGA controller]) >=20 >=A0 =A0 =A0 It seems also X starts OK, and I can use the Gnome desktop. >=A0 =A0 =A0 I could even run multiple OpenGL 3D applications! (ok, glxgear= s :) >=20 >=A0 =A0 =A0 Thanks, great work! >=20 >=A0 =A0 =A0 -- Pasi >=20 >=A0 =A0 =A0 _______________________________________________ >=A0 =A0 =A0 Xen-devel mailing list >=A0 =A0 =A0 [2]Xen-devel@lists.xensource.com >=A0 =A0 =A0 [3]http://lists.xensource.com/xen-devel >=20 > References >=20 >=A0 =A0 Visible links >=A0 =A0 1. http://wiki.xensource.com/xenwiki/XenPVOPSDRM >=A0 =A0 2. file:///mc/compose?to=3DXen-devel@lists.xensource.com >=A0 =A0 3. http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1938349854-1281956783=:78921 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
> Do you have "nomodeset" parameter for th= e dom0 kernel in grub.conf ?

No , i don't
However , setup KMS vi= a devices->staging drivers-> radeon by modesetting by default
i go= t

 [drm] Initialized drm 1.1.0 20060810
[drm] radeon defaul= ting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
= xen: registering gsi 16 triggering 0 polarity 1
xen_allocate_pirq: retur= ning irq 16 for gsi 16
xen: --> irq=3D16
Already setup the GSI :16=
radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16radeon 0000:01:00.0: setting latency timer to 64
[drm] radeon: Initial= izing kernel modesetting.
[drm] register mmio base: 0xFE8E0000
[drm] = register mmio size: 65536
ATOM BIOS: 11X
[drm] Clocks initialized !mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[drm] Detected VRAM RAM=3D256M, BAR=3D256M
[drm] RAM= width 128bits DDR
[TTM] Zone  kernel: Available graphics memory: 4= 073770 kiB.
[TTM] Zone   dma32: Available graphics memory: 209= 7152 kiB.
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M = of GTT memory ready.
[drm] Loading RV730 CP Microcode
platform radeon= _cp.0: firmware: requesting radeon/RV730_pfp.bin
r600_cp: Failed to load= firmware "radeon/RV730_pfp.bin"
[drm:rv770_init] *ERROR* Failed to load= firmware!
[drm:radeon_driver_load_kms] *ERROR* Fatal error while trying= to initialize radeon.

Boris.

--- On Mon, 8/16/10, Pasi K= =E4rkk=E4inen <pasik@iki.fi> wrote:

From: Pasi K=E4rkk=E4inen <pasik@iki.fi>
Subject: Re: = [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon= HD 4650]
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: xen-d= evel@lists.xensource.com, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.co= m>
Date: Monday, August 16, 2010, 6:45 AM

On Mon, Aug 16, 2010 at 03:40:19AM -0700, Boris Derzhavets wrote:
&= gt;    >.. And KMS modesetting works properly now in Xen dom0!=
>    My onboard ATI Radeon is the following:
>
&= gt;    > # lspci -v | grep VGA
>     = ;11:04.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)>    (prog-if 00   [VGA controller])
> <= br>>    Environment :  Xen 4.0.1-rc6 & 2.6.32.19 on t= op of F13 ( .config attached)
>
>    [root@fedora13 = ~]# lspci -v | grep VGA
>    01:00.0 VGA compatible control= ler: ATI Technologies Inc RV730 PRO [Radeon
>    HD 4650] (prog-if 00 [VGA controller])
>
>    KMS seem= s do be disabled. "NOPAT" removed from kernel line.
>    Is= it expected or i am  missing something ?
>
>   = ; Dmesg fragment :-
>
>    [drm] Initialized drm 1.1= .0 20060810
>    -> [drm] radeon defaulting to userspace= modesetting.

Do you have "nomodeset" parameter for the dom0 kernel = in grub.conf ?

-- PAsi

>    pci 0000:01:00.0: s= etting latency timer to 64
>    [drm] Initialized radeon 1.= 31.0 20080528 for 0000:01:00.0 on minor 0
>    mtrr: type m= ismatch for d0000000,10000000 old: write-back new:
>    wri= te-combining
>    mtrr: type mismatch for d0000000,10000000= old: write-back new:
>    write-combining
>  &n= bsp; mtrr: type mismatch for d0000000,10000000 old: write-back new:
>    write-combining
>    mtrr: type = mismatch for d0000000,10000000 old: write-back new:
>    wr= ite-combining
>    [drm] Setting GART location based on new= memory map
>    [drm] Loading RV730 CP Microcode
>&n= bsp;   platform r600_cp.0: firmware: requesting radeon/RV730_pfp.bin>    platform r600_cp.0: firmware: requesting radeon/RV730_m= e.bin
>    [drm] Resetting GPU
>    [drm] w= riteback test succeeded in 1 usecs
>
>    Boris.
= >
>    --- On Sun, 8/15/10, Pasi K=E4rkk=E4inen <pasi= k@iki.fi> wrote:
>
>      From: Pasi K= =E4rkk=E4inen <pasik@iki.fi>
>      Subject: = Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5
>   = ;   To: "Konrad Rzeszutek Wilk" <konrad.wilk@ora= cle.com>
>      Cc: "Jeremy Fitzhardinge" <<= a ymailto=3D"mailto:jeremy@goop.org" href=3D"/mc/compose?to=3Djeremy@goop.o= rg">jeremy@goop.org>,
>      xen-devel@lists.xensource.com
>     = ; Date: Sunday, August 15, 2010, 4:41 PM
>
>    &nbs= p; On Fri, Aug 06, 2010 at 10:06:09AM -0400, Konrad Rzeszutek Wilk wrote:>      >
>      > Some of th= em are marked as not for upstream consumption, while some of
>  =     > the other are OK (and Daniel's is upstream). Those patch= es from both
>      > branches make it possible to have Xo= rg working with the following
>      > graphics car= ds on the PVOPS kernel:
>      >
>  &nbs= p;   > RIVA TNT2 Pro
>      > GeForce 1 256=
>      > GeForce 4 Ti 4200
>    &n= bsp; > GeForce 6150
>      > GeForce 6200
>= ;      > GeForce 7300
>      > Ge= Force 8600 GT
>      > Radeon R100 QD (7200)
>= ;      > Radeon RV100QY (7000)
>     = ; > Radeon HD 3200
>      > Radeon HD 3450
&g= t;      > Radeon RV710 [Radeon HD 4350]
>  &nb= sp;   > Radeon ES1000
>      > ICH5 82865G<= br>>      > ICH7 82G33/G31G
>      > ICH8 82Q963/Q965
>      > Matro= x G450
>      > XGI Z7/Z9 (XG20 core)
> =     >
>      > Testing was carried ou= t using Fedora Core 13, Fedora Core 11, and
>      Ubu= ntu
>      > Lucid 10.04 with the PVOPS kernel.
= >      >
>      > The details = are located at
>      [1]http://wiki.xensource.com/xe= nwiki/XenPVOPSDRM
>      > For the NVidia cards= I backported the 2.6.34 nouvoua driver in 2.6.32
>    &nbs= p; > and used that - it is pretty stable and even the experimental Galli= um
>      > drivers (3D) work well.
>  &= nbsp;   >
>
>      Hello,
>
>      I just tried the latest 2.6.32.19 kernel from= xen/stable-2.6.32.x
>      branch,
>  &nbs= p;   which now includes the kms.fixes-0.5, on my radeon/supermicro tes= tbox.
>
>      .. And KMS modesetting works pro= perly now in Xen dom0!
>      My onboard ATI Radeon is= the following:
>
>      # lspci -v | grep VGA<= br>>      11:04.0 VGA compatible controller: ATI Technolo= gies Inc ES1000 (rev 02)
>      (prog-if 00 [VGA contr= oller])
>
>      It seems also X starts OK, and= I can use the Gnome desktop.
>      I could even run = multiple OpenGL 3D applications! (ok, glxgears :)
>
>  &n= bsp;   Thanks, great work!
>
>      -- Pas= i
>
>      _______________________________________________
>     = ; Xen-devel mailing list
>      [2]Xen-devel@lists.xensource.com
>     = [3]http= ://lists.xensource.com/xen-devel
>
> References
> >    Visible links
>    1. http://wiki.xens= ource.com/xenwiki/XenPVOPSDRM
>    2. file:///mc/compos= e?to=3DXen-devel@lists.xensource.com>    3. http://lists.xensource.com/xen-devel



=
_______________________________________________
Xen-devel mailing li= st
Xen-devel@lists.xensource.comhttp://= lists.xensource.com/xen-devel
<= br>=0A=0A=0A=0A=0A=0A=0A=0A --0-1938349854-1281956783=:78921-- --===============1801776659== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1801776659==--