WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ThinkPad issue in 15.0  (Read 1961 times)

Offline thane

  • Hero Member
  • *****
  • Posts: 697
ThinkPad issue in 15.0
« on: March 05, 2024, 03: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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ThinkPad issue in 15.0
« Reply #1 on: March 06, 2024, 02:49:24 AM »
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.
The only barriers that can stop you are the ones you create yourself.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ThinkPad issue in 15.0
« Reply #2 on: March 06, 2024, 08: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.

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: ThinkPad issue in 15.0
« Reply #3 on: March 06, 2024, 06: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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ThinkPad issue in 15.0
« Reply #4 on: March 07, 2024, 02:00:02 AM »
Fix the half resolution first. xrandr can change those at runtime, for permanent changes you'd edit xorg.conf.
The only barriers that can stop you are the ones you create yourself.

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: ThinkPad issue in 15.0
« Reply #5 on: March 07, 2024, 10: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.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ThinkPad issue in 15.0
« Reply #6 on: March 07, 2024, 10: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.

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: ThinkPad issue in 15.0
« Reply #7 on: March 09, 2024, 01:13:09 AM »
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!