From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] Date: Mon, 16 Aug 2010 14:22:06 +0300 Message-ID: <20100816112206.GI2804@reaktio.net> References: <20100816104508.GE2804@reaktio.net> <886104.78921.qm@web56101.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <886104.78921.qm@web56101.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Boris Derzhavets Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Mon, Aug 16, 2010 at 04:06:23AM -0700, Boris Derzhavets wrote: > > 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 modeset= ting > by default > i got >=20 > [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-combining > [drm] Detected VRAM RAM=3D256M, BAR=3D256M > [drm] RAM width 128bits DDR > [TTM] Zone kernel: Available graphics memory: 4073770 kiB. > [TTM] Zone 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. >=20 So you're missing the firmware file.=20 -- Pasi > Boris. >=20 > --- On Mon, 8/16/10, Pasi K=E4rkk=E4inen wrote: >=20 > From: Pasi K=E4rkk=E4inen > Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.= 5 on > RV730 PRO [Radeon HD 4650] > To: "Boris Derzhavets" > Cc: xen-devel@lists.xensource.com, "Konrad Rzeszutek Wilk" > > Date: Monday, August 16, 2010, 6:45 AM >=20 > On Mon, Aug 16, 2010 at 03:40:19AM -0700, Boris Derzhavets wrote: > > >.. And KMS modesetting works properly now in Xen dom0! > > My onboard ATI Radeon is the following: > > > > > # lspci -v | grep VGA > > 11:04.0 VGA compatible controller: ATI Technologies Inc ES10= 00 > (rev 02) > > (prog-if 00 [VGA controller]) > > > > Environment : Xen 4.0.1-rc6 & 2.6.32.19 on top of F13 ( .con= fig > attached) > > > > [root@fedora13 ~]# lspci -v | grep VGA > > 01:00.0 VGA compatible controller: ATI Technologies Inc RV730= PRO > [Radeon > > HD 4650] (prog-if 00 [VGA controller]) > > > > KMS seems 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. >=20 > Do you have "nomodeset" parameter for the dom0 kernel in grub.conf= ? >=20 > -- PAsi >=20 > > pci 0000:01:00.0: setting latency timer to 64 > > [drm] Initialized radeon 1.31.0 20080528 for 0000:01:00.0 on = minor > 0 > > mtrr: type mismatch for d0000000,10000000 old: write-back new= : > > write-combining > > mtrr: type mismatch for d0000000,10000000 old: write-back new= : > > write-combining > > mtrr: type mismatch for d0000000,10000000 old: write-back new= : > > write-combining > > mtrr: type mismatch for d0000000,10000000 old: write-back new= : > > write-combining > > [drm] Setting GART location based on new memory map > > [drm] Loading RV730 CP Microcode > > platform r600_cp.0: firmware: requesting radeon/RV730_pfp.bin > > platform r600_cp.0: firmware: requesting radeon/RV730_me.bin > > [drm] Resetting GPU > > [drm] writeback test succeeded in 1 usecs > > > > Boris. > > > > --- On Sun, 8/15/10, Pasi K=E4rkk=E4inen <[1]pasik@iki.fi> wr= ote: > > > > From: Pasi K=E4rkk=E4inen <[2]pasik@iki.fi> > > Subject: Re: [Xen-devel] [GIT PULL] devel/pat + > devel/kms.fixes-0.5 > > To: "Konrad Rzeszutek Wilk" <[3]konrad.wilk@oracle.com> > > Cc: "Jeremy Fitzhardinge" <[4]jeremy@goop.org>, > > [5]xen-devel@lists.xensource.com > > Date: Sunday, August 15, 2010, 4:41 PM > > > > On Fri, Aug 06, 2010 at 10:06:09AM -0400, Konrad Rzeszutek = Wilk > wrote: > > > > > > Some of them are marked as not for upstream consumption, = while > some of > > > the other are OK (and Daniel's is upstream). Those patche= s from > both > > > branches make it possible to have Xorg working with the > following > > > graphics cards on the PVOPS kernel: > > > > > > RIVA TNT2 Pro > > > GeForce 1 256 > > > GeForce 4 Ti 4200 > > > GeForce 6150 > > > GeForce 6200 > > > GeForce 7300 > > > GeForce 8600 GT > > > Radeon R100 QD (7200) > > > Radeon RV100QY (7000) > > > Radeon HD 3200 > > > Radeon HD 3450 > > > Radeon RV710 [Radeon HD 4350] > > > Radeon ES1000 > > > ICH5 82865G > > > ICH7 82G33/G31G > > > ICH8 82Q963/Q965 > > > Matrox G450 > > > XGI Z7/Z9 (XG20 core) > > > > > > Testing was carried out using Fedora Core 13, Fedora Core= 11, > and > > Ubuntu > > > Lucid 10.04 with the PVOPS kernel. > > > > > > The details are located at > > [1][6]http://wiki.xensource.com/xenwiki/XenPVOPSDRM > > > For the NVidia cards I backported the 2.6.34 nouvoua driv= er in > 2.6.32 > > > and used that - it is pretty stable and even the experime= ntal > Gallium > > > drivers (3D) work well. > > > > > > > Hello, > > > > I just tried the latest 2.6.32.19 kernel from xen/stable-2.= 6.32.x > > branch, > > which now includes the kms.fixes-0.5, on my radeon/supermic= ro > testbox. > > > > .. And KMS modesetting works properly now in Xen dom0! > > My onboard ATI Radeon is the following: > > > > # lspci -v | grep VGA > > 11:04.0 VGA compatible controller: ATI Technologies Inc ES1= 000 > (rev 02) > > (prog-if 00 [VGA controller]) > > > > It seems also X starts OK, and I can use the Gnome desktop. > > I could even run multiple OpenGL 3D applications! (ok, glxg= ears > :) > > > > Thanks, great work! > > > > -- Pasi > > > > _______________________________________________ > > Xen-devel mailing list > > [2][7]Xen-devel@lists.xensource.com > > [3][8]http://lists.xensource.com/xen-devel > > > > References > > > > Visible links > > 1. [9]http://wiki.xensource.com/xenwiki/XenPVOPSDRM > > 2. file:///mc/compose?to=3D[10]Xen-devel@lists.xensource.com > > 3. [11]http://lists.xensource.com/xen-devel >=20 > _______________________________________________ > Xen-devel mailing list > [12]Xen-devel@lists.xensource.com > [13]http://lists.xensource.com/xen-devel >=20 > References >=20 > Visible links > 1. file:///mc/compose?to=3Dpasik@iki.fi > 2. file:///mc/compose?to=3Dpasik@iki.fi > 3. file:///mc/compose?to=3Dkonrad.wilk@oracle.com > 4. file:///mc/compose?to=3Djeremy@goop.org > 5. file:///mc/compose?to=3Dxen-devel@lists.xensource.com > 6. http://wiki.xensource.com/xenwiki/XenPVOPSDRM > 7. file:///mc/compose?to=3DXen-devel@lists.xensource.com > 8. http://lists.xensource.com/xen-devel > 9. http://wiki.xensource.com/xenwiki/XenPVOPSDRM > 10. file:///mc/compose?to=3DXen-devel@lists.xensource.com > 11. http://lists.xensource.com/xen-devel > 12. file:///mc/compose?to=3DXen-devel@lists.xensource.com > 13. http://lists.xensource.com/xen-devel