Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 03:57:01 +0100
From:      "Henry B." <cryptix@riseup.net>
To:        freebsd-x11@freebsd.org
Subject:   Re: Radeon HD 4350 - no DRI / only Software Rasterizer under FreeBSD 9.0?
Message-ID:  <e7adcfd7264c6037d8867bc064663ed4.squirrel@fulvetta.riseup.net>

next in thread | raw e-mail | index | archive | help
------=_20121129035701_72225
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

On 29.11.2012, at 1:31 , matt <sendtomatt@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
------=_20121129035701_72225
Content-Type: application/octet-stream; name="XwithGDB.log"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="XwithGDB.log"

cm9vdEBvT2JzZDovcm9vdCAjIGdkYiBYCkdOVSBnZGIgNi4xLjEgW0ZyZWVCU0RdCkNvcHlyaWdo
dCAyMDA0IEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLgpHREIgaXMgZnJlZSBzb2Z0d2Fy
ZSwgY292ZXJlZCBieSB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UsIGFuZCB5b3UgYXJl
CndlbGNvbWUgdG8gY2hhbmdlIGl0IGFuZC9vciBkaXN0cmlidXRlIGNvcGllcyBvZiBpdCB1bmR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b3VuZCkuLi5mYWlsZWQgdG8gc2V0IG10cnI6IEludmFsaWQgYXJn
dW1lbnQKT3V0cHV0IFVOSVBIWTAgdHJhbnNtaXR0ZXIgc2V0dXAgc3VjY2VzcwpCbGFuayBDUlRD
IDAgc3VjY2VzcwpEaXNhYmxlIENSVEMgbWVtcmVxIDAgc3VjY2VzcwpEaXNhYmxlIENSVEMgMCBz
dWNjZXNzCk91dHB1dCBVTklQSFkyIHRyYW5zbWl0dGVyIHNldHVwIHN1Y2Nlc3MKQmxhbmsgQ1JU
QyAxIHN1Y2Nlc3MKRGlzYWJsZSBDUlRDIG1lbXJlcSAxIHN1Y2Nlc3MKRGlzYWJsZSBDUlRDIDEg
c3VjY2VzcwptYyBmYiBsb2MgaXMgMDBkZjAwZDAKCg==
------=_20121129035701_72225--





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