Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2005 18:39:08 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-stable@freebsd.org
Cc:        Pete French <petefrench@ticketswitch.com>
Subject:   Re: 4.11 + Xorg mga/dri problem
Message-ID:  <20050117173908.GA57956@slackbox.xs4all.nl>
In-Reply-To: <E1CqaUW-000IcA-NH@dilbert.firstcallgroup.co.uk>
References:  <E1CqaUW-000IcA-NH@dilbert.firstcallgroup.co.uk>

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

--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 17, 2005 at 05:16:36PM +0000, Pete French wrote:
> Just giving 4.11 a whirl. Thought I would try and get dri working
> with my mga card. It's never worked in the past, so I am not too
> worried that it doesnt work now.

What hardware are you on? The radeon driver had 64-bit issues on
amd64. Maybe Matrox has a similar problem?

> drm3: <Matrox G400/G450 (AGP)> mem 0xfb800000-0xfbffffff,0xfdef0000-0xfde=
f3fff,0xf2000000-0xf3ffffff irq 14 at device 12.0 on pci6
> info: [drm] AGP at 0xf0000000 32MB
> info: [drm] Initialized mga 3.1.0 20021029 on minor 3
>
> So that looks very good. It was not doing this before, so I thought
> this might enable me to get it working with Xorg (6.8.1_2 - cvsup this
> morning).

The kernel side looks good.
=20
> But I I include the "dri" options in my xorg.conf file, I get a black
> screen which a while 'X' cursor which moves with the mouse, but noithing
> else. X cannot be killed either and so I have to resort to rebooting
> the machine!
>=20
> So near and yet so far... any suggestions ?

Not only do you have to enable the "dri" option, you should also have a
DRI section, like:

Section "DRI"
        Mode    0666
EndSection

in your xorg.conf.

Do the /dev/dri/card* devices actually exist?

Have a look at  /var/log/Xorg.0.log, and see what it says about
dri/drm. Look for things like "drmOpenDevice", "[drm]" and "[dri]", and
for the string "direct rendering". If it says "direct rendering
enabled", then dri works.

Roland
--=20
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB6/g8EnfvsMMhpyURAg4GAJ9xH6/DVJu741otzCns8M+zTpOTAACfcnGi
fUJzOod0ysjSp5t6phvePpA=
=lBK5
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--



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