5000 series card questions
Mark Knecht
markknecht at gmail.com
Sat Apr 10 17:41:38 PDT 2010
On Sat, Apr 10, 2010 at 3:48 PM, Dave Witbrodt <dawitbro at sbcglobal.net> wrote:
<SNIP>
>
> Oops! Looking back at your previous messages in this thread, I see that you
> are using Gentoo:
>
> gentoo-sources-2.6.33-r1
> xorg-drivers-1.7
> mesa-7.5.2
> xf86-video-radeonhd-1.3.0
>
> Mesa has no Evergreen support yet, though you might be able to use software
> rasterizing Mesa packages to use some games/graphics programs that aren't
> too demanding. As mentioned by myself and others, you need to abandon
> "radeonhd" and use "radeon" instead. You also need a package called libdrm,
> and it needs to be built with the special drivers for Radeon hardware
> enabled. (I had to build libdrm myself for a while, because Debian wasn't
> enabling Radeon support, by they started enabling that support in January.)
>
> To sum up, you should try to get the latest possible versions of all of the
> packages I listed:
>
> - linux kernel built from "drm-radeon-testing" (2.6.32 or 2.6.33), or
> (preferably) a release candidate of 2.6.34
>
> - libdrm 2.4.18 or newer (including enabled radeon driver support)
>
> - xorg-server 1.7.5.901 or newer (1.7.6 is out)
>
> - xf86-video-ati 6.13
>
> If you give it a try, report the software versions and the kind of connector
> cables you are using if you have any problems.
>
>
> HTH again,
> Dave W.
>
Hey Dave,
Thanks for the inputs. Very clear. (I think!) ;-) Up front, it
seems grub is displayed on only one output and I'm using a DVI cable
to the Syncmaster 2333. I do have an analog monitor but it seems to
act the same as the 2333. (Goes black)
Questions up front?
1) xorg.conf?
2) hald?
3) dbus?
OK, Gentoo had a call for stable users to start testing
xorg-server-1.7 so I've upgraded to 1.7.6. All the packages I think
we're talking about should be shown below. I think I meet all your
your requirements. No change in my results as of yet. The one thing I
don't know about is the libdrm requirement to include radeon support.
Flags are shown below but there are none for that package. That said
"equery files" implies it built and installed something for the
Radeon:
cruncher ~ # equery files libdrm | grep radeon
/usr/include/libdrm/radeon_bo.h
/usr/include/libdrm/radeon_bo_gem.h
/usr/include/libdrm/radeon_bo_int.h
/usr/include/libdrm/radeon_cs.h
/usr/include/libdrm/radeon_cs_gem.h
/usr/include/libdrm/radeon_cs_int.h
/usr/include/libdrm/radeon_drm.h
/usr/lib64/libdrm_radeon.la
/usr/lib64/libdrm_radeon.so
/usr/lib64/libdrm_radeon.so.1
/usr/lib64/libdrm_radeon.so.1.0.0
/usr/lib64/pkgconfig/libdrm_radeon.pc
cruncher ~ #
The key results I'm seeing right now are:
1) Just after entering the interactive part of boot and right around
the message 'waiting for udev events to be processed' the screen goes
black and the monitor loses sync. I somehow remember a similar screen
goes black after udev issue with the I915 but I cannot for the life of
me remember what the solution was. I'm looking through notes and
emails. Something about frame buffer devices maybe?
2) I somehow think I'm still missing the right drivers. If I ssh in
and try to start xdm it fails and Xorg.0.log is still telling me 'No
Devices Detected'
ATI Radeon 3100 Graphics, ATI Radeon HD 3300 Graphics,
ATI Radeon HD 3200 Graphics, ATI Radeon 3000 Graphics,
ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4290
(II) Primary Device is: PCI 03 at 00:00:0
(EE) No devices detected.
Fatal server error:
no screens found
However radeon is in memory:
cruncher ~ # lsmod
Module Size Used by
radeon 633741 0
ttm 47515 1 radeon
drm_kms_helper 23847 1 radeon
drm 169899 3 radeon,ttm,drm_kms_helper
agpgart 30664 2 ttm,drm
snd_hda_codec_atihdmi 2535 1
snd_hda_intel 21027 0
snd_hda_codec 65767 2 snd_hda_codec_atihdmi,snd_hda_intel
i2c_algo_bit 4757 1 radeon
cfbcopyarea 3189 1 radeon
snd_hwdep 5698 1 snd_hda_codec
snd_pcm 70597 2 snd_hda_intel,snd_hda_codec
snd_timer 17697 1 snd_pcm
snd 54600 5
snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
cfbimgblt 2098 1 radeon
sky2 43451 0
soundcore 6118 1 snd
snd_page_alloc 7149 2 snd_hda_intel,snd_pcm
cfbfillrect 3201 1 radeon
cruncher ~ #
Packages you pointed out are shown below.
cruncher ~ # emerge -pv xorg-server xorg-drivers libdrm xf86-video-ati mesa
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/libdrm-2.4.20 USE="-debug" 0 kB
[ebuild R ] media-libs/mesa-7.7.1 USE="nptl xcb -debug (-gallium)
-motif -pic (-selinux)" VIDEO_CARDS="radeon -intel -mach64 -mga -none
-nouveau -r128 -radeonhd -savage -sis (-sunffb) -svga -tdfx -via" 0 kB
[ebuild R ] x11-base/xorg-server-1.7.6 USE="hal ipv6 nptl sdl
xorg -debug -dmx -kdrive -minimal -tslib" 0 kB
[ebuild R ] x11-drivers/xf86-video-ati-6.13.0 0 kB
[ebuild R ] x11-base/xorg-drivers-1.7 INPUT_DEVICES="evdev
-acecad -aiptek -joystick -keyboard -mouse -penmount -synaptics -tslib
-virtualbox -vmmouse -void -wacom" VIDEO_CARDS="fbdev radeon -apm -ark
-ast -chips -cirrus -dummy -epson -fglrx (-geode) -glint -i128 (-i740)
(-impact) -intel -mach64 -mga -neomagic (-newport) -nv -nvidia -r128
-radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb
(-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx)
-tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware
(-voodoo) (-xgi)" 0 kB
Total: 5 packages (5 reinstalls), Size of downloads: 0 kB
cruncher ~ #
[ 6.209896] Linux agpgart interface v0.103
[ 6.219972] mdadm used greatest stack depth: 4168 bytes left
[ 6.257363] [drm] Initialized drm 1.1.0 20060810
[ 6.309372] [drm] radeon defaulting to kernel modesetting.
[ 6.309374] [drm] radeon kernel modesetting enabled.
[ 6.309401] alloc irq_desc for 30 on node -1
[ 6.309403] alloc kstat_irqs on node -1
[ 6.309408] radeon 0000:03:00.0: PCI INT A -> GSI 30 (level, low)
-> IRQ 30
[ 6.309410] radeon 0000:03:00.0: setting latency timer to 64
[ 6.310122] [drm] radeon: Initializing kernel modesetting.
[ 6.310272] [drm] register mmio base: 0xFBAC0000
[ 6.310273] [drm] register mmio size: 131072
[ 6.310339] ATOM BIOS: JUNIPER
[ 6.310347] [drm] Clocks initialized !
[ 6.310348] [drm] 1 Power State(s)
[ 6.310349] [drm] State 0 Default (default)
[ 6.310350] [drm] 16 PCIE Lanes
[ 6.310351] [drm] 1 Clock Mode(s)
[ 6.310352] [drm] 0 engine/memory: 850000/1200000
[ 6.310356] [drm] radeon: power management initialized
[ 6.310361] radeon 0000:03:00.0: VRAM: 256M 0x00000000 - 0x0FFFFFFF
(256M used)
[ 6.310363] radeon 0000:03:00.0: GTT: 512M 0x10000000 - 0x2FFFFFFF
[ 6.310366] mtrr: type mismatch for d0000000,10000000 old:
write-back new: write-combining
[ 6.310368] [drm] Detected VRAM RAM=256M, BAR=256M
[ 6.310368] [drm] RAM width 128bits DDR
[ 6.310392] [TTM] Zone kernel: Available graphics memory: 6163198 kiB.
[ 6.310394] [TTM] Zone dma32: Available graphics memory: 2097152 kiB.
[ 6.310400] [drm] radeon: 256M of VRAM memory ready
[ 6.310401] [drm] radeon: 512M of GTT memory ready.
[ 6.311701] [drm] Radeon Display Connectors
[ 6.311702] [drm] Connector 0:
[ 6.311703] [drm] DisplayPort
[ 6.311704] [drm] HPD4
[ 6.311705] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448
0x644c 0x644c
[ 6.311706] [drm] Encoders:
[ 6.311707] [drm] DFP1: INTERNAL_UNIPHY2
[ 6.311708] [drm] Connector 1:
[ 6.311708] [drm] HDMI-A
[ 6.311709] [drm] HPD5
[ 6.311710] [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438
0x643c 0x643c
[ 6.311711] [drm] Encoders:
[ 6.311712] [drm] DFP2: INTERNAL_UNIPHY2
[ 6.311713] [drm] Connector 2:
[ 6.311713] [drm] DVI-I
[ 6.311714] [drm] HPD1
[ 6.311715] [drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468
0x646c 0x646c
[ 6.311716] [drm] Encoders:
[ 6.311717] [drm] DFP3: INTERNAL_UNIPHY1
[ 6.311717] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[ 6.311718] [drm] Connector 3:
[ 6.311719] [drm] DVI-I
[ 6.311719] [drm] HPD6
[ 6.311721] [drm] DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458
0x645c 0x645c
[ 6.311722] [drm] Encoders:
[ 6.311722] [drm] DFP4: INTERNAL_UNIPHY
[ 6.311723] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 6.660144] [drm] fb mappable at 0xD0040000
[ 6.660145] [drm] vram apper at 0xD0000000
[ 6.660146] [drm] size 8294400
[ 6.660147] [drm] fb depth is 24
[ 6.660148] [drm] pitch is 7680
[ 6.660171] fb0: radeondrmfb frame buffer device
[ 6.660172] registered panic notifier
[ 6.660174] [drm] Initialized radeon 2.1.0 20080528 for
0000:03:00.0 on minor 0
[ 6.900870] EXT3-fs (md3): using internal journal
Thanks!
- Mark
More information about the xorg-driver-ati
mailing list