Date: 15 Jul 2002 23:05:46 -0500 From: Derek Musselmann <musselma@tconl.com> To: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: XFree86 DRI and DRM Message-ID: <1026792347.337.9.camel@disflux.dhs.org>
next in thread | raw e-mail | index | archive | help
First off, I don't know if I am posting to the right list or not.
Well, I have been playing around trying to get DRI and DRM working with
FreeBSD. I can successfully get native binaries working. However, I am
having problems with running a Linux GL application (quake 3). As soon
as it started my box would *ALMOST* lockup. (I could move the mouse but
couldn't do anything else.)
I asked some questions and was told to checkout the latest CVS version
of XFree86.
I CVSup'ed the latest version and proceeded to build. However, after a
successful build, DRM is not working even natively. I have tried
several different things but to no avail. The DRM kernel module is
being loaded on boot:
info: [drm] Checking PCI vendor=4098, device=20825
drm0: <ATI Radeon VE> port 0x2000-0x20ff mem
0xe8100000-0xe810ffff,0xf0000000-0xf7ffffff irq 10 at device 5.0 on pci1
info: [drm] AGP at 0xec000000 64MB
info: [drm] Initialized radeon 1.1.1 20010405 on minor 0
My /var/log/XFree86.0.log is showing that it is loading the dri/drm
modules:
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
ABI class: XFree86 XInput driver, version 0.3
(II) ATI: ATI driver (version 6.4.13) for chipsets: ati, ativga
(II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
However, there are supposed to be [drm] entries in the log. I see none
of these and yet there are no errors. The consequence? No DRI, as
evidenced by glxinfo:
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.2
If I install X 4.2.0 from the ports, DRI/DRM works fine.
Any suggestions?
I am running 4.6-STABLE with a radeon 7000 AGP 64MB.
TIA,
Derek Musselmann
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1026792347.337.9.camel>
