Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: libretto on July 27, 2009, 05:30:33 AM

Title: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 05:30:33 AM
I have a S3 savage IX video in a Toshiba Libretto L3. Just couldn't get the display to change, looks like just stuck with 1024x768, tried 1280x1024 or 800x600...... none of those work. ONLY 1024x768
Any idea ?

Thanks.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: curaga on July 27, 2009, 05:50:35 AM
Do the framebuffer modes help? (vga=xxx bootcodes, see f2/f3 on boot).

The Xorg extension would have full support for the card, including 3D and video accel, if you wish to go that way.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 06:59:47 AM
Tried (vga=xxx) in grub. it just refuse to work other than 1024x768
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 07:58:41 AM
curaga,
FYI. Tools | Xversa Setup  also doesn't work. Any idea what might be the problem ? My eth0 also desn't work. So make Tinycore unuseable. Really like the idea of TC thought.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: curaga on July 27, 2009, 08:41:06 AM
Your graphics chipset is likely not fully VESA compliant. Using Xorg would give you full graphics access.

eth0, what is the chipset? (lspci should show you)
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 08:59:09 AM
curaga,
How do I use Xorg ? Sorry newbie in Linux.

eth0 is intel 82557/8/9/0/1 Ethernet Pro 100(rev 08)
should be a standard old pci.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 09:19:47 AM
curaga,
puppy's Vesa setup can display both 1280x600 16/24bit so this resolution should be supported right ? MS W2K also no problem.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Juanito on July 27, 2009, 09:34:32 AM
curaga,
How do I use Xorg ? Sorry newbie in Linux.

It's pretty much a question of loading the Xorg-7.4 extension and reading the info file. You might not need an xorg.conf file at all, but it's probably a good idea to follow Curaga's instructions in the info file.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Guy on July 27, 2009, 10:11:55 AM
If Xorg is installed, Xvesa Setup won't run. To overcome this, remove Xorg from the tce folder, start the computer without it, run Xvesa Setup to change the screen resolution. Then put Xorg back, and restart the computer for it to be loaded.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 10:28:53 AM
Juanito,

When I run for xshells: sudo su  Xorg - configure is message show up:
Fatal server error:
Server is already active for display 0
  If this server is no longer running, remove /tmp/.X0-lock
  and start again.

Could it be the LCD not detecting ? (display 0= default)

What should I do ?

Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: bmarkus on July 27, 2009, 10:30:39 AM
Exit to text mode before running Xorg -configure
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 10:36:24 AM
Guy,
After removing  Xorg-7.4.tcel/Xcesa.tce/Xlibs_support.tcel, cann't even start Tools | XVesa Setup.
 
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 10:39:03 AM
bmarkus,
Exit to text mode before running Xorg -configure

I got a black screen.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Juanito on July 27, 2009, 10:44:53 AM
You might have to run that as root, i.e.:
Code: [Select]
$ sudo Xorg -configure
If that fails, using google on libretto xorg.conf should bring you a suitable config file.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 27, 2009, 10:55:51 AM
Juanito,
You might have to run that as root, i.e.:
Code: [Select]
$ sudo Xorg -configure
If that fails, using google on libretto xorg.conf should bring you a suitable config file.

Did run as root. Just black screen. Also google about this topic still no clue, that's why I came here for help.
 :)
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: ^thehatsrule^ on July 27, 2009, 08:53:35 PM
Attaching (or use inline code tags) your config (/etc/X11/xorg.conf), log (/var/log/Xorg.0.log) and ~/.xsession might help
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 30, 2009, 01:21:13 AM
thehatsrule,
this is the  xorg.conf.vesa i found under X11
Code: [Select]
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/X11/modules"
FontPath     "/usr/local/lib/X11/fonts/misc/"
FontPath     "/usr/local/lib/X11/fonts/TTF/"
FontPath     "/usr/local/lib/X11/fonts/OTF"
FontPath     "/usr/local/lib/X11/fonts/Type1/"
FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load  "glx"
Load  "dri"
Load  "extmod"
Load  "dbe"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "auto"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
Option     "DPMS"
EndSection

Section "Device"
Identifier  "Card0"
Driver      "vesa"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24

SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection
See if you could help me. Thanks.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Juanito on July 30, 2009, 02:23:12 AM
You could try editing this part:
Code: [Select]
Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24

SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

..so that it looks something like this:
Code: [Select]
Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport   0 0
Depth     16
Modes     "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Where you need to substitute the colour depth and resolutions supported by your machine.

BTW - I was sure I saw somebody (Roberts?) had got a libretto display working with Xvesa, but maybe that was before tinycore...
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 30, 2009, 07:06:23 PM
Juanito,
But everytime I reboot it's back to the original old form, how do i make it "stay" inside the /etc/X11 dir ?
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Juanito on July 31, 2009, 08:59:52 AM
You need to add "etc/X11/xorg.conf" to /opt/.filetool.lst
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on July 31, 2009, 02:17:55 PM
Juanito,

Code: [Select]
/opt/.filetool.lst doesn't exist. What should i do ?
Another question if I have the Linux drivers for my Libretto L3 (S3 SavageIX)(Ali IDE)(Ali Audio) will that solve any of my problems ?
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Lee on July 31, 2009, 03:46:15 PM
try
Code: [Select]
ls -A /opt
The leading dot in the filename tells ls to ignore it unless you specify the -A option.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Juanito on August 01, 2009, 04:09:10 AM
For messing around with things in tinycore, it can be quite useful to load the glib1, gtk1, beaver, emelfm and gtkfind extensions.

If you click on the "H" button in emelfm, it will show the files starting with "." then you can right-click on the file name, choose "open with" and enter "beaver" to edit the file. Naturally enough, gtkfind will help you find things like .filetool.lst in the first place  :)
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on August 02, 2009, 04:42:39 PM
Juanito,
Add{ "etc/X11/xorg.conf" to /opt/.filetool.lst} and change{xorg.conf.vesa} or save as {xorg.conf} when loaded with Xorg-7.4.tcel, screen still stuck with 1024x768 Tools|Xvesa Setup won't start.

Reboot, all changes GONE BACK to original as if i didn't edit and save anything - screen still 1024x768.

FYI, default X11 is   xorg.conf.vesa  not  xorg.conf. If i remove the Xorg-7.4.tcel from boot i can use the Tools|Xvesa Setup it gave me the  1280x600/16/24bit  option but screen still stuck with 1024x768 and etc/X11 directory doesn't exist.

Is there anything else i can do ? Don't remember how many times test with different configurations and reboot the machine. :(

Thanks

Thank you Lee for letting me know how to use the  ls -a :)
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: alu on August 02, 2009, 07:32:57 PM
look at your .xsession first line; mine reflects:

/usr/bin/Xvesa -br -screen 1360x768x24 -shadow -2button -mouse /dev/input/mice,$

change the resolution there and ctrl-alt-backspace to reboot x; then save the configuration if you have to do it at shutdown (you have to do it if you use a mydata.gz backup).

also type Xvesa -listmodes in aterm in order to see what are the resolutions which your monitor supports, and adjust.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on August 03, 2009, 12:34:18 AM
alu,

Your'e the man! Problem solved. Thanks. Now I have 1280x600x24 on my Libretto.
One more last question; is it possible to "load mydata.gz backup" from the grub menu.lst ? :)
This will make it perfect.

Thank Guys.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on August 03, 2009, 05:15:23 AM
Figure this out; save the "mydata.gz"  backup into the /tce directory will load the backup during boot.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: alu on August 03, 2009, 07:34:37 AM
the behavior is not different as if you would have your mydata.gz at the top of your drive because TC scans for a backup at each boot and load it automatically; what you can do, too, is to rename mydata.gz into mydata.tce, and place mydata.tce into another directory (not /tce); this way, you would then start without restoring your configuration at boot (f.ex. if you don't need your config. because you only want to perform some tasks in text mode as fetching data on remote servers or browse the net with a text browser, or listening to music with mplayer-nogui etc.), but you can restore it when you want/need it by mounting the mydata.tce as if it would be an extension among others (on the commande line: $ tce-load /your_directory/mydata.tce).
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: libretto on August 05, 2009, 07:54:35 PM
alu,

Thanks again. I got another question. How do I "unmount" tce extention on command line to free up some ram ?
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Lee on August 06, 2009, 12:25:30 AM
Quote
How do I "unmount" tce extention on command line...

For the most part - you don't.

The preferred method is to remove the extension's .tce file (or move it from your tce directory to tce/optional/) and then reboot (backing up your data first of course, if using a volatile home).

For further reading search the forum for "tce uninstall".  This was a lively topic not too long ago.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: roberts on August 06, 2009, 01:19:28 AM
The Libretto is mentioned in the Wiki http://wiki.tinycorelinux.com/tiki-index.php?page=Display+Modes

Renameing your backup mydata.tgz to a tce is not good, as that implies it is static.
If you wish to skip the loading of your backup (mydata.tgz), you can always use the norestore boot option. Use it when you are just going to do some cloud mode stuff. You can also always restore it later with the Backup/Restore button in the control panel. But calling it a tce is just going to cause confusion.
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Kotman on November 20, 2009, 03:30:59 PM
Juanito,
But everytime I reboot it's back to the original old form, how do i make it "stay" inside the /etc/X11 dir ?

Hi, all!
I have a same problem on My mini-ITX Intel D201GLY2 mobo (SIS chipset&video).
After reboot /etc/X11 is without xorg.conf (created and save manually).
I copy xorg.conf in /etc/X11, then "startx", and have a desktop. Then backup on exit, reboot. Ooops - only command line. /etc/X11 dont contains xorg.conf.
I install tinycore 2.4.1 on a flashdrive for solve this problem. This drive works perfectly as is on Nvidia GPU and notebook with AMD/ATI GPU, but not works on SIS.
 Now I try a different versions of sis_drv.so. On VectorLinux I find one of them, which works perfect!

PS: sorry for My English, I'm from Russia.

Yes, of course I add string to /opt/.filetool.lst
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Kotman on November 21, 2009, 01:25:12 PM
Good news for Me! I found a work version of sis_drv.so.
How to backup this driver change?
Title: Re: 1280 x 600 vga= ? (for 8bit/16bit/24bit)
Post by: Kotman on November 21, 2009, 04:27:30 PM
SOLVED!
I do like kagashe. (  http://forum.tinycorelinux.net/index.php?topic=149.0  )
I add 2 strings in bootlocal.sh to copy drivers into /usr/local/lib/X11/modules/drivers
And it's works!

Thx, Kagashe!