Help with HD 5750 3D accel?

Mark Knecht markknecht at gmail.com
Thu Jan 20 07:48:13 PST 2011


On Thu, Jan 20, 2011 at 7:31 AM, Alex Deucher <alexdeucher at gmail.com> wrote:
> On Thu, Jan 20, 2011 at 10:29 AM, Mark Knecht <markknecht at gmail.com> wrote:
>> On Thu, Jan 20, 2011 at 4:23 AM, Felix Blanke <felixblanke at gmail.com> wrote:
>>> Hi,
>>>
>>> I got the same card and also using gentoo. Here are some suggestions of mine:
>>>
>>>
>>> - Did you emerged "x11-drivers/radeon-ucode"?
>>>
>>> - What is the output of "eselect mesa list"?
>>>
>>> - I dont know for sure, but with the mesa from git there is a video_cards_r600 use
>>>  flag which I need for better 3D performance (at least I think i need it, doesn't
>>>  tested it for some time now).
>>>
>>>
>>> Regards,
>>> Felix
>>>
>>
>> Yes, I did emerge the microcode.
>>
>> c2stable ~ # emerge -pv radeon-ucode
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild   R   ] x11-drivers/radeon-ucode-20101122  0 kB
>>
>> Total: 1 package (1 reinstall), Size of downloads: 0 kB
>> c2stable ~ # eselect mesa list
>> i915 (Intel 915, 945)
>> i965 (Intel 965, G/Q3x, G/Q4x)
>> r300 (Radeon R300-R500)
>>  [1]   classic
>>  [2]   gallium *
>> r600 (Radeon R600-R700, Evergreen)
>>  [1]   classic *
>>  [2]   gallium
>> sw (Software renderer)
>>  [1]   classic
>>  [2]   gallium *
>> c2stable ~ #
>>
>> I changed all 3 families below to gallium but 3d rendering is still disabled:
>
> As Michel noted, check your dmesg output to see why acceleration is
> getting disabled.
>
> Alex
>
>>
>> c2stable ~ # eselect mesa list
>> i915 (Intel 915, 945)
>> i965 (Intel 965, G/Q3x, G/Q4x)
>> r300 (Radeon R300-R500)
>>  [1]   classic
>>  [2]   gallium *
>> r600 (Radeon R600-R700, Evergreen)
>>  [1]   classic
>>  [2]   gallium *
>> sw (Software renderer)
>>  [1]   classic
>>  [2]   gallium *
>> c2stable ~ #
>>
>> Thanks,
>> Mark
>> _______________________________________________
>> xorg-driver-ati mailing list
>> xorg-driver-ati at lists.x.org
>> http://lists.x.org/mailman/listinfo/xorg-driver-ati
>>
>

Here are the package revs and flags that I can think of being
important. If you need others let me know

c2stable linux # emerge -pv xorg-server xorg-drivers xf86-video-ati
xf86-video-fbdev xf86-video-vesa mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/mesa-7.9  USE="classic gallium nptl -debug
-gles -llvm -motif -pic (-selinux)" VIDEO_CARDS="radeon vmware -intel
-mach64 -mga -nouveau -r128 -savage -sis -tdfx -via" 0 kB
[ebuild   R   ] x11-base/xorg-server-1.9.2  USE="nptl udev xorg -dmx
-doc -ipv6 -kdrive -minimal -static-libs -tslib" 5,151 kB
[ebuild   R   ] x11-drivers/xf86-video-ati-6.13.2  0 kB
[ebuild   R   ] x11-drivers/xf86-video-fbdev-0.4.2  0 kB
[ebuild   R   ] x11-drivers/xf86-video-vesa-2.3.0  USE="-debug" 0 kB
[ebuild   R   ] x11-base/xorg-drivers-1.9  INPUT_DEVICES="evdev
keyboard mouse -acecad -aiptek -elographics -fpit -joystick -penmount
-synaptics -tslib -virtualbox -vmmouse -void -wacom"
VIDEO_CARDS="fbdev radeon vesa vmware -apm -ark -ast -chips -cirrus
-dummy -epson -fglrx (-geode) -glint -i128 (-i740) (-impact) -intel
-mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia -r128
-rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2)
(-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx
-tga -trident -tseng -v4l -via -virtualbox (-voodoo) (-xgi)" 0 kB

Total: 6 packages (6 reinstalls), Size of downloads: 5,151 kB
c2stable linux #


Here is what I think is the appropriate part of dmesg. I don't see
where it gets disabled unless it's the 'drm: registered panic
notifier' at the bottom.

It does seem that the Juniper firmware was at least noticed, but I'm
unclear whether JUNIPER is the exact one to be using for this card.
(Seems to be though...) I'm about to reboot without the firmware stuff
in the kernel.

c2stable ~ # dmesg | grep JUNIPER
[    5.514390] [drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8).
[    5.514644] ATOM BIOS: JUNIPER
[    5.515250] [drm] Loading JUNIPER Microcode
c2stable ~ #


c2stable ~ # dmesg | grep drm
[    5.125889] [drm] Initialized drm 1.1.0 20060810
[    5.513677] [drm] radeon defaulting to kernel modesetting.
[    5.513679] [drm] radeon kernel modesetting enabled.
[    5.514390] [drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8).
[    5.514563] [drm] register mmio base: 0xFBAC0000
[    5.514565] [drm] register mmio size: 131072
[    5.514663] [drm] Detected VRAM RAM=1024M, BAR=256M
[    5.514664] [drm] RAM width 128bits DDR
[    5.514791] [drm] radeon: 1024M of VRAM memory ready
[    5.514792] [drm] radeon: 512M of GTT memory ready.
[    5.514847] [drm] radeon: irq initialized.
[    5.514849] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    5.515250] [drm] Loading JUNIPER Microcode
[    5.533645] [drm] ring test succeeded in 1 usecs
[    5.533706] [drm] radeon: ib pool ready.
[    5.533727] [drm] ib test succeeded in 0 usecs
[    5.534041] [drm] Radeon Display Connectors
[    5.534042] [drm] Connector 0:
[    5.534043] [drm]   DisplayPort
[    5.534044] [drm]   HPD4
[    5.534045] [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448
0x644c 0x644c
[    5.534046] [drm]   Encoders:
[    5.534047] [drm]     DFP1: INTERNAL_UNIPHY2
[    5.534048] [drm] Connector 1:
[    5.534049] [drm]   HDMI-A
[    5.534049] [drm]   HPD5
[    5.534051] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438
0x643c 0x643c
[    5.534052] [drm]   Encoders:
[    5.534052] [drm]     DFP2: INTERNAL_UNIPHY2
[    5.534053] [drm] Connector 2:
[    5.534054] [drm]   DVI-I
[    5.534055] [drm]   HPD1
[    5.534056] [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468
0x646c 0x646c
[    5.534057] [drm]   Encoders:
[    5.534058] [drm]     DFP3: INTERNAL_UNIPHY1
[    5.534059] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[    5.534060] [drm] Connector 3:
[    5.534060] [drm]   DVI-I
[    5.534061] [drm]   HPD6
[    5.534062] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458
0x645c 0x645c
[    5.534063] [drm]   Encoders:
[    5.534064] [drm]     DFP4: INTERNAL_UNIPHY
[    5.534065] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    5.668782] [drm] Internal thermal controller with fan control
[    5.668805] [drm] radeon: power management initialized
[    5.804950] [drm] fb mappable at 0xD0140000
[    5.804951] [drm] vram apper at 0xD0000000
[    5.804952] [drm] size 8294400
[    5.804953] [drm] fb depth is 24
[    5.804954] [drm]    pitch is 7680
[    6.231604] fb0: radeondrmfb frame buffer device
[    6.231605] drm: registered panic notifier
[    6.231609] [drm] Initialized radeon 2.6.0 20080528 for
0000:03:00.0 on minor 0
c2stable ~ #


Here's what I can think of again from my kernel's .config. I'm just
about ready to reboot a new kernel without the firmware in the kernel.

c2stable linux # zcat /proc/config.gz | grep DRM
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set

c2stable linux # zcat /proc/config.gz | grep RADEON
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
# CONFIG_FB_RADEON is not set

c2stable linux # zcat /proc/config.gz | grep FB
CONFIG_FB=y
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
# CONFIG_FB_EFI is not set
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_TMIO is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_CON_DECOR is not set
c2stable linux #

Thanks,
Mark


More information about the xorg-driver-ati mailing list