Skip to contentSkip to conversation

devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]

GIT PULL Boris Derzhavets 3 participants 10 messages Aug 16, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

.. And KMS modesetting works properly now in Xen dom0!

My onboard ATI Radeon is the following:

Quoted 1 line
# 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.
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 <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5
To: "Konrad Rzeszutek Wilk" <[email protected]>
Cc: "Jeremy Fitzhardinge" <[email protected]>, [email protected]
Date: Sunday, August 15, 2010, 4:41 PM

Quoted 25 lines · Konrad Rzeszutek Wilk

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)

Quoted 8 lines

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 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
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 13 lines · Boris Derzhavets
Quoted 1 line

.. And KMS modesetting works properly now in Xen dom0!

My onboard ATI Radeon is the following:

Quoted 1 line
# 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])

Quoted 7 lines

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

Quoted 96 lines

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 <[email protected]> wrote:

     From: Pasi Kärkkäinen <[email protected]>
     Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5
     To: "Konrad Rzeszutek Wilk" <[email protected]>
     Cc: "Jeremy Fitzhardinge" <[email protected]>,
     [email protected]
     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][email protected]
     [3]http://lists.xensource.com/xen-devel

References

Visible links
1. http://wiki.xensource.com/xenwiki/XenPVOPSDRM
2. file:///mc/[email protected]
3. http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 1 line

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 <[email protected]> wrote:

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

Quoted 13 lines · Boris Derzhavets

    >.. 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])

Quoted 7 lines

    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

Quoted 90 lines

    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 <[email protected]> wrote:

      From: Pasi Kärkkäinen <[email protected]>
      Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5
      To: "Konrad Rzeszutek Wilk" <[email protected]>
      Cc: "Jeremy Fitzhardinge" <[email protected]>, [email protected]
      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][email protected]
      [3]http://lists.xensource.com/xen-devel

Quoted 6 lines

References

    Visible links
    1. http://wiki.xensource.com/xenwiki/XenPVOPSDRM
    2. file:///mc/[email protected]
    3. http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 27 lines · Boris Derzhavets
Quoted 1 line

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.

Quoted 9 lines

[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.

So you're missing the firmware file.

-- Pasi

Quoted 171 lines

Boris.

--- On Mon, 8/16/10, Pasi Kärkkäinen <[email protected]> wrote:

     From: Pasi Kärkkäinen <[email protected]>
     Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on
     RV730 PRO [Radeon HD 4650]
     To: "Boris Derzhavets" <[email protected]>
     Cc: [email protected], "Konrad Rzeszutek Wilk"
     <[email protected]>
     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 <[1][email protected]> wrote:
     >
     >      From: Pasi Kärkkäinen <[2][email protected]>
     >      Subject: Re: [Xen-devel] [GIT PULL] devel/pat +
     devel/kms.fixes-0.5
     >      To: "Konrad Rzeszutek Wilk" <[3][email protected]>
     >      Cc: "Jeremy Fitzhardinge" <[4][email protected]>,
     >      [5][email protected]
     >      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][6]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][7][email protected]
     >      [3][8]http://lists.xensource.com/xen-devel
     >
     > References
     >
     >    Visible links
     >    1. [9]http://wiki.xensource.com/xenwiki/XenPVOPSDRM
     >    2. file:///mc/compose?to=[10][email protected]
     >    3. [11]http://lists.xensource.com/xen-devel

     _______________________________________________
     Xen-devel mailing list
     [12][email protected]
     [13]http://lists.xensource.com/xen-devel

References

Visible links
1. file:///mc/[email protected]
2. file:///mc/[email protected]
3. file:///mc/[email protected]
4. file:///mc/[email protected]
5. file:///mc/[email protected]
6. http://wiki.xensource.com/xenwiki/XenPVOPSDRM
7. file:///mc/[email protected]
8. http://lists.xensource.com/xen-devel
9. http://wiki.xensource.com/xenwiki/XenPVOPSDRM
10. file:///mc/[email protected]
11. http://lists.xensource.com/xen-devel
12. file:///mc/[email protected]
13. http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 8 lines
Quoted 6 lines

    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.

So you're missing the firmware file.

Not , it's in place:-

[root@fedora13 linux-2.6-xen]# find . -name RV730_pfp.bin -print

./firmware/radeon/RV730_pfp.bin

Boris.

--- On Mon, 8/16/10, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected], "Konrad Rzeszutek Wilk" <[email protected]>
Date: Monday, August 16, 2010, 7:22 AM

Quoted 27 lines · Boris Derzhavets

    > 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.

Quoted 9 lines

    [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.

So you're missing the firmware file.

-- Pasi

Quoted 157 lines

    Boris.

    --- On Mon, 8/16/10, Pasi Kärkkäinen <[email protected]> wrote:

      From: Pasi Kärkkäinen <[email protected]>
      Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
      To: "Boris Derzhavets" <[email protected]>
      Cc: [email protected], "Konrad Rzeszutek Wilk" <[email protected]>
      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 <[1][email protected]> wrote:
      >
      >      From: Pasi Kärkkäinen <[2][email protected]>
      >      Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5
      >      To: "Konrad Rzeszutek Wilk" <[3][email protected]> >      Cc: "Jeremy Fitzhardinge" <[4][email protected]>,
      >      [5][email protected]
      >      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][6]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][7][email protected]
      >      [3][8]http://lists.xensource.com/xen-devel
      >
      > References
      >
      >    Visible links
      >    1. [9]http://wiki.xensource.com/xenwiki/XenPVOPSDRM
      >    2. file:///mc/compose?to=[10][email protected] >    3. [11]http://lists.xensource.com/xen-devel

      _______________________________________________
      Xen-devel mailing list
      [12][email protected]
      [13]http://lists.xensource.com/xen-devel

References

Quoted 14 lines

    Visible links
    1. file:///mc/[email protected]
    2. file:///mc/[email protected]
    3. file:///mc/[email protected]
    4. file:///mc/[email protected]
    5. file:///mc/[email protected]
    6. http://wiki.xensource.com/xenwiki/XenPVOPSDRM
    7. file:///mc/[email protected]
    8. http://lists.xensource.com/xen-devel
    9. http://wiki.xensource.com/xenwiki/XenPVOPSDRM
   10. file:///mc/[email protected]
   11. http://lists.xensource.com/xen-devel
   12. file:///mc/[email protected]
   13. http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
Quoted 10 lines · Boris Derzhavets
Quoted 8 lines
Quoted 6 lines

    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.

So you're missing the firmware file.

Not , it's in place:-

Is it on the initrd/initramfs image? You might need to rerun dracut to include it in.

Quoted 6 lines

[root@fedora13 linux-2.6-xen]# find . -name RV730_pfp.bin -print

./firmware/radeon/RV730_pfp.bin

Boris.

#6 lore raw

I did run dracut and created

   # dracut -f /boot/initramfs-2.6.32.19.img 2.6.32.19

  -rw-r--r--  1 root root 79503576 Aug 16 16:25 initramfs-2.6.32.19.img

significantly longer (x2) then after automatically created after

  # make modules_install install 
reported errors missing radeon modules.

Boris.

--- On Mon, 8/16/10, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <[email protected]>
Cc: "Pasi Kärkkäinen" <[email protected]>, [email protected]
Date: Monday, August 16, 2010, 10:14 AM

Quoted 10 lines · Boris Derzhavets
Quoted 8 lines
Quoted 6 lines

    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.

So you're missing the firmware file.

Not , it's in place:-

Is it on the initrd/initramfs image? You might need to rerun dracut to include it in.

Quoted 6 lines

[root@fedora13 linux-2.6-xen]# find . -name RV730_pfp.bin -print

./firmware/radeon/RV730_pfp.bin

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
Quoted 8 lines · Boris Derzhavets

I did run dracut and created

   # dracut -f /boot/initramfs-2.6.32.19.img 2.6.32.19

  -rw-r--r--  1 root root 79503576 Aug 16 16:25 initramfs-2.6.32.19.img

significantly longer (x2) then after automatically created after

  # make modules_install install 
reported errors missing radeon modules.

OK, so if you rebuild your kernel and make CONFIG_DRM_RADEON=m and re-run dracut does it work?

#8 lore raw

It hanged during loading Dom0 for 1-1.5 min trying to load module and went ahead. Dmesg reports error to initialize KMS.

Boris.

--- On Mon, 8/16/10, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected]
Date: Monday, August 16, 2010, 1:07 PM

Quoted 8 lines · Boris Derzhavets

I did run dracut and created

   # dracut -f /boot/initramfs-2.6.32.19.img 2.6.32.19

  -rw-r--r--  1 root root 79503576 Aug 16 16:25 initramfs-2.6.32.19.img

significantly longer (x2) then after automatically created after

  # make modules_install install 
reported errors missing radeon modules.

OK, so if you rebuild your kernel and make CONFIG_DRM_RADEON=m and re-run dracut does it work?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw
Quoted 2 lines · Boris Derzhavets

It hanged during loading Dom0 for 1-1.5 min trying to load module and went ahead. Dmesg reports error to initialize KMS.

Can you provide the serial output? Is the error the same as you reported before (were it could not load the firmware code?)

Can you try fiddling with the dracut options to force it include the proper firmware bits?

Quoted 37 lines

Boris.

--- On Mon, 8/16/10, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected]
Date: Monday, August 16, 2010, 1:07 PM

Quoted 8 lines · Boris Derzhavets

I did run dracut and created

   # dracut -f /boot/initramfs-2.6.32.19.img 2.6.32.19

  -rw-r--r--  1 root root 79503576 Aug 16 16:25 initramfs-2.6.32.19.img

significantly longer (x2) then after automatically created after

  # make modules_install install 
reported errors missing radeon modules.

OK, so if you rebuild your kernel and make CONFIG_DRM_RADEON=m and re-run dracut does it work?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel