Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 12:45:38 +0200
From:      Niclas Zeising <zeising@freebsd.org>
To:        Andrea Venturoli <ml@netfence.it>, x11@FreeBSD.org
Subject:   Re: Users of x11-drivers/xf86-video-ati-legacy
Message-ID:  <dc23b150-39c1-f875-2ee1-d38c919f498d@freebsd.org>
In-Reply-To: <0c34355a-9f91-a966-7e46-aefcd2806fbd@netfence.it>
References:  <ef0ba8bc-e029-1918-5747-941fd9a3f2ae@freebsd.org> <16c93a1a-cc60-b9a5-da48-889f48aa6005@netfence.it> <d1133d52-0edd-aeae-afc0-32c4339c99b0@netfence.it> <c36ed3ba-1aad-ad70-1f90-1fa1f9370b59@netfence.it> <9352b468-9f09-ad30-0b9e-acd896cadb17@freebsd.org> <0c34355a-9f91-a966-7e46-aefcd2806fbd@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-04-13 11:42, Andrea Venturoli wrote:
> On 2020-04-13 09:29, Niclas Zeising wrote:
>=20
>> Thank you for helping out and testing, unfortunately there is not much=
=20
>> to do if it does not work.
>=20
> Thanks to you.
>=20
>=20
>=20
>> I don't have the time or hardware to get an older xf86-video-ati to=20
>> maybe build with xserver 1.20.
>=20
> I'm now back to xserver 1.19.
> I can easily switch back and forth, so if you want me to do some test,=20
> just ask.
> In fact, I'd be interested in making this work, but I need some=20
> guidance; I can use gdb & Co, but I know almost nothing of X internals.

I don't know exactly what makes xf86-video-ati-legacy crash, but if you=20
want to get it working, I think that the best course of action is to=20
move it back to 7.9, and then try to backport just as much as needed to=20
get it to compile with xserver 1.20, but still work on drm-legacy-kmod.=20
That's what I tried to do, but unfortunately I probably brought back too=20
much, which caused it to break.
>=20
>=20
>=20
>> The reason xf86-video-ati-legacy works with drm-fbsd12.0-kmod is that=20
>> the updated kmod uses newer APIs etc.
>=20
> You mean the reason *it doesn't* work?

Yes, of course.  Sorry about that.
>=20
>=20
>=20
>> =C2=A0 At one point, xf86-video-ati was updated to make these work, an=
d=20
>> when we updated xf86-video-ati in ports to the latest version to get=20
>> support for more modern hardware,we had to create=20
>> xf86-video-ati-legacy for use with drm-legacy-kmod.=C2=A0 This was alw=
ays=20
>> one of those stop-gap measures.
>=20
> Ok.
> Problem is xf86-video-ati-legacy + drm-kmod-legacy works no more with=20
> Xorg 1.20.
> And, more relevantly, on my HD4250 drm-12-kmod only works partially.
> And, even with those limiations, X often hangs.
>=20
> Strange, because I also have a HD4200 which used to work prefectly with=
=20
> non-legacy; I had to switch to legacy when I moved to HD4250.
> They should be almost the same card, just with different clocks.

Graphics cards, even in the same series, can be quite different,=20
unfortunately.  This is one of the reasons this work is so hard, because=20
even if one adapter in a family works, it does not mean all of them does.
Looking quickly at wikipedia [1], it looks like the HD4200 card uses the=20
785G chipset, but HD4250 uses 880G (a generation later, as I understand=20
it), meaning they are probably quite different.  Yes, this is super=20
confusing.

[1] https://en.wikipedia.org/wiki/Radeon_HD_4000_series#IGP_(HD_4000)

Regards
--=20
Niclas Zeising



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dc23b150-39c1-f875-2ee1-d38c919f498d>