public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ghaith Hachem <blacksadness@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] 3d rendering with dri radeon
Date: Fri, 17 Feb 2006 13:20:36 +0200	[thread overview]
Message-ID: <4bf052bf0602170320v14599c40qbf2aab3bc4cb13c2@mail.gmail.com> (raw)
In-Reply-To: <200602171203.22279.bo.andresen@gmail.com>

havn't tried it since i have a newer unspoorted ship (X300SE)
but try this guide here
http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers

On 2/17/06, Bo Andresen <bo.andresen@gmail.com> wrote:
> I have a laptop with a ATI Radeon 9000 Mobility graphics card. I wanted to get
> 3d rendering working with the free dri drivers so I followed this howto:
> http://www.gentoolinux.org/doc/en/dri-howto.xml
>
> But it does not work:
> ~# glxinfo | grep rendering
> direct rendering: No
>
> Below is listed everything that I think might be relevant. I hope someone has
> an idea. What I notice in particular is these two lines
> from /var/log/Xorg.0.log:
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
>
> ===========================================
> ~# lspci | grep AGP
> 00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev
> 03)
> ===========================================
> ~#cat /boot/config
> ...
> CONFIG_MTRR=y
> ...
> CONFIG_AGP=m
> CONFIG_AGP_INTEL=m
> ...
> # CONFIG_DRM is not set
> ...
> ===========================================
> ~# emerge -vp xorg-x11 x11-drm
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [ebuild   R   ] x11-base/xorg-x11-6.8.2-r6  USE="bitmap-fonts ipv6 nls opengl
> pam sse truetype-fonts type1-fonts xprint xv dfx -3dnow -cjk -debug -dlloader
> -dmx -doc -font-server -insecure-drivers -minimal -mmx -nocxx -sdk -static" 0
> kB
> [ebuild   R   ] x11-base/x11-drm-20050502  0 kB
> ===========================================
> ~# cat /etc/X11/xorg.conf | grep -v ^#
> Section "Module"
>    Load        "synaptics"
>    Load        "dbe"
>    SubSection  "extmod"
>       Option    "omit xfree86-dga"
>    EndSubSection
>    Load        "type1"
>    Load        "freetype"
>    Load       "dri"
>    Load       "glx"
> EndSection
>
> Section "Files"
>    ....
> EndSection
>
> Section "InputDevice"
>    Identifier  "Keyboard1"
>    ....
> EndSection
>
> Section "InputDevice"
>    Identifier      "Touchpad"
>    ...
> EndSection
>
> Section "InputDevice"
>    Identifier  "External Mouse"
>    ...
> EndSection
>
> Section "Monitor"
>     Identifier  "AcerMonitor"
>     HorizSync   31.5-57.0
>     VertRefresh 50-70
> EndSection
>
> Section "Device"
>     Identifier  "Ati Radeon 9000 Mobility"
>     Driver      "radeon"
>     Option      "AGPMode" "4"
>     Option      "AGPFastWrite" "True"
>     Option      "EnablePageFlip" "True"
> EndSection
>
> Section "Screen"
>    Identifier  "Screen 1"
>    Device      "Ati Radeon 9000 Mobility"
>    Monitor     "AcerMonitor"
>    DefaultDepth 24
>    Subsection "Display"
>    ...
>    Subsection "Display"
>       Depth       24
>       Modes       "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
>       ViewPort    0 0
>    EndSubsection
> EndSection
>
> Section "ServerLayout"
>    Identifier  "Simple Layout"
>    Screen "Screen 1"
>    InputDevice "Touchpad" "Corepointer"
>    InputDevice "External Mouse" "SendCoreEvents"
>    InputDevice "Keyboard1" "CoreKeyboard"
> EndSection
>
> Section "DRI"
>    Mode 0666
> EndSection
> ===========================================
> ~# cat /etc/modules.autoload.d/kernel-2.6
> ...
> intel-agp
> ...
> drm
> ===========================================
> ~# lsmod | grep 'drm\|agp'
> drm                    65944  0
> intel_agp              20508  1
> agpgart                29256  2 drm,intel_agp
> ===========================================
> ~# cat /var/log/Xorg.0.log
> ...
> (II) LoadModule: "dri"
> (II) Loading /usr/lib/modules/extensions/libdri.a
> (II) Module dri: vendor="X.Org Foundation"
>         compiled for 6.8.2, module version = 1.0.0
>         ABI class: X.Org Server Extension, version 0.2
> (II) Loading sub module "drm"
> (II) LoadModule: "drm"
> (II) Loading /usr/lib/modules/linux/libdrm.a
> (II) Module drm: vendor="X.Org Foundation"
>         compiled for 6.8.2, module version = 1.0.0
>         ABI class: X.Org Server Extension, version 0.2
> (II) Loading extension XFree86-DRI
> (II) LoadModule: "glx"
> (II) Loading /usr/lib/modules/extensions/libglx.a
> (II) Module glx: vendor="X.Org Foundation"
>         compiled for 6.8.2, module version = 1.0.0
>         ABI class: X.Org Server Extension, version 0.2
> (II) Loading sub module "GLcore"
> (II) LoadModule: "GLcore"
> (II) Loading /usr/lib/modules/extensions/libGLcore.a
> (II) Module GLcore: vendor="X.Org Foundation"
>         compiled for 6.8.2, module version = 1.0.0
>         ABI class: X.Org Server Extension, version 0.2
> (II) Loading extension GLX
> (II) LoadModule: "radeon"
> (II) Loading /usr/lib/modules/drivers/radeon_drv.o
> (II) Module radeon: vendor="X.Org Foundation"
>         compiled for 6.8.2, module version = 4.0.1
>         Module class: X.Org Video Driver
>         ABI class: X.Org Video Driver, version 0.7
> (II) LoadModule: "ati"
> (II) Loading /usr/lib/modules/drivers/ati_drv.o
> (II) Module ati: vendor="X.Org Foundation"
>         compiled for 6.8.2, module version = 6.5.6
>         Module class: X.Org Video Driver
>         ABI class: X.Org Video Driver, version 0.7
> ...
> (II) Primary Device is: PCI 01:00:0
> (--) Assigning device section with no busID to primary device
> (--) Chipset ATI Radeon Mobility 9000 (M9) Lf (AGP) found
> ...
> (II) Loading sub module "radeon"
> (II) LoadModule: "radeon"
> (II) Reloading /usr/lib/modules/drivers/radeon_drv.o
> ...
> (II) Setting vga for screen 0.
> (II) RADEON(0): MMIO registers at 0xd0100000
> (II) RADEON(0): PCI bus 1 card 0 func 0
> (**) RADEON(0): Depth 24, (--) framebuffer bpp 32
> (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
> (==) RADEON(0): Default visual is TrueColor
> (**) RADEON(0): Option "AGPMode" "4"
> (**) RADEON(0): Option "AGPFastWrite" "True"
> (**) RADEON(0): Option "EnablePageFlip" "True"
> ...
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> [drm] failed to load kernel module "radeon"
> (II) RADEON(0): [drm] drmOpen failed
> (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
> (II) RADEON(0): Memory manager initialized to (0,0) (1408,8191)
> (II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
> (II) RADEON(0): Largest offscreen area available: 1408 x 7139
> (II) RADEON(0): Render acceleration enabled
> (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
> ...
> (II) RADEON(0): Acceleration enabled
> (==) RADEON(0): Backing store disabled
> (==) RADEON(0): Silken mouse enabled
> (II) RADEON(0): Using hardware cursor (scanline 1052)
> (II) RADEON(0): Largest offscreen area available: 1408 x 7136
> (II) RADEON(0): Direct rendering disabled
> (==) RandR enabled
> ...
> ===========================================
>
> --
> Bo Andresen
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-02-17 11:28 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17 11:03 [gentoo-user] 3d rendering with dri radeon Bo Andresen
2006-02-17 11:20 ` Ghaith Hachem [this message]
2006-02-22 22:45   ` Bo Andresen
2006-02-17 14:25 ` Andrei Slavoiu
2006-02-17 18:29 ` Benno Schulenberg
2006-02-18  5:09   ` Bruce Burden
2006-02-18 16:02     ` Benno Schulenberg
2006-02-22 22:52       ` Bo Andresen
2006-02-23 20:19         ` Benno Schulenberg
2006-02-23 21:44           ` Bo Andresen
2006-02-23 22:30             ` Benno Schulenberg
2006-02-23 22:51               ` Bo Andresen
2006-02-23 23:04                 ` Benno Schulenberg
2006-02-23 23:29                   ` Bo Andresen
2006-02-24 19:14                     ` Benno Schulenberg
2006-02-24 22:57                       ` Bo Andresen
2006-02-24 23:36                         ` Benno Schulenberg
2006-02-24 23:54                           ` Bo Andresen
2006-02-25 14:03                             ` Benno Schulenberg
2006-02-25 17:42                               ` Bo Andresen
2006-02-26  4:02                               ` Bruce Burden
2006-02-26  4:39                                 ` Bo Andresen
2006-02-26  5:56                                 ` Richard Fish
2006-02-28 20:36                                   ` Benno Schulenberg
2006-03-01 16:30                                     ` Bruce Burden
2006-03-02  2:48                                       ` Bob Sanders
2006-02-25 17:50                           ` Bo Andresen
2006-02-28 12:13                             ` Bo Andresen
2006-02-28 13:39                               ` Bo Andresen
2006-02-28 20:31                               ` Benno Schulenberg
2006-02-28 21:16                                 ` Bo Andresen
2006-02-28 22:16                                   ` Benno Schulenberg
2006-02-28 22:57                                     ` Bo Andresen
2006-02-25  5:36       ` Bruce Burden
2006-02-25 14:10         ` Benno Schulenberg
2006-02-18 16:55 ` [gentoo-user] " James
2006-02-18 18:03 ` [gentoo-user] " Rafael Fernández López
2006-02-18 18:44   ` Mariusz Pękala
2006-02-18 20:32   ` Andrei Slavoiu
2006-02-18 21:47 ` Jerry McBride

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4bf052bf0602170320v14599c40qbf2aab3bc4cb13c2@mail.gmail.com \
    --to=blacksadness@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox