(Crowd funded) fix for SiS 671/771 video cards

Pander pander at users.sourceforge.net
Mon May 20 02:39:34 PDT 2013


On 05/20/2013 04:58 AM, Connor Behan wrote:
> On 19/05/13 09:48 AM, Pander wrote:
>> On 05/18/2013 10:28 PM, Tormod Volden wrote:
>>> On Sat, May 18, 2013 at 7:52 PM, Pander wrote:
>>>> (manual) patch results in
>>>>
>>>> [    74.465] (II) LoadModule: "sisimedia"
>>>> [    74.465] (II) Loading /usr/lib/xorg/modules/drivers/sisimedia_drv.so
>>>> [    74.465] (EE) Failed to load
>>>> /usr/lib/xorg/modules/drivers/sisimedia_drv.so:
>>>> /usr/lib/xorg/modules/drivers/sisimedia_drv.so: undefined symbol:
>>>> SiSUploadToScratch
>>>> [    74.465] (II) UnloadModule: "sisimedia"
>>>> [    74.465] (II) Unloading sisimedia
>>>> [    74.465] (EE) Failed to load module "sisimedia" (loader failed, 7)
>>>>
>>>> I used this file: http://pastebin.com/XkYfxrQy
>>> It would be more useful if you told which file it is and which version
>>> instead of paste-binning it. I assume this is the src/sis310_accel.c
>>> from git://gitorious.org/xf86-video-sis671/sis-671-fix.git
>> Sorry, I forgot indeed that filename. I have removed declarations and
>> usage of SiSUploadToScreen, SiSUploadToScratch and SiSDownloadFromScreen.
>>
>> Do I need to do that also for
>>   void SiSScratchSave(ScreenPtr pScreen, ExaOffscreenArea *area);
>> ?
>>
> No, that can be left in. Sorry for messing up the patch.

It works. Here is the Xorg log file. Switching to console with
CTRL+ALT+F1 etc still doesn't work however. See the top pf the file for
loading of the driver and the bottom (probably) for switching to console
and back:
  http://pastebin.com/VA7dVBjL

Using Option "UseTiming1366" "true" in the Device section still causes
screen to remain black. the log file for that is:
  http://pastebin.com/7t2XWRpQ

Attached are the patches for my current version.

I have tried to contact the author via
https://gitorious.org/xf86-video-sis671/sis-671-fix but I have not yet
received any response. In his log file I see some syncing with Xorg so
(in response of Alan's message of the 12th of May, the author might be
interested to contribute this to Xorg. I have send him a message again
if he can help out with a this.

What can be done next to get :
- console working
- acceleration support
- driver shipped with Xorg
- other improvements (fix compiler warnings, UseTiming1366, etc.)

Regards,

Pander

> 
> 
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sis_accel.c.patch
Type: text/x-patch
Size: 1396 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130520/f7262d62/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sis_3daccel.c.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130520/f7262d62/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sis310_accel.c.patch
Type: text/x-patch
Size: 6027 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130520/f7262d62/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sis300_accel.c.patch
Type: text/x-patch
Size: 1296 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130520/f7262d62/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130520/f7262d62/attachment-0001.pgp>


More information about the xorg-devel mailing list