Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2015 15:07:32 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <jean-sebastien.pedron@dumbbell.fr>, freebsd-x11@FreeBSD.org
Subject:   Re: problem with discrete video card
Message-ID:  <56603E94.3010601@FreeBSD.org>
In-Reply-To: <565CD111.4070808@dumbbell.fr>
References:  <5656D370.1090008@FreeBSD.org> <565CD111.4070808@dumbbell.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/12/2015 00:43, Jean-Sébastien Pédron wrote:
> On 26/11/2015 10:40, Andriy Gapon wrote:
>> I've been given a Radeon 6850 based video card that supposedly used to work.
>> But for me it works only in the text mode.  Any attempt to use it with radeonkms
>> driver results in a reboot (no panic or trap).  I've done a little bit of
>> investigation and I see that the crash happens in radeonfb_create() when the
>> following code is executed:
> 
> Hi Andriy!
> 
> Could you please try again with drm.debug=7 in your /boot/loader.conf?

I will try this, thank you for the suggestion.

> Do you have any local patches beside the moved line? Because here, I get
> this:
> 
> info: [drm] fb mappable at 0xD0142000
> info: [drm] vram apper at 0xD0000000
> info: [drm] size 8294400
> info: [drm] fb depth is 24
> info: [drm]    pitch is 7680
> 
> Note the "vram apper at" message. The label in your dmesg is shorter but
> the address is longer.

Yeah, I wanted to add printing of fb_vbase, but accidentally removed printing of
vram apper.  I restored that line back, so the output now looks like this:

info: [drm] fb mappable at 0xD0142000
info: [drm] vbase at 0xFFFFF800D0142000
info: [drm] vram apper at 0xD0000000
info: [drm] size 8294400
info: [drm] fb depth is 24
info: [drm]    pitch is 7680

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56603E94.3010601>