View previous topic :: View next topic |
Author |
Message |
Vu n00b
Joined: 03 Jan 2004 Posts: 57
|
Posted: Sat Apr 10, 2004 8:17 pm Post subject: What X driver is used for Sun TGX frame buffer? |
|
|
Hello all,
I've just emerged KDE (with X) on an Ultra 1. Didn't know it was going to take 5 days and 11 hours
Anyway, I ran 'xf86config', only to realise that I have no idea what video driver to use for X.
I've read Ciaranm's mini howto about using the 2.6 kernel and keyboard maps, but it doesn't mention how to configure the frame buffer.
I tried selecting the 'Linux frame buffer (generic)' option, but when I 'startx', I get the following error:
Code: | (EE) FBDEV(0): Map vid mem failed
Fata server error:
AdScreen/ScreenInit failed for driver 0 |
My system is:
Ultra 1 (non-E), 143MHz
256MB RAM
Sun TGX frame buffer (I think it has 1MB memory)
Sun HME ethernet/SCSI
Type 5c keyboard (and i assume same for the mouse)
Any ideas anyone?
Any help is welcome.
Thanks. _________________ Gentoo Noob |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Sat Apr 10, 2004 9:06 pm Post subject: |
|
|
The driver is suncg6.
Here's what the driver's section from my ss20 looks like (which also uses a TGX framebuffer)
Code: |
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 "Card0"
Driver "suncg6"
BusID "SBUS:/iommu@f,e0000000/sbus@f,e0001000/cgsix@2,0"
EndSection
|
|
|
Back to top |
|
|
Vu n00b
Joined: 03 Jan 2004 Posts: 57
|
Posted: Mon Apr 12, 2004 7:07 am Post subject: |
|
|
Hi Weeve.
I changes the XF86Config file to use the 'suncg6' driver and added the BusID line (what does that do exactly?). Is that line supposed to be specific to your machine?
Now the out is: Quote: | (WW) SUNCG6: No matching Device section for instance (BusID SBUS:fb0) found
(EE) No devices detected.
Fatal server error:
no screns found |
If I remove the 'BusID' line, then the screen goes blank (and makes a sound like it's changine resolution or something), and the machine just locks up. Stop-A doesn't work, all I can do is turn it off via the keyboard.
btw - is there a difference between TGX and a TGX+? I typed 'cat /proc/fb' and it came back with
Does that mean anything useful?
And is it unfeasable to run X on a machine like this anyway? I don't plan to, but since I waited this long for it to compile I thought I'd try to get it working...
Thanks.
Vu. _________________ Gentoo Noob |
|
Back to top |
|
|
spam_ Tux's lil' helper
Joined: 14 Jan 2004 Posts: 105 Location: /dev/null
|
Posted: Mon Apr 12, 2004 8:43 pm Post subject: |
|
|
Quote: | I changes the XF86Config file to use the 'suncg6' driver and added the BusID line (what does that do exactly?). Is that line supposed to be specific to your machine? |
It tells X what SBUS slot the cg6 is in. Depends on your setup. Look around the forums for others' ultra1+cg6 XF86Config files, the busid in one of those should work.
Quote: | btw - is there a difference between TGX and a TGX+? I typed 'cat /proc/fb' and it came back with (...) |
The cg6 driver shouldn't care.
Quote: | And is it unfeasable to run X on a machine like this anyway? I don't plan to, but since I waited this long for it to compile I thought I'd try to get it working... |
X itself will be bearable, but scrolling anything will be incredibly slow. Mozilla will make you wait ages to scroll a line. I highly doubt you will like KDE the way it'll run on that machine too. I have a U1-170 with a cg6 and a U1E-200 with a creator and neither would be able to really handle KDE.
Fluxbox is my WM of choice, although the gradients in most themes don't look pretty on the cg6 with 8-bit color. Quite nice and snappy on the U1E-200 with the creator. Doesn't take long to compile either. |
|
Back to top |
|
|
Vu n00b
Joined: 03 Jan 2004 Posts: 57
|
Posted: Tue Apr 13, 2004 4:17 am Post subject: |
|
|
Thanks, I'll have a look around.
I only compiled KDE to see how long it would take. Fluxbox will be put on soon, although this machine will end up just being a server anyway.
Vu. _________________ Gentoo Noob |
|
Back to top |
|
|
|