tech-x11 archive

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

Re: patch for netbsd-5 and drm



On Sat, Jun 20, 2009 at 05:43:18PM +1000, matthew green wrote:
> hi folks.
> 
> i've ported the great work for drm to netbsd-5 branch.  there
> are two files:
[...]
> i have tested it on netbsd-5 on amd64 with pkgsrc xorg.  works
> on my x1550 card.

On my amd64 with a Radeon HD 4650, the kernel DRM bits seem OK (other
than a "*ERROR* pci_mapreg_info for 36 failed", which sounds like the
one of the errors that gets ignored on the way to attachment; and the
writeback test failure that has plagued radeon DRM seemingly forever).

The Xorg server (pkgsrc modular Xorg 1.6.901), however, dies trying
to load the R6xx DRI driver and never recovers.  Haven't dug further
yet.

The last I see in the logs is:

    (II) AIGLX: Screen 0 is not DRI2 capable
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:04:00.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: drmOpenMinor returns 8
    drmOpenByBusid: drmGetBusid reports pci:0000:04:00.0
    (EE) AIGLX error: dlopen of /usr/pkg/lib/dri/r600_dri.so failed (Cannot 
open "/usr/pkg/lib/dri/r600_dri.so")

After that the X server can't even VT switch back to the console, but I was
able to SSH in and a disabling DRI in Xorg.conf and restarting gdm gave me
a happy secondary server (:1), which has no trouble interacting with the
screen on keyboard... 

--rafal

-- 
  Time is an illusion; lunchtime, doubly so.     |/\/\|           Rafal Boni
                   -- Ford Prefect               |\/\/|      
rafal%pobox.com@localhost


Home | Main Index | Thread Index | Old Index