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] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Mon, 16 Aug 2010 04:06:23 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Mon, 16 Aug 2010 04:08:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281956783; bh=yx0heG+r2yCRPVyIN09gAFEIOozzd3J/sqisuY4gGVY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=awF2wWAKQFM8SV3/uXzTcvC36ngahKt3P/Mv35OF3Sa0OR5OEjFpudc1S9JiXrRcBJtxNW8Mxl+hJ/dfOREYSjCOnrw3qrfWE/7EfUH0N1swQC+TLrUI3zKxTBisaAX0AGvLOo/cvWpdHh6KaO7WMsL0cjmS032gH82U6GGr+zk=
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=ZkBlyrHgXEne9HRBZFWFWn9BA6C7+UvdJdef8/LId2IgOItZ80JxGUPiLzHbfzv+g2Wobm5neUgbEFSRj+6JjIoi3MzaAn9zySAwycl5D1UX+haUn+RGi42zpnR0V2z9ryl5x0UexukKB8p69RA15SXs2hGe4dECso/vre+TZmE=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100816104508.GE2804@xxxxxxxxxxx>
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
> Do you have "nomodeset" parameter for the dom0 kernel in grub.conf ?

No , i don't
However , setup KMS via devices->staging drivers-> radeon by modesetting by default
i got

 [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=16
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=256M, BAR=256M
[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.

Boris.

--- On Mon, 8/16/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:

From: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
Date: Monday, August 16, 2010, 6:45 AM

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 ES1000 (rev 02)
>    (prog-if 00   [VGA controller])
>
>    Environment :  Xen 4.0.1-rc6 & 2.6.32.19 on top of F13 ( .config 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.

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

-- PAsi

>    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ärkkäinen <pasik@xxxxxx> wrote:
>
>      From: Pasi Kärkkäinen <pasik@xxxxxx>
>      Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5
>      To: "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
>      Cc: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>,
>      xen-devel@xxxxxxxxxxxxxxxxxxx
>      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 patches 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]http://wiki.xensource.com/xenwiki/XenPVOPSDRM
>      > For the NVidia cards I backported the 2.6.34 nouvoua driver in 2.6.32
>      > and used that - it is pretty stable and even the experimental 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/supermicro 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 ES1000 (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, glxgears :)
>
>      Thanks, great work!
>
>      -- Pasi
>
>      _______________________________________________
>      Xen-devel mailing list
>      [2]Xen-devel@xxxxxxxxxxxxxxxxxxx
>      [3]http://lists.xensource.com/xen-devel
>
> References
>
>    Visible links
>    1. http://wiki.xensource.com/xenwiki/XenPVOPSDRM
>    2. file:///mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx
>    3. http://lists.xensource.com/xen-devel




_______________________________________________
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