Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sparc more cutting edge than x86? follow xorg sticky note?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Thu Sep 30, 2004 7:13 pm    Post subject: Sparc more cutting edge than x86? follow xorg sticky note? Reply with quote

First I noticed that 2.4.27 appeared in stable on sparc before
on x86 (x86 is still at 2.4.26-r{something}).

Now today I see xorg is appearing in my emerge -up world output.

Yikes! I'm not ready... 8O

The sparc forum sticky on xorg emerging was written while it
was still in unstable. Do the directions there still apply :?:

What is the latest story with Elite 3D (M3 in my case)?
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Thu Sep 30, 2004 11:29 pm    Post subject: to clarify... Reply with quote

Others not using the deep switch may not have seen this
package appear today. Check out the difference between Deep
and no Deep:

Code:
# emerge -up world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] app-arch/sharutils-4.2.1-r10 [4.2.1-r9]

# emerge -uDp world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild  N    ] x11-base/xorg-x11-6.8.0-r1 
[ebuild  N    ] app-arch/rpm2targz-9.0-r2 
[ebuild  N    ] sys-apps/utempter-0.5.5.5 
[ebuild  N    ] x11-terms/xterm-191 
[ebuild     U ] app-arch/sharutils-4.2.1-r10 [4.2.1-r9]


Thus the 8O with me!
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Fri Oct 01, 2004 1:22 pm    Post subject: I took the plunge... and it is great Reply with quote

I took the plunge and it worked very well.
I used emerge -uD world and it found the
other related packages needed to build and
support xorg-x11, in a version 6.8.0.

The current XF86Config was attempted to be patched with
the best stuff needed for xorg. That was pretty close except
for the keyboard. I didn't need to build a mesalib from
their source (possibly included in the current xorg?), and
I now have glxgears and glxinfo working for the first time!

I get between 95 and 120 FPS from glxgears, running
a 300 Mhz Ultra 60 with Elite 3D m3 video.

In case it helps anyone else, here is my config file
for xorg (includes depreciated keyboard settings
which are currently required for Sun keyboard
and a 2.4 kernel) :

Code:

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Default Screen" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

Section "InputDevice"
        Identifier  "Keyboard0"
#       Driver      "kbd"
        Driver      "keyboard"
        Option          "CoreKeyboard"

        Option          "XkbRules"      "sun"
        Option          "XkbModel"      "type5"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "ctrl:swapcaps"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/sunmouse"
        Option          "Protocol"              "BusMouse"
EndSection

Section "Monitor"
        Identifier   "Sun GDM-20D10"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync       30-92
        VertRefresh     50-85
        Option          "DPMS"
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
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        Identifier  "Elite 3D"
        Driver      "sunffb"
        Option      "UseFBDev"          "true"
        BusID       "SBUS:/SUNW,afb@1e,0"
EndSection




Section "Screen"
        Identifier      "Default Screen"
        Device          "Elite 3D"
        Monitor         "Sun GDM-20D10"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Keyboard0"
        InputDevice     "Mouse0"
EndSection

Section "DRI"
        Mode 0666
EndSection



I'm going to give glx-rss (GL screen savers) a whirl...
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Mon Oct 04, 2004 3:26 pm    Post subject: Reply with quote

With xorg-x11-6.8.0-r1, you no longer need to rebuild libGL from mesa source if you want any sort of reasonable performance with Elite3d (m3 or m6).
The 95--120 FPS you see is probably optimal for 300MHz CPUs and afb (Elite).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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