Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: thane on March 05, 2024, 12:22:34 PM

Title: ThinkPad issue in 15.0
Post by: thane on March 05, 2024, 12:22:34 PM
I've been running TinyCorePure64 version 14.0 on a lenovo X201 ThinkPad, which seems to work fine using the thinkpad-acpi, xkeyboard-config, unifont, xf86-video-intel, and Xorg 7.7 extensions.

However when I try version 15.0 with the new versions of the same tcz's I get some weird behavior. On booting the screen blanks out while loading extensions, and when the GUI does appear the fonts and window sizes are obviously not right. Seems like something's missing or not loading like it used to. Just for fun I tried booting without xf86-video-intel and the GUI desktop was blank. No error messages that I can find or obvious missing dependencies
Title: Re: ThinkPad issue in 15.0
Post by: curaga on March 05, 2024, 11:49:24 PM
Sounds like DPI defaults changed. xdpyinfo will list that, search for dots per inch. Or could also be resolution, but unlikely. Xorg.0.log may also have something.
Title: Re: ThinkPad issue in 15.0
Post by: Rich on March 06, 2024, 05:51:52 AM
Hi thane
You might also want to:
Code: [Select]
tc@E310:~$ cat .Xdefaults | grep "dpi:"
Xft.dpi: 96.0
tc@E310:~$
and see if the TC15 result is different from TC14.
Title: Re: ThinkPad issue in 15.0
Post by: thane on March 06, 2024, 03:40:50 PM
Thanks for the replies!

I compared xorg.0.log in version 14.0 to the one for 15.0. In both it looks like Xorg is switching to a default resolution and screen physical size. This is 1280 x 800 and 338 x 211 in version 14.0, 640 x 400 and 169 x 105 in version 15.0.

xdpyinfo confirms screen #0 in version 14.0 is 1280 x 800 pixels (338 x 211 mm), screen #0 in version 15 is 640 x 400 pixels (338 x 211 mm).

So maybe in both versions something is missing but the default in 14.0 is at least workable whereas 15.0 isn't?
Title: Re: ThinkPad issue in 15.0
Post by: curaga on March 06, 2024, 11:00:02 PM
Fix the half resolution first. xrandr can change those at runtime, for permanent changes you'd edit xorg.conf.
Title: Re: ThinkPad issue in 15.0
Post by: thane on March 07, 2024, 07:35:37 PM
The xrandr fix (followed by startx) works. Thanks for the help!

I don't currently have an xorg.conf file in my setup. From what I can find online the layout looks a bit intimidating.
Title: Re: ThinkPad issue in 15.0
Post by: Rich on March 07, 2024, 07:47:40 PM
Hi thane
You can have Xorg create an xorg.conf file for you.
Click the  Exit  icon
Select  Exit to Prompt
Then:
Code: [Select]
sudo Xorg -configureThe file will either be be placed in your home directory
or the /root/ directory.

You can use that as a starting point and modify it.
Title: Re: ThinkPad issue in 15.0
Post by: thane on March 08, 2024, 10:13:09 PM
Thanks Rich. After a lot of fiddling I finally got xorg.conf to work (required two extra lines of code in the file that was generated, and deleting unused Screen Display subsections).

Although the box now boots to a usable desktop, the boot process still looks odd (screen blanking part way through, some messages not being displayed). So there may still be something missing or not being loaded right. I'll keep fiddling and see what happens.

Thanks again for the help!