Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sgi octane X11 with gfx impactSR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 525

PostPosted: Tue Apr 10, 2007 12:57 pm    Post subject: sgi octane X11 with gfx impactSR Reply with quote

hi,
we are talking about octane equipped with GFX impact SR family
kernel driver video Impact SR
dmseg | grep "fb"
fb0: ImpactSR 1RSS frame buffer device
installed: x11-drivers/xf86-video-impact

/etc/X11/xorg.conf

Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/share/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "extmod"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   #Load  "dri"
   Load  "glx"
   Load  "freetype"
   Load  "type1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/mouse"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
 ### Comment all HorizSync and VertSync values to use DDC:
   HorizSync    31.5 - 31.5
   HorizSync    35.2 - 35.2
   HorizSync    35.5 - 35.5
   VertRefresh  50.0 - 70.0
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional

   Identifier  "Card0"
   Driver      "impact"
        Option      "bitplanes" "8"
EndSection

Section "Screen"

   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
           Option     "rgb bits" "1"      
           Visual     "StaticColor"      
      #Modes     "1024x768"
      Modes     "1280x1024"
   EndSubSection
EndSection






invoking startx has this error
any idea about how to fix it ?


Code:
xauth:  creating new authority file /root/.serverauth.9368


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17.10-sgimips-octane2-R12k mips64
Current Operating System: Linux satura 2.6.17.10-crazed-snow-weasel-sgi-octane-r12k #23 SMP Mon Apr 9 13:45:29 Local time zone must be set--see zic  mips64
Build Date: 25 September 2006
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 10 12:50:11 2007
(==) Using config file: "/etc/X11/xorg.conf"
(EE) end of block range 0x1fef < begin 0xfffffff0
(EE) end of block range 0xfb < begin 0xfffffffc
(EE) end of block range 0xfef < begin 0xfffffffc
(EE) end of block range 0xfb < begin 0xfffffffc
(EE) end of block range 0xfef < begin 0xfffffff0
(EE) end of block range 0xfffef < begin 0xfffffff0
(EE) end of block range 0x1fef < begin 0xfffffff0
(EE) end of block range 0xfb < begin 0xfffffffc
(EE) end of block range 0xfef < begin 0xfffffffc
(EE) end of block range 0xfb < begin 0xfffffffc
(EE) end of block range 0xfef < begin 0xfffffff0
(EE) end of block range 0xfffef < begin 0xfffffff0
(EE) IMPACT(0): Width = 800 and height = 600 is not supported by by this driver

Fatal server error:
AddScreen/ScreenInit failed for driver 0

XIO:  fatal IO error 131 (Connection reset by peer) on X server ":0.0"

      after 0 requests (0 known processed) with 0 events remaining.



Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 525

PostPosted: Sat Apr 14, 2007 8:54 am    Post subject: Reply with quote

the newport driver (sgi indy gfx xl24) report the same error as the impact one (octane gfx impactSR *SI)

could someone show me a correct /etc/X11/xorg.conf ?

p.s.
i know both drivers could only work
1) 8/24 bit of color
2) only 1280x1024
Back to top
View user's profile Send private message
narrenschip
n00b
n00b


Joined: 26 Jun 2003
Posts: 32
Location: Belgium

PostPosted: Mon Apr 16, 2007 12:28 pm    Post subject: Re: sgi octane X11 with gfx impactSR Reply with quote

ddc wrote:

Code:

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
 ### Comment all HorizSync and VertSync values to use DDC:
   HorizSync    31.5 - 31.5
   HorizSync    35.2 - 35.2
   HorizSync    35.5 - 35.5
   VertRefresh  50.0 - 70.0
EndSection


Code:

(EE) IMPACT(0): Width = 800 and height = 600 is not supported by by this driver



You should change the "Monitor" settings to something more sensible like
Code:

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Monitor Vendor"
  ModelName    "Monitor Model"
   HorizSync    35.5 - 80.0
  VertRefresh  50.0 - 76.0
EndSection


Limiting 'HorizSync' it to 35.5KHz will only alow for 800x600 @ 56Hz (standard SVGA). 80KHz should be enough for 1280x1024 @ 72Hz, which is if I remember correctly an SGI display mode. I'll check the exact settings of my SGI Indy later on.

W;¬)
Back to top
View user's profile Send private message
SnakeByte
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 177
Location: Europe - Germany

PostPosted: Thu Apr 19, 2007 5:31 pm    Post subject: Reply with quote

The settings should depend strongly on the used monitor:

Here I have a SONY GDM20D11 and use the following settings:

Code:

Section "Monitor"

        Identifier  "My Monitor"
        DisplaySize    385   395
        HorizSync       60.0 - 81.0
        VertRefresh    60.0 - 120.0

EndSection




But according to
Quote:
http://www.monitorworld.com/Monitors/sony/gdm20d11.html
the monitor could do a bit more.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 525

PostPosted: Thu Apr 19, 2007 9:49 pm    Post subject: Reply with quote

thank you a lot guys .... i will use your informations to set up the indy-newport and the octane-impactSR gfx

about graphically mode, my CRT monitor is a sun that seems to be good only with irix @ 1024x798, so i will "try" other configurations

in HOPE i trust
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Thu Apr 19, 2007 11:56 pm    Post subject: Reply with quote

ddc: It's your lucky day... just managed to fire up the Octane (I was having ethernet cabling issues)...
Code:
stuartl@beast ~ $ ssh speedracer.local cat /etc/X11/xorg.conf
Section "Files"

    FontPath    "/usr/share/fonts/local/"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/CID/"
    FontPath    "/usr/share/fonts/Speedo/"
    FontPath    "/usr/share/fonts/75dpi/"
    FontPath    "/usr/share/fonts/100dpi/"

EndSection

Section "Module"

    Load        "dbe"

    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection

    Load        "type1"
    Load        "freetype"

EndSection


Section "ServerFlags"

    Option      "DisableVidModeExtension"

    Option      "blank time"    "10"    # 10 minutes

    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"

EndSection

Section "InputDevice"

        Identifier      "Keyboard1"
        Driver  "keyboard"
        Option  "CoreKeyboard"
        Option  "XkbRules"  "xfree86"
        Option  "XkbModel"  "pc104"
        Option  "AutoRepeat"    "500 30"

EndSection

Section "InputDevice"

        Identifier      "Mouse1"
        Driver  "mouse"
        Option  "CorePointer"
        Option  "Protocol"      "ImPS/2"
        Option  "Device"        "/dev/input/mice"
        Option  "ZAxisMapping"  "4 5"

EndSection

Section "Monitor"

        Identifier      "Monitor1"
        DisplaySize  340        270
        #DisplaySize  380        310
        HorizSync       30.0 - 82.0  # multiple ranges of sync frequencies
        VertRefresh     50.0 - 75.0  # typical for a single frequency fixed-sync monitor
        #ModeLine "1280x1024@70Hz" 130  1280 1320 1480 1728  1024 1029 1036 1077

EndSection

Section "Device"
    Identifier  "Impact1"
    Driver      "impact"
    Option      "Depth" "24"
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "Impact1"
    Monitor     "Monitor1"
    DefaultDepth 24
    SubSection "Display"
                Depth           8
                Modes           "1280x1024"
    EndSubSection
    SubSection "Display"
                Depth           24
                #Modes          "1280x1024"
                Modes           "2048x1576" "1600x1200" "1280x1024"
    EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Layout1"
        Screen          "Screen1"
        InputDevice     "Mouse1"        "CorePointer"
        InputDevice     "Keyboard1"     "CoreKeyboard"
EndSection


I use this config with a 20" Sun Microsystems flat-panel CRT successfully. It runs at a resolution of 1280x1024 (despite my attempts to push this res up).
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 525

PostPosted: Fri Apr 20, 2007 9:44 am    Post subject: Reply with quote

thank you very much, it is working good !!!

i will apply this xorg.conf ideas to the indy newport ... as i'd like to have X11 running to improve the usage of these machines.



the octane is now able to run X11, and i can finally use as really power workstation !!!
Ok, the only way to have X11 is to have a impactSR gfx, and i have it, so i could say i'm ready, and i'm really ready .... but i'm curious and i like to investigate (in a part of my free time) about this XFILE: i've mounted the gfx ESI (my impactSR gfx) on the same XIO cartridge of the gfx V6, 'cause my octane2 was originally equipped with the V6 and i recently added the ESI as add on piggy back board. Well, irix is able to use both these gfxs, while gentoo has issue if i enable the V6 as supported fb kernel driver: the kernel simply stops his booting without kernel panic but entering into an infinite loop. If i remove the kernel driver support for the V6 (as kernel static driver or as kernel module), all goes well and i can appreciate the console. It is incredible, but it happens: they are differently allocated, and they are different chips, but ESI is conflicting with the V6.. Also with the ESI mounted there is no way to use the V6, if i remove the impactSR driver the kernel has infinite loop issue: i ve to physically remove the ESI to use the V6
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Fri Apr 20, 2007 10:40 am    Post subject: Reply with quote

Yeah... I don't think VPro and ImpactSR has been attempted in the same box under Linux before. The person to talk to would be Skylark on the #mipslinux channel... he's the individual who reverse engineered the IP30 originally, and knows the most about this hardware.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum