Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: BobTarragon on August 04, 2009, 06:33:06 PM
-
Has anyone got Xorg working on an eee 1000HE?
I need conky to see battery status but it flickers in Vesa so I need Xorg. I've tried the instructions in the Xorg-7.4 TCZ extension, then an Xorg.conf from the eeeuser forum but they don't work.
-
Is this one of those 1024x600 resolutions? Have you tried the 915resolution extension?
On several eeePC machines the 916resolution provided good results together with our standrd Vesa tinyX. All that is typically needed is to place the 915resolution extension in your extension directory.
-
Yes, the screen is 1024x600 and I am already using the 915resolution extension which works very well in Vesa. I'll have another go at Xorg tonight and post the specific error messages.
-
I am on an Asus 1000HE with TCL 2.2 booted from an SD card in Xvesa at 1024x600 using the 915resolution extension.
Installed Xorg-4.7.tczl and then Exit to Prompt.
sudo su
Xorg -configure
X -config /root/xorg.conf.new
The screen goes black and then returns to the root console.
Attached is /var/log/Xorg.0.log which complains about agpgart toward the end. Everything else before that looked fine (to me...).
I've tried the same without the 915resolution (starting from Xvesa at 800x600 stretched) with the same result.
In the forum there was a mention of an agp-intel module, is that what I need? Where from?
I managed to get DSL to run with Xorg (after some mild wrestling) but that was a few years ago so I could do with some help please.
-
Did you install graphics-2.6.29.1-tinycore.tczm ?
-
:) I've come back to report that I needed to install graphics-2.6.29.1-tinycore.tczm. I bet it was installed before but somehow it wasn't loaded... anyway I'm one step further ahead.
Now I get a black screen with the Xorg cross mouse cursor but JWM does not start.
I keep trying...
Edit: I have added
/usr/local/bin/Xorg -nolisten tcp &
to ~/.xsession and
sleep 4
on the next line (as suggested by roberts in another post).
Xorg is running now !! I'll write this up...
-
:-\ Xorg works fine now but my reason to get it working was to prevent conky from flickering. Unfortunately conky was: "Compiled to match xlibs in base tc, hence no double-buffering"
Oh well, I'll keep Xorg for other reasons then.
Thanks for the pointers roberts and bmarkus.
-
So in summary, here are the steps to get Xorg working in TCL 2.2 on an Asus eee 1000HE:
Install 915resolution extension
Add 915resolution 50 1024 600 32 to /opt/bootlocal.sh
Install graphics-2.6.29.1-tinycore extension
Install Xorg-7.4.tczl extension and follow its instructions:
Drop to text mode, get a root console (sudo su), and then Xorg -configure
At this point it's best to get back to the xvesa mode with startx so that files can be edited and copied without the need to use the console and so that the changes get backed up when rebooting.
Copy /root/xorg.conf.new to /etc/X11/xorg.conf (I used emelfm for doing this.)
Open /etc/X11/xorg.conf in an editor with root access (e.g. sudo leafpad /etc/X11/xorg.conf)
Change the InputDevice section to include the Option line with your country code.
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "uk"
EndSection
Add the following to the end of the file:
Section "DRI"
Group "staff"
Mode 0666
EndSection
Section "Extensions"
Option "Composite"
EndSection
Now edit /home/tc/.xsession to replace the X line with Xorg -dpi 80 -nolisten tcp &
The -dpi 80 gives a font size similar to what xvesa has.
Add xorg.conf to /opt/.filetool.lst by clicking the Desktop, Tools/Add to Filetools and browsing to the file in /etc/X11.
Reboot making sure you backup your settings.
It will take a few seconds longer but you will get Xorg with accelerated graphics.
-
Just a few misc. comments:
Add /usr/local/sbin/915resolution 50 1024 600 32 to /opt/bootlocal.sh
Leaving out the (/usr/local/sbin) path is fine, as of TC v2.0/1.4.1
Copy /root/xorg.0.conf to /etc/X11/xorg.conf (I used emelfm for doing this.)
I think this is /root/xorg.conf.new
Now edit /home/tc/.xsession to replace the X line with /usr/local/bin/Xorg -nolisten tcp &
about the same thing about the path here
and then add on the next line sleep 4
As of TC 2.1, this shouldn't be required (uses waitforX)
Add /etc/X11/xorg.conf to /opt/filetool.lst
Remember that the first / should not be included
-
Thanks for the comments, I will update my post accordingly.
I've added the "sleep 4" after I got a black screen when testing with X -config /root/xorg.conf.new thinking that jwm was started too early but it turned out from the forum that this test does not start jwm. I've then rebooted with the sleep 4 in place and Xorg+jwm started not because of this line but because jwm was started... it's easy to make wrong assumptions :-[
I have also added -dpi 80 to the Xorg command.