Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 20:10:03 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
Cc:        Kip Macy <kip.macy@gmail.com>, freebsd-x11 <freebsd-x11@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: [HEADS UP] Radeon r6/7xx drm code to be committed
Message-ID:  <1236993003.1735.18.camel@balrog.2hip.net>
In-Reply-To: <49BAC3E6.2000605@mail.zedat.fu-berlin.de>
References:  <1236372641.1671.11.camel@balrog.2hip.net> <18869.10411.538031.500651@jerusalem.litteratus.org> <20090309170833.42069a98@ernst.jennejohn.org> <18869.16614.1547.140164@jerusalem.litteratus.org> <1236617617.1680.17.camel@balrog.2hip.net> <cbd5e83705df83da94ccf77e469e9e29.squirrel@cygnus.homeunix.com> <3c1674c90903091036q4585519aja68d7f9bcd350010@mail.gmail.com> <49B961B7.6020303@mail.zedat.fu-berlin.de> <3c1674c90903121400s10c517f3i9714272d20a4ddc2@mail.gmail.com> <49BA22CD.9030809@zedat.fu-berlin.de> <3c1674c90903130959s180da92cu5b91b2154b51fdfe@mail.gmail.com> <49BAC3E6.2000605@mail.zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-Ihh0BViHpkkPVI4ccgML
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2009-03-13 at 21:36 +0100, O. Hartmann wrote:
> Kip Macy wrote:
> > Are you using the radeonhd from git? I needed to use that to get it to =
work.
> >
> > -Kip
> >
> > On Fri, Mar 13, 2009 at 2:09 AM, O. Hartmann
> > <ohartman@zedat.fu-berlin.de> wrote:
> >  =20
> >> My private box is a UP FreeBSD 8.0-CURRENT/amd64 equipted with a MSI H=
D4830
> >> (RV770). On this machine with the most recent OS and the most recent
> >> xorg-7.4 compiled from the ports,
> >>
> >> Driver 'radeonhd'
> >>
> >> does not work, the tty does never show up login screen. It seems the d=
river
> >> does not recognise the GPU. Also on this box, enabling
> >>
> >> Option 'DRI'
> >>
> >> doesn't work. When getty tries to start xdm on the specific tty, Xserv=
er
> >> can't be started - there is a error message on console coming from [dr=
m],
> >> saying something about 'idle'. I never caught this.
> >>
> >> On my lab's box, a SMP FreeBSD 8.0-CURRENT/amd64 with the most recent
> >> xorg-7.4 as mentioned above, equippted with  a MSI HD4670 (RV730),
> >>
> >> Driver 'radeonhd'
> >>
> >> works, but shows up weird behaviour sometimes (crashing), so I switchd=
 to
> >>
> >> Driver 'radeon'.
> >>
> >> But also on this box, enabling
> >>
> >> Option 'DRI'
> >>
> >> does not let X come up.
> >>
> >> Either way, with radeonhd or radeon, ending a X session (I use windowm=
aker),
> >> seems crashing X and then locking up/crashing the whole box. Also very
> >> boring is the fact, that I can't swtch to the console via
> >>
> >> Ctrl-Alt-F{1-8}
> >>
> >> althought this is explicitely enabled in the config. I see 'nothing' b=
ut a
> >> black screen, the console is definitely changing, I can change back to=
 the X
> >> screen, but never to a console. This behaviour is both on FreeBSD 7.1-=
STABLE
> >> (most recent before I switched these days to 8.0-CURRENT on that box) =
and
> >> 8.0-CURRENT! I guess this is a serious issue in Xorg 7.4 and/or the Ra=
deon
> >> driver.
> >>
> >> It is also very surprising, that on the slower UP FreeBSD box with the
> >> faster GPU (RV770), X is much(!) faster than on the faster SMP FreeBSD=
 box
> >> with the slower GPU (RV730). On both systems DRI is not enabled and bo=
th
> >> boxes do not load modules 'drm' and 'radeon'.
> >>
> >> Kip Macy wrote:
> >>    =20
> >>> radeon locks up my system, use radeonhd
> >>>
> >>> On Thu, Mar 12, 2009 at 12:25 PM, O. Hartmann
> >>> <ohartman@mail.zedat.fu-berlin.de> wrote:
> >>>      =20
> >>>> Kip Macy wrote:
> >>>>        =20
> >>>>> I have an HD4850 and it works well. Unfortunately it is the one fro=
m
> >>>>> ASUS where only one port does dual-link.
> >>>>>
> >>>>> -Kip
> >>>>>
> >>>>> On Mon, Mar 9, 2009 at 10:27 AM, Nenhum_de_Nos
> >>>>> <matheus@eternamente.info> wrote:
> >>>>>
> >>>>>          =20
> >>>>>> On Mon, March 9, 2009 13:53, Robert Noland wrote:
> >>>>>>
> >>>>>>            =20
> >>>>>>> On Mon, 2009-03-09 at 12:16 -0400, Robert Huff wrote:
> >>>>>>>
> >>>>>>>              =20
> >>>>>>>> Gary Jennejohn writes:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>                =20
> >>>>>>>>>  > >  This should work on pretty much all Radeon r600+ cards (a=
nd
> >>>>>>>>> the
> >>>>>>>>>
> >>>>>>>>>                  =20
> >>>>>>>> older
> >>>>>>>>
> >>>>>>>>                =20
> >>>>>>>>>  > >  stuff as well).  With the appropriate X drivers, you shou=
ld
> >>>>>>>>> get
> >>>>>>>>>
> >>>>>>>>>                  =20
> >>>>>>>> EXA
> >>>>>>>>
> >>>>>>>>                =20
> >>>>>>>>>  > >  accelleration and Xv.  3d is not available yet, afaik.
> >>>>>>>>>  >
> >>>>>>>>>
> >>>>>>>>>  This is kernel code and has nothing directly to do with ports.
> >>>>>>>>>
> >>>>>>>>>                  =20
> >>>>>>>>     Let me be more specific.
> >>>>>>>>     Assuming I'm using a 3850, which I believe is the RV670
> >>>>>>>> chipset, is there anything I will need to change in xorg.conf (o=
r
> >>>>>>>> elsewhere) to take advantage of/not break the new code?
> >>>>>>>>
> >>>>>>>>                =20
> >>>>>>> rv670 is what I'm testing on... I tried to put a few details in t=
he
> >>>>>>> commit message.
> >>>>>>>
> >>>>>>> Basically, for R600+ you have to force DRI on for the moment.  Yo=
u
> >>>>>>> should also be using exa.
> >>>>>>>
> >>>>>>> So, right now, I'm using radeonhd from git master, with :
> >>>>>>>
> >>>>>>>        Driver      "radeonhd"
> >>>>>>>        VendorName  "ATI Technologies Inc"
> >>>>>>>        BoardName   "RV670PRO [Radeon HD 3850]"
> >>>>>>>        BusID       "PCI:1:0:0"
> >>>>>>>        Option      "DRI"
> >>>>>>>        Option      "AccelMethod" "EXA"
> >>>>>>>        Option      "Audio"
> >>>>>>> EndSection
> >>>>>>>
> >>>>>>> robert.
> >>>>>>>
> >>>>>>>
> >>>>>>>              =20
> >>>>>>>>                             Robert Huff
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>                =20
> >>>>>>> --
> >>>>>>> Robert Noland <rnoland@FreeBSD.org>
> >>>>>>> FreeBSD
> >>>>>>>
> >>>>>>>              =20
> >>>>>> I'm planning to move from nVidia to ATi, and all this work is what
> >>>>>> makes
> >>>>>> me do that. This code you're talking about, would benefit a HD4850=
 ?
> >>>>>>
> >>>>>> thanks,
> >>>>>>
> >>>>>> matheus
> >>>>>>
> >>>>>> --
> >>>>>> We will call you cygnus,
> >>>>>> The God of balance you shall be
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> freebsd-current@freebsd.org mailing list
> >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >>>>>> To unsubscribe, send any mail to
> >>>>>> "freebsd-current-unsubscribe@freebsd.org"
> >>>>>>
> >>>>>>
> >>>>>>            =20
> >>>>> _______________________________________________
> >>>>> freebsd-current@freebsd.org mailing list
> >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >>>>> To unsubscribe, send any mail to
> >>>>> "freebsd-current-unsubscribe@freebsd.org"
> >>>>>
> >>>>>          =20
> >>>> I use a MSI HD4830 on a UP FreeBSD 8.0-CURRENT/amd64 box with
> >>>>
> >>>> Driver   "radeon"
> >>>>
> >>>> from ports/xorg-7.4. Without EXA and DRI the graphics card works wel=
l,
> >>>> but when enabling EXA and/or DRI, system goes mustang. Ctrl-Alt-FX
> >>>> doesn't bring back a console, the tty is 'blinking' as it looks like=
 the
> >>>> X server tries to start and fails.
> >>>>
> >>>> On another box, running FreeBSD 8.0-CURRENT/amd64, but SMP and MSI
> >>>> HD4670, with EXA and DRI enabled the whole box crashes immediately w=
hen
> >>>> loading Xserver. Without EXA and DRI, leaving a windowmaker session =
and
> >>>> therefore ending the Xserver kills the box, the OS dies and coredump=
s or
> >>>> hangs forever with a tiled screen showing 3 rows of 6 columns of the
> >>>> console screen on a 20,1 inch TFT.
> >>>>
> >>>>        =20
> >>> _______________________________________________
> >>> freebsd-current@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd=
.org"
> >>>      =20
> >>
> >>    =20
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o=
rg"
> >  =20
>=20
>=20
> No, it is the driver taken from ports. I do not use drivers from the
> development tree aside the FreeBSD development tree, including ports.
>=20
> By the way, whenever I use 'radeon' on my lab's box (FreeBSD
> 8.0-CURRENT/amd64 SMP, Xorg 7.4), every reboot (shutdown -r or
> reboot(1)) crashes the system, leaving the box unusable (filesystem /var
> gets dirty and so the OpenLDAP server doesn't start anymore). This issue
> is due to the xorg-7.4-driver (radeon, radeonhd doesn't work as I said).
> The graphics card is a HD4670. Without xdm/Xorg started the box reboots
> clean. This also happened when this box ran FreeBSD 7.1-STABLE before
> the upgrade last week! With the new drm-code, DRI isn't usable as option
> anymore on all FreeBSD 8.0 boxes I have around here equipted with ATI
> HD4670/HD4830 cards. The situation is really nasty this moment.

If you aren't explicity loading the drm, then it is totally unrelated.
None of the current radeon ddx drivers will automatically load the drm
driver on r600+ hardware.

robert.

>=20
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-Ihh0BViHpkkPVI4ccgML
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAkm7A+sACgkQM4TrQ4qfROMAaACfUgW4/ls2y1PBoDptV4HTTzZU
PiAAn1UzYhPO8rOgr/k675T1WpjovmSB
=7cUH
-----END PGP SIGNATURE-----

--=-Ihh0BViHpkkPVI4ccgML--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1236993003.1735.18.camel>