Heads-up: Direct Rendering Infrastructure (DRI) Integration


Date: Mon, 30 Oct 2006 10:09:40 +0800
From: Daniel Zhu <Daniel.Zhu at Sun dot COM>
To: on-all at Sun dot COM, onnv-gate at onnv dot eng dot sun dot com, nv-users at Sun dot COM,
Subject: Heads-up: Direct Rendering Infrastructure (DRI) Integration

With the putback of:

PSARC 2004/801 DRI porting
6418052 Direct Rendering Infrastructure (DRI) should be supported by Xorg

into the X consolidation,

and the previous putback into ON:

PSARC 2004/801 DRI porting
6462353 Direct Rendering Infrastructure (DRI) should be supported by Solaris

the Direct Rendering Infrastructure (DRI)* is now available under Solaris on
supported hardware (i845/i855/i865/i915). That means you can enjoy the high
performance of big 3D applications including Looking Glass and Quake2 games
from now on :)

DRI support for more graphics chipsets and cards (such as i945/i965, ATI
etc.)
will be ported/developed using this framework in the near future. Please
note
that NVIDIA provides its own proprietary 3D driver similar but incompatible
with DRI.

Here are the steps to enable DRI on your machine:
+ fresh install Solaris Nevada b52+ (or b51 + upgrade-Xorg from
xserver.sfbay)
+ if you are using bfu, please notice there is a bug 6487072 related with
  /etc/devloginperm conflict resolving
+ double check both the kernel driver and userland driver installed (by
  checking /etc/driver_aliases for i915 entries and the existence of
  /usr/X11/lib/modules/dri/i915_dri.so)
+ Re-generate xorg.conf:
   # /usr/X11/bin/Xorg -configure
   # mv xorg.conf.new /etc/X11/xorg.conf
   (make sure xorg.conf should 2 lines:
        Load "dri"
        Load "drm"
   in Section "Module")
+ We strongly suggest your run DRI on machines with 1GB+ RAM, if you really
  need to try it with less memory, please use the workaround below before
  starting Xorg:
  # prctl -i project -n project.max-device-locked-memory -t privileged -x 0
  # prctl -i project -n project.max-device-locked-memory -t privileged
-s -v \
    60M 0
  # prctl -i project -n project.max-device-locked-memory -t privileged -x 1
  # prctl -i project -n project.max-device-locked-memory -t privileged
-s -v \
    60M 1
+ run glxinfo |grep direct, which should print "direct rendering: Yes"
+ Enjoy it (Quake2 download location (77M):
/net/greatwall.prc/users/kz151634/quake2-dri-demo.tgz)!

The related cat/subcats are as follows:

xserver/dri_drm: userland libraries and modules of DRI
solaris/graphics/drm: kernel drivers and misc module (drm) of DRI
solaris/graphics/videox86: vgatext, agpmaster and gfx_private, generic
graphics
driver and misc modules on x86

* For those who are not familiar with DRI, DRI is a software
architecture for
coordinating OS kernel, X window system, 3D graphics hardware and
OpenGL-based
client applications to provide 3D acceleration support for graphics
hardware.

last modified by alanbur on 2009/11/20 23:47
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.