Radeon HD 4350 - no DRI / only Software Rasterizer under FreeBSD 9.0?

Henry B. cryptix at riseup.net
Thu Nov 29 02:57:03 UTC 2012


On 29.11.2012, at 1:31 , matt <sendtomatt at gmail.com> wrote:
> That card should work, I personally use a crappy 4650 (PowerColor GO!,
RV730) and it usually only has issues with buggy GL programs.

That's good news! I was beginning to think nobody uses ATI graphics cards
on FreeBSD. :)
I currently can't recall the card manufacturer but the chip is RV710.

> Try a different card (system setup bad)
That's what I'm thinking about next if this can't be figured out..

> Try a different monitor (corrupt EDID crashes driver)
I also use the monitors (Benq G2110w) with my macbook, a raspi and had
them on two PCs of friends.
Never had a problem with them and they worked fine under Linux on the same
box.

> Try same card in Linux/Windows (card is bad)
I'm trying to adopt my dual head setup from a previous ArchLinux
installation, so I think I can rule out 'bad card'.

It feels like bad driver / bad timing. The driver on Linux was much more
recent and using KMS but i have the card for quite some time and also had
this setup before KMS was introduced, which makes this problem quite
unexpected and weird.

> It looks like a bad crash...can you SSH in and keep gdb attached to get
a backtrace?
>From what i can tell, the system actually panics when I try to load X with
DRI enabled and it takes down the SSH connections with it.

I attached what is left from gdb's output to the mail. Sadly I don't have
a chance to input bt before it goes down..


> I think it might be connector table or PLL related, my card says this
after yours crashes.
>
> [165240.090] Output UNIPHY1 transmitter setup success
> [165240.090] Output CRT2 disable success
> [165240.090] Output UNIPHY0 transmitter setup success
> [165240.090] Blank CRTC 0 success
> [165240.090] Disable CRTC memreq 0 success
> [165240.090] Disable CRTC 0 success
> [165240.090] Blank CRTC 1 success
> [165240.090] Disable CRTC memreq 1 success
> [165240.090] Disable CRTC 1 success
> [165240.091] Output UNIPHY0 transmitter setup success
> [165240.091] Blank CRTC 0 success
> [165240.091] Disable CRTC memreq 0 success
> [165240.091] Disable CRTC 0 success
> [165240.091] Set CRTC 0 Source success
> [165240.091] Mode 1680x1050 - 2240 1089 6
> [165240.091] (II) RADEON(0): RADEONRestoreMemMapRegisters() :
> [165240.091] (II) RADEON(0):   MC_FB_LOCATION   : 0x00df00d0 0x00df00d0
> [165240.091] (II) RADEON(0):   MC_AGP_LOCATION  : 0x00030000
> [165240.091] Picked PLL 0
> [165240.091] before 14625
> [165240.091] after 14625
> [165240.091] best_freq: 146250
> [165240.091] best_feedback_div: 130
> [165240.091] best_frac_feedback_div: 0
> [165240.091] best_ref_div: 3
> [165240.091] best_post_div: 8
> [165240.091] (II) RADEON(0): crtc(0) Clock: mode 146250, PLL 1462500
> [165240.091] (II) RADEON(0): crtc(0) PLL  : refdiv 3, fbdiv 0x82(130),
fracfbdiv 0, pdiv 8
> [165240.101] Set CRTC 0 PLL success
> [165240.101] Set CRTC Timing success
> [165240.101] Set CRTC 0 Overscan success
> [165240.101] Not using RMX
>
> Matt


Comparing your output to the one i get from gdb it looks like the next
line would be
[165240.091] Mode 1680x1050 - 2240 1089 6

I'm also intrigued by the "failed to set mtrr: Invalid argument" not sure
what to make of it.


kind regards,

Henry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XwithGDB.log
Type: application/octet-stream
Size: 2881 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20121129/524ccfbb/attachment.obj>


More information about the freebsd-x11 mailing list