[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#676299:



I am experiencing a similar problem with a Radeon 7570 card (PCI
identifier 675D).  This PCI identifer is found in various tables in
xserver-xorg-video-radeon so presumably it is intended that this card be
supported.

Configuration is the current Wheeezy:

Kernel: 3.2.0-2-amd64
xserver-xorg-video-radeon: 6.14.4-5
libdrm-radeon1 & libdrm2: 2.4.33-1
/etc/X11/xorg.conf.d: Does not contain a Device section.

The startup of X fails with the same messages as shown in the log posted
by Andrew Bettison

radeon_surface_best failed
radeon_setup_kernel_mem failed

I have tried all the patches in Freedesktop.org bug 43448 in various
combinations and the startup of X fails with the same messages with all
the combinations that I have tried.

I'm not adept at debugging in this environment but I was able (by adding
debug output) to track the error messages back a few steps.

The message is generated in xserver-xorg-video-radeon source file
radeon_kms.c by a call to radeon_surface_best().  It in turn is in
libdrm source file radeon_surface.c and calls (in the same source file)

static int radeon_surface_sanity(struct radeon_surface_manager *surf_man,
                                 struct radeon_surface *surf,
                                 unsigned type,
                                 unsigned mode)

where the following test returns -EINVAL:

if (surf_man == NULL || surf_man->surface_init == NULL || surf == NULL) {
        return -EINVAL;

I don't know the source code at all so I am not able to trace any
further back.






Reply to: