Hi,

I've been working on the problem described below, I have found that the silicon motion 
driver under Solaris has a problem accessing some device registers when using MMIO.  
My solution was to implement the "NoMMIO" option in the driver (at least partially 
anyway? Sufficient to get XFree86 up and running under Solaris)  My efforts are 
attached, as a patch to the silicon motion driver.  The patch seems more of a 
workaround though, since I've not discovered the why MMIO does not work correctly. 

One problem remains, exiting XFree86 back to the Solaris text console results in a 
blank screen, I think this is down to a few device control registers not being 
restored correctly, forcing both foreground and background colours to be the same.

Best regards,

Simon.


 <<smi_driver.patch>> 
 <<smi.h.patch>> 

        -----Original Message-----
        From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Simon Egerton
        Sent:   01 June 2004 11:09
        To:     Marc Aurele La France
        Cc:     [EMAIL PROTECTED]
        Subject:        RE: [XFree86] Problems using Xfree4.4 with Solaris 8 and a 
Silicon Motion SM722 graphics device

        Hi Marc,

        I tried installing the aperture driver, but this had no effect on my system.  
I'll look into the Int10 driver when I have some spare time...

        Cheers,

        Simon.

                -----Original Message-----
                From:   Marc Aurele La France [SMTP:[EMAIL PROTECTED]
                Sent:   27 May 2004 19:50
                To:     Simon Egerton
                Cc:     [EMAIL PROTECTED]
                Subject:        Re: [XFree86] Problems using Xfree4.4 with Solaris 8 
and a Silicon Motion SM722 graphics device

                On Mon, 24 May 2004, Simon Egerton wrote:

                > I'm having problems getting XFree 4.4 up and running with Solaris 8 
on my
                > ix86 base board using a Silicon Motion 722 graphics device.  I've 
installed
                > the Solaris 8 binaries and configured the XF86config file, but when 
I launch
                > XFree I'm left with a blank screen.  I've tried the same hardware 
set-up
                > under Linux, installing again from the 4.4 binaries, and everything 
works
                > fine.  I've attached the respective log files, Solaris and Linux.  
>From the
                > Solaris log file I can see that the video BIOS is not detected, and 
the
                > Silicon Motion driver is stuck in a loop issuing video reset 
commands.

                > Has anyone else experienced the same problem? Is there a fix or 
workaround to
                > get XFree working under Solaris with this SM graphics device?

                Here's something you can try on the Solaris side.  Do everything as 
root.

                Install the aperture driver.  Intructions for this are in 
README.Solaris.
                Ignore the part of it that says the aperture driver shouldn't be 
required in
                your situation.

                After the reconfiguration boot back into Solaris, but before starting 
the
                server, ensure that /dev/fbs/aperture exists and move (or rename) 
/dev/xsvc.
                Now start the server.

                I can't promise that this'll work, but if it does, you'll end up with a
                functional setup (and I have changes to make for the next release).  
If this
                doesn't work, it's likely Solaris clobbers the BIOS data the server 
needs, in
                which case changes to the int10 module will be needed to always 
re-initialise
                the adapter.

                Marc.

                
+----------------------------------+-----------------------------------+
                |  Marc Aurele La France           |  work:   1-780-492-9310           
|
                |  Computing and Network Services  |  fax:    1-780-492-1729           
|
                |  352 General Services Building   |  email:  [EMAIL PROTECTED]        
  |
                |  University of Alberta           
+-----------------------------------+
                |  Edmonton, Alberta               |                                   
|
                |  T6G 2H1                         |     Standard disclaimers apply    
|
                |  CANADA                          |                                   
|
                
+----------------------------------+-----------------------------------+
                XFree86 developer and VP.  ATI driver and X server internals.
                

        _______________________________________________
        XFree86 mailing list
        [EMAIL PROTECTED]
        http://XFree86.Org/mailman/listinfo/xfree86

Attachment: smi_driver.patch
Description: smi_driver.patch

Attachment: smi.h.patch
Description: smi.h.patch

Reply via email to