WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 8 9 [10]
91
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by Juanito on September 29, 2026, 06:28:14 AM »
I managed to get hold of virtualbox, loaded the TinyCorePure64 iso and then used tc-install-GUI to install TinyCorePure64 in the vm.

Xorg-7.7 didn't want to start a gui, but using graphics-KERNEL and Xorg-7.7-3d the gui started.

You can use the virtualbox preferences expert tab to change the display resolution to "hints" and then set a resolution, but leaving it in "auto" seems to scale OK with the window.

I added vbox-KERNEL to the repo, but so far I haven't managed to get a shared folder working nor 3d graphics (it's using llvmpipe at present).
92
Small update: still running after 47hr under custom TC17.1 with reverted network card patch.
I will be out until next weekend.
I will keep it running and see how far it gets. Don't expect updates for a week.

Its running with the original write() command and with stress program running in parallel that brings cpu to 80% and network to 90%.

This is a major improve. This custom kernel is now running 40x longer than the standard kernel under same use. And counting. It's still strange as I do not see the netdev_err() logline that I added to the modified function getting triggered.
When I'm back I will test with pr_emerg() longline as there is a small change that the netdev_err() logging is suppressed. Also I will make a custom built with no modified source.
Left ro right: stability improve is massive!
93
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by Juanito on September 28, 2026, 03:39:51 AM »
I don't have virtualbox to test, but you need to check which extensions, if any, you have set to load "onboot" (you can do this with the apps gui).

If the Xfbdev extension is set "onboot", remove it and put Xorg-7.7 in it's place. Check that you have a minimum set of extensions "onboot" (for example Xorg-7.7, flwm, aterm and wbar) and reboot.

Alternatively, you can remove all extensions from "onboot", reboot and then load a minimum set of extensions and "startx".
94
Programming & Scripting - Unofficial / Fastest way of deleting first line of a large file
« Last post by Rich on September 27, 2026, 11:13:46 PM »
Recently while formatting a log file I ran into a problem
caused by the first line in the file. I originally I used this
command to remove it (sed.tcz was installed):
Code: [Select]
sed -i '1d' FilenameWhen I tried it on a larger test file I felt it was a little slow.
So I ran some timing tests on several different techniques.

Running under TC10 x86 Dell Dimension E310:
Code: [Select]
tc@E310:~/Scripting/Timing$ ./DeleteHeaderTiming.sh

# Delete first line from Test.Log timing test.
File Test.Log size: 4102673 bytes containing 35557 lines

 # Alter original file, GNU.
 0.438    /usr/local/bin/sed -i '1d' Test.Log

 # Alter original file, busybox.
 0.094    busybox sed -i '1d' Test.Log

 # Using a second file, GNU.
 0.068    /usr/local/bin/sed '1d' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.094    busybox sed '1d' Test.Log > Test.Log2

 # Using a second file, GNU.
 0.030    /usr/local/bin/tail -n +2 Test.Log > Test.Log2

 # Using a second file, busybox.
 0.026    busybox tail -n +2 Test.Log > Test.Log2

 # Using a second file, GNU.
 0.208    /usr/local/bin/awk 'NR>1' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.536    busybox awk 'NR>1' Test.Log > Test.Log2

 # Using a second file, GNU.
 0.147    /usr/local/bin/awk 'NR==1 { print > /dev/null; next } 1' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.546    busybox awk 'NR==1 { print > /dev/null; next } 1' Test.Log > Test.Log2

Turns out my choice was one of the slower ones. Interestingly, it
turns out the busybox version would have been a better choice.
Fastest was this solution:
Code: [Select]
tail -n +2 Test.Log > Test.Log2Considering how close the execution times were, I'd say the GNU
and busybox versions are pretty much equal.

I decided to repeat the test on a more capable machine.
TC14 x86_64 HP G62:
Code: [Select]
tc@HP-G62:~/SystemHealth$ ./DeleteHeaderTiming.sh

# Delete first line from Test.Log timing test.
File Test.Log size: 4102779 bytes containing 35558 lines

 # Alter original file, GNU.
 0.063    /usr/local/bin/sed -i '1d' Test.Log

 # Alter original file, busybox.
 0.076    busybox sed -i '1d' Test.Log

 # Using a second file, GNU.
 0.033    /usr/local/bin/sed '1d' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.058    busybox sed '1d' Test.Log > Test.Log2

 # Using a second file, GNU.
 0.014    /usr/local/bin/tail -n +2 Test.Log > Test.Log2

 # Using a second file, busybox.
 0.010    busybox tail -n +2 Test.Log > Test.Log2

 # Using a second file, GNU.
 0.123    /usr/local/bin/awk 'NR>1' Test.Log > Test.Log2

 # Using a second file, busybox.
 0.162    busybox awk 'NR>1' Test.Log > Test.Log2
Once again, the  tail  version was the clear winner.
Once again, the execution times were so close that the GNU and
busybox versions could be considered to be equal.

Prior to creating a file, each technique begins with:
Code: [Select]
# Make sure all tests start with a clean cache.
sudo cache-clear
sync

# Create our test file.
busybox cp -f "$File" "$TestFile"

# Remove any previous results.
rm -f "$TestFile2"
95
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 27, 2026, 01:24:05 PM »
I am using VirtualBox. Is that ok?
96
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 27, 2026, 01:14:34 PM »
What do I do after installing   Xorg-7.7.tcz?
97
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by MaxFury on September 27, 2026, 01:00:19 PM »
oh uh, I used TC intalll GUI.tcz.
Which xorg-7.7. should i install? there are so many.
98
Off-Topic - Tiny Core Lounge / Re: TCL desktop display
« Last post by Stefann on September 27, 2026, 12:38:07 PM »
Ahum…
I hope you are aware this is a community project from all volunteers.
If AI gives  an answer that helps you in 10 seconds why ask the volunteers?
99
Off-Topic - Tiny Core Lounge / Re: TCL desktop display
« Last post by vinceASPECT on September 27, 2026, 10:24:45 AM »
i understand Juanto

but how come it takes the forum 7 or 8 posts to even BEGIN to approach the issue LOGICALLY....?

How long have you been supporting people here?.........surely you immediately must address what BOOT style it is and as i continually stated it's DEFAULT for everything...

how can it take the forum 7 posts and wild goose chases and 8 recommendations THAT DO NOT WORK AT ALL............and waste time?..........when you have been doing this 20 years?

Why....?......i know the Answer.......i am just wondering if YOU DO?...........( i don't want to be rude)

Ai......gives the EXACT accurate answer.......... in under 10 seconds.......

100
Tiny Core on Virtual Machines / Re: I would like to enable 1080p resolution
« Last post by Juanito on September 27, 2026, 10:17:30 AM »
How did you install TinyCore?

You should be able to use the Xorg-7.7 extension to get your monitors native resolution by default.
Pages: 1 ... 8 9 [10]