Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2006 18:15:06 -0700
From:      Walt Pawley <walt@wump.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: X ATI driver? - solved, sort of
Message-ID:  <a0521020ec0bba78b4d55@[10.0.0.10]>
In-Reply-To: <64167.192.168.0.104.1150620551.squirrel@192.168.0.50>
References:  <a05210200c0b95015c8d9@10.0.0.10>    <ef10de9a0606170842t9a297d1l2f611e772244bbb5@mail.gmail.com>  <a05210203c0b9ebc04632@[10.0.0.10]> <63411.192.168.0.104.1150566985.squirrel@192.168.0.50> <a05210207c0ba18abcd8c@[10.0.0.10]> <64167.192.168.0.104.1150620551.squirrel@192.168.0.50>

next in thread | previous in thread | raw e-mail | index | archive | help
Operationally, at least, I seem to resolved my problem with
Xorg 6.9.0 and using the Mach32 ATI video card.

I included lines in xorg.conf.new in Section "Device" ...

        Option      "tv_out" "false"
        Option      "tv_standard" "None"

I suspect only the latter is necessary but haven't experimented to see.

The reason for doing this seems to me to be some bugs in the
ATI driver arrangement and Xorg general code. It seems that
there are many implementations of strncasecmp in different
packages, despite what seems to be a "standard" available in
libc (???). Xorg's is xf86strncasecmp and is written so that it
goes ahead and dereferences a null pointer if one is passed to
it - hence the segment error crash.

The null pointer comes from the string TvStd not being
initialized when ATIProcessOptions runs with the "Xorg
-configure" generated xorg.conf.new file. While I haven't
traced how the variable gets defined, by changing the option
above, that would seem to be the effect as it quits crashing
subsequently.
-- 

Walter M. Pawley <walt@wump.org>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470
         541-672-8975



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