X ATI driver? - solved, sort of

Walt Pawley walt at wump.org
Mon Jun 19 01:59:21 UTC 2006

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

Walter M. Pawley <walt at wump.org>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470

More information about the freebsd-questions mailing list