General TC > Tiny Core Netbooks

800x480 resolution for EEEPC

<< < (2/6) > >>

OldAdamUser2:
Note the last entry on this thread:

http://forum.tinycorelinux.net/index.php?topic=5490.0


--- Quote ---
--- Quote ---..Then sudo 915resolution 45 1024 768 in my case.  On reboot, its back to a dark screen and xvesa has no option to revert to a usable 600x480 like before.
--- End quote ---

This command will need to be run after the 915resolution extension is loaded on every boot - either you can add it to /opt/bootlocal.sh (and make sure it is in your backup) or make your own customised 915resolution extension with the command in the startup script
--- End quote ---

bbelden:
I'm getting closer. If I load the 915resolution parameters I want in bootlocal, I end up with a screen with messed up colors and incorrect resolution. If I then do "ctrl-alt-backspace, I can't even see what I'm typing, but if I type "startx", I get my session started with proper colors and proper resolution! Any ideas what to do next?
thanks.

bbelden:
I think the 915resolution start up script, tce.installed/915resolution, which has the wrong resolution specified in it, is fighting with my 915resolution startup I have in bootlocal. Is there a way for me to modify tce.installed/915resolution startup script? I think it would work better than having 915resolution start in bootlocal.

maro:
The safest way for you to avoid the 915resolution startup script would be to have your own remastered 915resolution extension. You could try the following:
--- Code: ---tc@box:~$ tce-load -wi squashfs-tools-4.0 2> /dev/null
Downloading: squashfs-tools-4.0.tcz
squashfs-tools-4.0.tcz: OK

tc@box:~$ tce-fetch.sh 915resolution.tcz

tc@box:~$ unsquashfs 915resolution.tcz
Parallel unsquashfs: Using 1 processor
2 inodes (5 blocks) to write

[===================================================================|] 5/5 100%
created 2 files
created 5 directories
created 0 symlinks
created 0 devices
created 0 fifos

tc@box:~$ rm -rf squashfs-root/usr/local/tce.installed/915resolution

tc@box:~$ mksquashfs squashfs-root my915resolution.tcz
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on my915resolution.tcz, block size 4096.
[===================================================================|] 4/4 100%
Exportable Squashfs 4.0 filesystem, data block size 4096
        compressed data, compressed metadata, compressed fragments
        duplicates are removed
Filesystem size 6.63 Kbytes (0.01 Mbytes)
        46.74% of uncompressed filesystem size (14.18 Kbytes)
Inode table size 112 bytes (0.11 Kbytes)
        53.33% of uncompressed inode table size (210 bytes)
Directory table size 97 bytes (0.09 Kbytes)
        75.78% of uncompressed directory table size (128 bytes)
Number of duplicate files found 0
Number of inodes 6
Number of files 1
Number of fragments 0
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 5
Number of ids (unique uids + gids) 2
Number of uids 1
        tc (1001)
Number of gids 1
        staff (50)

--- End code ---
Or you could change the values in the start-up file to suit your situation, in which case you won't need an entry in '/opt/bootlocal.sh'). That is probably anyway the better option since I assume that your issue might be a race condition between the (asynchronous) execution of '/opt/bootlocal.sh' and the X server start.

bbelden:
Maro--Thanks for helping me. How do I change the /tce.installed/915resolution startup file. I have tried deleting it, modifying it and nothing sticks--when I reboot the old file with the incorrect parameters is back.

Thanks, I appreciate everyone's help--I am so close.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version