Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X on Gentoo
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
jjacocks
n00b
n00b


Joined: 26 Jun 2002
Posts: 28

PostPosted: Wed Jun 26, 2002 5:46 pm    Post subject: X on Gentoo Reply with quote

I managed to get X working on my Ultra 5 by grabbing the .deb for the XFree86 server from Debian's pre-release for X 4.2.0. Simply replacing the built binary with this one fixes all issues.
Back to top
View user's profile Send private message
squash
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2002
Posts: 79

PostPosted: Thu Jun 27, 2002 11:49 pm    Post subject: X on gentoo Reply with quote

My X worked fine on my ultra10, which is basicly the same as an ultra5. Creator3d video (ffb2). I had to write my own config file, but the X sources compiled and are running great.

Squash
Back to top
View user's profile Send private message
jjacocks
n00b
n00b


Joined: 26 Jun 2002
Posts: 28

PostPosted: Sun Jun 30, 2002 6:41 pm    Post subject: X config Reply with quote

The problem I had was with memory mapping. I use the onboard (PCI) mach64 GT.
Back to top
View user's profile Send private message
kluzz
n00b
n00b


Joined: 29 Jun 2002
Posts: 18
Location: Bømlo, Norway

PostPosted: Wed Jul 03, 2002 6:02 pm    Post subject: Reply with quote

Would you mind terribly much posting a working config for X on sparc? I have a Sun Blade 1000 that I'd like to try running linux on (just to annoy the Sun people here). Has anyone successfully set up gentoo on a Blade, btw?
_________________
--
Jan Fredrik Leversund
Dark Overlord for Hire
Back to top
View user's profile Send private message
thalavoy
n00b
n00b


Joined: 03 Jul 2002
Posts: 2

PostPosted: Fri Jul 05, 2002 10:16 am    Post subject: Reply with quote

I am getting the xf86mappcimem error too. This is on U5 with on board m64 card (ATI RAGE 3D PRO). Could any one post a good XF86Config file?
One poster mentioned that Debian binary can be used. From where did you get it. Can .deb packages be installed on Gentoo?

Siva
Back to top
View user's profile Send private message
TUX2k
n00b
n00b


Joined: 16 May 2002
Posts: 62
Location: Purmerend, The Netherlands

PostPosted: Sat Jul 06, 2002 12:11 pm    Post subject: Reply with quote

If some one has got the onboard M64 running would you please be so kind to post your X config file here.

I think there are a lot of poeple waiting for it, me incuded. :lol:
Back to top
View user's profile Send private message
jjacocks
n00b
n00b


Joined: 26 Jun 2002
Posts: 28

PostPosted: Sun Jul 07, 2002 6:17 pm    Post subject: X Config Reply with quote

thalavoy wrote:
I am getting the xf86mappcimem error too. This is on U5 with on board m64 card (ATI RAGE 3D PRO). Could any one post a good XF86Config file?
One poster mentioned that Debian binary can be used. From where did you get it. Can .deb packages be installed on Gentoo?

Siva


Just run XF86Setup, as you would on a PC. Specify a type 5 keyboard, and bus mouse, device /dev/sunmouse. The mmap errors are because the XF86 source has bugs in it regarding Sparc. You can install the .deb by grabbing the dpkg tool, and running the extract command to dump the files.
Back to top
View user's profile Send private message
borrito
n00b
n00b


Joined: 04 Jul 2002
Posts: 4
Location: Houston, TX

PostPosted: Sun Jul 21, 2002 10:17 pm    Post subject: Reply with quote

I was able to get X working on my ultra10 by using the debian xserver-xfree86_4.2.0-0pre1v1.deb.

I first emerged X, which when ran gave me the xf86mappcimem problem. On top of that I installed the xserver deb.

Code:

ar -xf xserver-xfree86_4.2.0-0pre1v1.deb
tar zxvf data.tar.gz
cp -R usr/* /usr


My Ultra10 has an ATI Mach64 GP board in it. I thought I would go ahead and post my XF86Config file since no one else has.

Code:

Section "Module"
    Load        "dbe"
    SubSection  "extmod"
      Option    "omit xfree86-dga"
    EndSubSection
    Load        "type1"
    Load        "freetype"
EndSection

Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "Keyboard"

    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "sun"
    Option "XkbModel"   "type5"
    Option "XkbLayout"   "us"
EndSection

Section "InputDevice"

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "Busmouse"
    Option "Device"      "/dev/sunmouse"
    Option "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier "PS790"
    HorizSync 30-95
    VertRefresh 50-180
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "ati"
    VendorName   "ATI"
    BoardName   "Mach64 GP"
    ChipSet   "ati"
    ChipID   0x4750
    ChipRev   0x5c
    BusID   "PCI:1:2:0"
    #VideoRam    4096
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Card0"
    Monitor     "PS790"
    DefaultDepth 8

    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection


works for me, but YMMV.
Back to top
View user's profile Send private message
bert
n00b
n00b


Joined: 20 Jun 2002
Posts: 11
Location: Amsterdam

PostPosted: Sat Aug 03, 2002 7:52 am    Post subject: Reply with quote

I have X running from ebuild also, on my Ultra 1 with CG6 graphics card (aka Turbo GX I think). Getting my keymap correct was the most painful part. It can take a long time for X to start up so don't give up too soon. Sorry if all this is old news...

My XF86Config is as follows.

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

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

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "pex5"
        Load  "record"
        Load  "xie"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbKeycodes"  "sun(type5)"
        Option      "XkbTypes"     "default"
        Option      "XkbCompat"    "default"
        Option      "XkbSymbols"   "sun/us(sun5)"
        Option      "XkbGeometry"  "sun"
        Option      "XkbRules"  "xfree86"
        Option      "XkbModel"  "sun"
        Option      "XkbLayout" "sun/us"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 64.3
        VertRefresh  50.0 - 90.0
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "suncg6"
        BusID       "SBUS:/sbus@1f,0/cgsix@2,0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection
Back to top
View user's profile Send private message
gilesc
n00b
n00b


Joined: 01 Dec 2002
Posts: 40

PostPosted: Mon Mar 03, 2003 10:12 pm    Post subject: Screen Blinking Reply with quote

I've managed to get X more or less running on my Ultra 5 with the onboard PGX24 (ATI Rage 3D).

There is an annoying thing however, every few seconds the screen blanks and then comes back.

Any ideas as to what might be causing this? I was wondering whether it was related to a sync problem between the Monitor and the card. I have a 19" Vision Master Pro 451 and I'm running 1600x1200 8-bit @75Hz, which I believe is a pre-set mode on the monitor.

The monitor works fine at that mode under x86.

I'm using more or less the XF86Config given above, except my board rev is 0x7c
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Tue Mar 04, 2003 9:41 pm    Post subject: Reply with quote

I have X running on my sunblade 100. here's the config:

Code:

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/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      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/input/mice"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30-68
        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     "accel"                     # [<bool>]
        #Option     "crt_screen"                # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI"
        BoardName   "Mach64 GR"
        ChipSet     "ati"
        ChipId      0x4752
        ChipRev     0x27
        BusID       "PCI:0:19:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1280x1024"
        EndSubSection
EndSection
[/code]
Back to top
View user's profile Send private message
joshuap
n00b
n00b


Joined: 26 Mar 2003
Posts: 3

PostPosted: Wed Mar 26, 2003 3:52 pm    Post subject: pcimemmap? Reply with quote

Hey all,

The pcimemmap errors should be no more. I posted a fix to it a while back, which should have been included. It's the pci_domains fix by Dave Miller. Be sure you emerge of X includes this patch, I believe the name of it is pci_domains100.

Anyhow, feel free to email if you have any problems,

Joshua

pdog4x4@wideopenwest.com
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Mon Apr 07, 2003 1:04 pm    Post subject: Reply with quote

So I recently upgraded X to 4.3.0 un by sunblade 100 this weekend, and now I can't seem to get any resolution higher than 640x480 to work. My config file is the exact same as it is above (posted a while ago). I tried re-running XFree86 -configure again, but it comes up with the same issue. When trying to run X, forcing it to something higher than 640x480, i get the following error:

(EE) Screens(s) fournd, but none have a usuable configuration.

fatal server error:
No screens found.

Anyone seen this before? everything works perfectly when I let it use 640x480, including the mouse.
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 434

PostPosted: Mon Apr 07, 2003 2:53 pm    Post subject: Reply with quote

I think you have to play with the hsync and vsync, and if the x is getting those value from ddc, you can disable it (can't remember which option exactely)

xming
Back to top
View user's profile Send private message
nadmaximus
n00b
n00b


Joined: 30 Jan 2003
Posts: 17

PostPosted: Mon Apr 07, 2003 6:56 pm    Post subject: re: mrgalihad's problem Reply with quote

Well, I tried your XF86Config file, and it did not work for me either. After modifying the HorizSync and Vertrefresh values to be correct for my monitor, I was able to reach 1024x768, but nothing higher. My monitor (a 'Sun' (sony) GDM-5410) should be able to reach 1600x1200.

I noticed that the monitor's OSD indicated a hsync & vrefresh that seemed out of line for the resolution. I tried using gtf to generate a modeline for 1024x768 70hz, put that in and the OSD indicated an hsync of about 115 and a vert refresh of 144. It's almost like the value is doubled from what is specified by the modeline.

Weird, eh? I'm still looking at the issue here.

-price
Back to top
View user's profile Send private message
garlik42
n00b
n00b


Joined: 17 Dec 2002
Posts: 57
Location: Connecticut USA by the water ...

PostPosted: Thu Apr 17, 2003 8:24 pm    Post subject: My Xconfig for ultra 10 using 4.3 Reply with quote

Here is my config file for anyone who may need it
I have an ultra 10 with a sparc 17 inch monitor.

Quote:

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection


Section "ServerFlags"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 15"
Option "xkbRules" "sun"
Option "xkbModel" "type5"
Option "xkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Busmouse"
Option "Device" "/dev/sunmouse"
EndSection

Section "Monitor"
Identifier "sun17"
HorizSync 30-80
VertRefresh 40-150
vendorname "[sun17]"
modelname "[sun17]"
ModeLine "1600x1200/60Hz" 162 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
EndSection

Section "Device"
Identifier "mach64"
Driver "ati"
vendorname "ATI"
boardname "Mach64 3D RAGE II"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "mach64"
Monitor "sun17"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "1600x1200/60Hz" "1280x1024" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "1600x1200/60Hz" "1280x1024" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "1600x1200/60Hz" "1280x1024" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "InputDevice"

Identifier "Keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Driver "keyboard"
EndSection


Section "InputDevice"

Identifier "Mouse"

Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Driver "mouse"
EndSection



Enjoy
Back to top
View user's profile Send private message
nadmaximus
n00b
n00b


Joined: 30 Jan 2003
Posts: 17

PostPosted: Thu Apr 17, 2003 8:30 pm    Post subject: How did you generate the modeline? Reply with quote

How did you generate that modeline, Garlik?


-price
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