problem with discrete video card

Andriy Gapon avg at FreeBSD.org
Thu Dec 3 13:08:33 UTC 2015


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


More information about the freebsd-x11 mailing list