I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / WebSurfer Areas / WebSurfer Technical Stuff
X Windows
Running X Windows on the WS

New MessageX Windows (modified 0 times) gern blanston
Profile
Alrighty... After a few days of hacking, I've learned a few things that might be useful. I'll be posting a few other bits and pieces shortly.

* Running X Windows *

I fiddled with the DNARD sources for a good bit. It's a mess. It's written for ARM32. If anyone gets it working, POST IT!

In the meantime, use the framebuffer device. Luckily, the WS has vesa bios extensions built in, so this is relatively easy.

The exact steps:

* Compile a new kernel with the fb enabled.

From 'make menuconfig', go to Console Drivers, and add:
- Support for frame buffer devices
- VESA VGA graphics console
- Advanced low level driver options
- 8 bpp packed pixels support
- 16 bpp packed pixels support
- 24 bpp packed pixels support
- 32 bpp packed pixels support
- Select compiled-in fonts
- VGA 8x8 font
- VGA 8x16 font

Note: the fonts are supposed to be optional

* Setup lilo.conf

Setup lilo.conf with "vga=ask" or the exact mode number you want. See Documentation/fb/vesafb.txt for mode numbers.

Note that the WS can do:
640x480 at 8-bit, 16-bit, 24-bit
800x600 at 8-bit, 16-bit
1024x786 at 8-bit

Run lilo (more likely plilo ;)

* Reboot to see the fb work

Note: vga=ask will NOT list the fun modes, for 800x600 at 16bit, use 0314

* Install XF86_FBDev and Configure X Windows

Install XF86_FBDev if it isn't installed. Make sure the /etc/X11/X is a symlink to XF86_FBDev

Exerpts from my /etc/X11/XF86Config:

Section "Device"
  Identifier "Primary Card"
  VendorName "Unknown"
  BoardName "Unknown"
EndSection

Section "Screen"
  Driver "FBDev"
  Device "Primary Card"
  Monitor "Generic Multisync"
  Subsection "Display"
    Depth 16
    Modes "default"
    ViewPort 0 0
  EndSubsection
EndSection

Note: apparently you HAVE to tell it the color depth and it MUST match the mode you selected from lilo or boot. If anyone has a good idea for a work around to this, do tell.


* Run X Windows

Cross your fingers and 'startx'

Enjoy,
Gern

04-30-2000 23:02:47

New MessageRE:X Windows (modified 0 times) Corporal Clegg
Looks good so far.

Any word on which/if any of these resolutions will still work with a unit attached through the TV-Out to a television?

Thanks in advance for any info you might have.

05-01-2000 02:06:32

New MessageRE:X Windows (modified 0 times) froo
Whoohoo! Worked for me. I checked the mode table in vesafb.txt, and even though the 800x600 and 1024x768 modes work on a monitor, the TV-out only works in the 640x480 modes. These would be:

256 colors: 301
32k colors: 310
64k colors: 311
16M colors: 312

With the TV-out, you lose a pretty good chunk of the top and bottom of the screen on the TV. I guess there's no easy way to avoid that..

05-02-2000 11:58:58

New MessageRE:X Windows (modified 0 times) Corporal Clegg
You can't see part of the screen on the television because televisions have a 3:2 aspect ratio, unlike computer monitors which have a 4:3 aspect ratio. This means that you can only get 600x400 on your television screen. Some video adapters can do ratios such as this, but I believe that the vesa framebuffer will not allow this, so you're pretty well stuck.
05-02-2000 18:41:44

New MessageRE:X Windows (modified 0 times) Bishop
I don't know if this will help you because I know jack about X Windows, but the regular Windows driver package has options for V Sync and H Sync which force the display to conform to the tv. Some lines of text get a little cut off but it's no big deal. Hope this helps in some way.
05-02-2000 23:16:22

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3