Toon posts:

XWindows en een SiS 630

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hey peoples,

Nou heb ik Slackware 8 installed hier met XWindows 4.1.0. En wat wil het probleem, ik krijg X dus niet draaiende.. vermoed dat het die SiS630 chip is die roet in het eten gooit.

Ik heb xf86config gedraait, daar alles netjes ingevult (800x600x16, moet toch lukken zou je zeggen) maar als ik X start krijg ik een geheel wit beeld, en lijkt het allemaal niks meer te doen:(

Ik heb een driver weten te vinden, maar die was uiteraard weer voor X 3.3.6 dus dat schoot ook niet op. Voor de duidelijkheid, dit is een laptop met die SiS chip.

Kernel versie die draait is 2.4.16.

Iemand enig idee hoe dit op te lossen?

Thnx

  • stfn345
  • Registratie: Januari 2000
  • Laatst online: 17-08 15:38
Same here :P

Zeker een cheapass laptop ?

Verwijderd

Topicstarter
Het is een Gericom (schijnt bekend te zijn in Duitsland) met een;

1.1ghz Pentium III, dvd/cdr, 30gb schijfje, 15" blablabla..

Vindt het wel fijn machientje, alleen dit prob is wel ff brak.

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 16-08 16:08

deadinspace

The what goes where now?

Van XFree86.org:
The 630, 300, and 540 are also supported, but this code is new and there are some problems with it in this version
Je kunt proberen XFree 3.3.6 te installeren, hiermee zou hij het wel moeten doen.
Je kunt ook proberen met XFree 4.x de vesa driver te gebruiken.

  • PluueeR
  • Registratie: December 2000
  • Laatst online: 17-08 21:56
Ik heb ook ff zitten stoeien met die laptop van Sonicwave. De installtie van Mandake en SuSE (grafisch) doen het goed grafisch. Alleen als je XFree86 zelf wil configgen lijkt het niet te werken. Ook die framebuffer meuk die SuSE toepast in zijn distro doet het goed op hoge resoluties.

Verwijderd

Topicstarter
deadinspace: ik ben nu dus bezig om de fbdev x server te installeren.. gaat alleen nog niet zo snel met mijn rookie knowledge:)

Verwijderd

'k Heb gisteren toevallig Red-hat 7.1 op m'n laptop gesmeten
(baycom - worldbook 2 = Gericom = clevo 2700C basis dacht ik) en X werkende gekregen. Als je wil schrijf ik vanavond een tutorial maar kijk alvast eens op www.linux-laptop.net.

Verwijderd

In jou laptop zit ook zon SiS 630 ding? Zou wel top zijn als je een tutorialtje kon schrijven!

Op linux-laptop.net had ik al gekeken, vandaar dat ik probeerde die framebuffer x server te installeren, dat wordt daar aangeraden met een RH en Suse distro.. nou heb ik Slack 8, maar dat moet niet zoveel uitmaken lijkt me toch? X is X..

Verwijderd

ah damn, sonicwave = dus /me..

Verwijderd

na 4 uur kutten in de baas zn tijd kan ik eindelijk zeggen:

HET WERKT! JAHOEEEEEEE!!

Sodeju dat maakt deze kutdag weer goed! Alleen werkt mn muis nog niet (pijl staat er wel maar moved niet) maargoed, das niet zon groot probleem denk ik.

En wat was het achteraf weer simpel.. sjongejonge!

Nja goed, nu me ff storten op de muis/sound etc. Ik durf bijna de niet meer de 2.4.16 kernel te compilen:) zal je weer zien dat het weer in de soep draait.

Reinstall meer of minder..

Verwijderd

Laat ook effe weten hoe je het gedaan hebt want er zijn er nl. nog die X niet werkende krijgen, maar liefst 3 topics vandaag.
'k Had trouwens net m'n tutorial af, voor de gegadigden:
http://users.pandora.be/airzimmy

Verwijderd

Ik ga binnen kort zelf ff een totorialtje schrijven ja. Sterker nog, ik ben van plan een site te gaan bouwen voor linux no-no's.

Ik ben zelf ook vrij nieuw met linux, en (bijna) nergens is gewoon duidelijke en complete info te vinden over hoe en wat.. ik werd echt gestoord gisteren, maar de aanhouder wint zeg ik maar:)

Ok, hoe ik het gedaan heb:

Uiteindelijk was het heel simpel: tijdens de installatie van linux krijg je op het end de vraag welke resolutie je wilt als lilo van start gaat. Standaard is dit 80x25 textmode.

Hier koos ik nu dus 1024x768x64k. Hier door zette de setup al mn framebuffer opties in de kernel gelijk goed, no problemo dus. Na de install gereboot en hola! Framebuffer werd automatisch geladen.. console in hi-res is vet:)

Daarna deed ik in /etc/X11:
mv XF86Config XF86Config.old
mv XF86Config.fb-dev XF86Config

Toen XF86Config door gelopen met joe, om mijn muis goed te definieeren. En daarna gelijk startx gedaan. Tot mijn grootte joy kwam ik gelijk in X zonder enige problemen.

Dit is een beetje korte opsomming, maar zoals gezegt ga ik een site bouwen voor linux newbies waarin alles 'duidelijk en compleet' staat uitgelegt.. Ongetwijfeld zijn er meer mensen die hun sanity bijna verloren met dit soort dingen.

Een grootte THNX! aan Pluueer voor het aanhoren van mijn Linux gemekker en voor het helpen met de config van Slack en X!

Verwijderd

Op dinsdag 18 december 2001 13:56 schreef Bas_Work het volgende:
[..]
mv XF86Config.fb-dev XF86Config
ik zou daar cp ipv mv van maken. Bewaar je je originele XF86Config.fb-dev als backup voor als het mis gaat...

Verwijderd

Daarom rename ik hem ook eerst naar .old..

Verwijderd

Ik las het volgende op lkml wat wel interessant lijkt voor SiS630 users:
Hi,

after five days of struggle with reverse-engineered assembler code
transformed to C, I could fix the SiS framebuffer driver for use with
some LCD displays using a LVDS (Chromtel) video bridge. That is what
most laptops use, as for example the Gericoms (and some Claveos I have
heard).

Since I had to re-write a large part of the (totally uncommented) code,
I have not yet mad
e a patch (which would be _huge_). Instead, you can
find the complete source on

http://members.aon.at/~twinisch/sisfb.tar.gz

for download. Just cd to /usr/src/linux/drivers/video/sis/ and extract
the archive there. I based the code on the one contained in kernel
2.4.16 (I saw no sisfb updated in 2.4.17-preX/rcX so this should do.)

To select a mode, either

a) append a kernel parameter, eg. video=sisfb:mode:1024x768x16

or

b) insmod it with the command line "insmod sisfb mode=1024x768x16"

Default mode is 800x600x8 which has problems on LCD panels (see below).

Caveats and issues:

1) I had to change the driver in its very basics for make it work on
LVDS/Chromtel bridges. LVDS data tables were empty in the driver, so
this couldn't have worked by any means. I re-wrote large parts of the
code (hopefully not touching anything not-LVDS-related) to make the
driver read the data contained in the BIOS. This implys the following
issue:

The driver relies - if an LVDS bridge (with or without Chromtel/Trumpion
TV converter) is to be used - on a machine with a BIOS. It will _not_
work with LinuxBIOS. As I believe that LinuxBIOS is not widely used
anyway, I think we could live with that.

2) The driver currently only displays 16bpp modes correctly on LCD
screens (using LVDS bridges, that is). I am working on this and will
release a patch as soon as I found the problem. (VGA is OK). Currently,
the image is very dark on the LCD and - as it seems - in black & white
(???).

3) The current X driver from CVS does work in combination with the
framebuffer driver, but there seems to be at least one problem (not
leading into further trouble on my machine, yet) with the hardware
cursor. I don't know whether this is memory management related or not,
however, to fix this is beyond my scape of knowledge.

4) DRM works fine, as long as you set the memory to more than 16MB.
Below that I saw occasional screen corruption (which again makes me
believe that it's a memory management problem).

5) TV-out doesn't work. The tables in the driver are empty and I have no
idea where to find the data in the BIOS.

6) If you intend to use DRM under X, a word on this: It works. BUT:

a) If the sisfb is compiled as a module and not insmod'ed _before_ the
X driver takes over (so to say), it for some reasons is not able to
detect the video bridge type. This is possibly a hardware problem; it
seems the X driver did something odd that leads into wrong data in the
SiS hardware registers.

b) If the sisfb is compiled into the kernel or insmod'ed _before_ X
starts, this problem does not occure.

c) Always set the video memory to the maximum available. Low mem
situations are not handled well by DRM/DRI.

Now my list of "pleases":

A) Please test the driver and report the result to me. Always include
the corresponding part of the syslog and describe exactly what modes
with what depth you used and what you saw on the screen. Report's like
"I used your driver and I saw nothing" are completely useless.

B) Please report also _when_it_works_. I have no idea how many of you
actually use a SiS chipset so that's interesting to know either.

C) A final please: People _not_ using an LVDS bridge should also test
the code. As said, I tried not to touch anything not-LVDS-related, but
.. ya' never know...

Thomas

PS: Marcello/Linus: If you insist, I would make a patch as well.

PPS: After those five days I need to do something else. Like play Qu*ake
III ... on my SiS 630 :)

--
Thomas Winischhofer
Vienna/Austria
Pagina: 1