Author Topic: Grub screen resolution and ksplash on Asus Eee PC 1001PXD  (Read 1264 times)

Offline atolboo

  • Full Member
  • ***
  • Posts: 227
Grub screen resolution and ksplash on Asus Eee PC 1001PXD
« on: October 03, 2012, 02:31:17 PM »
Result of the installation of pclinuxos-kde-2012.08 on my Asus Eee PC 1001PXD + all updates with these specifications on sda6.
I get the following Grub screen with the default settings of /boot/grub/menu.lst in Grub:
Quote
kernel (hd0,5)/boot/vmlinux BOOT_Image=linux root=UUID=....... quit vmalloc=256M acpi=on resume=UUID=...... splash=silent vga=791
   [Linux-bzImage, setup=0x3800, size=0x229f60]
initrd (hd0,5)/boot/initrd.img
   [Linux-initrd @ 0x37a44000, 0x5abbd4 bytes]

Undefined video mode number: 317
Press <ENTER> to see video modes available, <SPACE> to continue, or wait 30 sec

After this the regular pclos kernel splash screen with the progress bar is shown.
Next,instead of the Default KDE splash screen (version:1.0 author: Texstar) according to System Settings, a black screen with a white cursor arrow is shown.
Next the KDE desktop is shown.
The vga=791 (from /boot/grub/menu.lst) is for a 1024x768 resolution while the Asus is 1024x600.
Modifying vga=... to 788 or 789 solves the Grub screen problem but until this moment I was not able to get the  KDE splash screen :'(
Any suggestions to solve this last problem are very welcome ;)
I guess this Grub and KDE splash screen are caused by a wrong detection of the hardware as these are only detected with PCLOS and not with other Linux versions.
« Last Edit: October 06, 2012, 04:05:19 AM by atolboo »

Offline atolboo

  • Full Member
  • ***
  • Posts: 227
Re: Grub screen resolution on Asus Eee PC 1001PXD
« Reply #1 on: October 04, 2012, 03:17:15 PM »
I found the reason for the failing of the default Pclos Ksplash boot screen.
The moving icons in the boot screen are not located on the center line, but are moved bellow the 
600 limit of the 1024x600 netbook screen.
By modifying the file /usr/share/apps/ksplash/Themes/Default/1600x1200/description.txt
from (original contents):
Quote
SCALE ON
BACKGROUND_IMAGE 0 0 background.png
SCALE OFF

# the image is 390x234, make it centered, all icons need the same adjustment too
#IMAGE_REL CC 0 260 CC userlist.png

# these have their relative positions to the rectangle adjusted by -195,-117
# (i.e. half of the rectangle size)
# 3,32
ANIM_REL 1 CC -192 200 LT 30 icon1_anim.png 85 1
WAIT_STATE kded

# 69,32
ANIM_REL 2 CC -126 200 LT 30 icon2_anim.png 85 1
WAIT_STATE kcminit

# 135,32
ANIM_REL 3 CC -60 200 LT 29 icon3_anim.png 85 1
WAIT_STATE ksmserver

# 201,32
ANIM_REL 4 CC 6 200  LT 30 icon4_anim.png 85 1
WAIT_STATE wm

# 263,15
ANIM_REL 5 CC 68 158 LT 30 icon5_anim.png 85 1
WAIT_STATE desktop

WAIT_STATE ready

# show the icons fully right before the splash goes away
STOP_ANIM 1
IMAGE_REL CC -192 200 LT icon1.png
STOP_ANIM 2
IMAGE_REL CC -126 200 LT icon2.png
STOP_ANIM 3
IMAGE_REL CC -60 200 LT icon3.png
STOP_ANIM 4
IMAGE_REL CC 6 200 LT icon4.png
STOP_ANIM 5
IMAGE_REL CC 68 158 LT icon5.png

into (new contents):
Quote
SCALE ON
BACKGROUND_IMAGE 0 0 background.png
SCALE OFF

# the image is 390x234, make it centered, all icons need the same adjustment too
#IMAGE_REL CC 0 260 CC userlist.png

# these have their relative positions to the rectangle adjusted by -195,-117
# (i.e. half of the rectangle size)
# 3,32
ANIM_REL 1 CC -192 158 LT 30 icon1_anim.png 85 1
WAIT_STATE kded

# 69,32
ANIM_REL 2 CC -126 158 LT 30 icon2_anim.png 85 1
WAIT_STATE kcminit

# 135,32
ANIM_REL 3 CC -60 158 LT 29 icon3_anim.png 85 1
WAIT_STATE ksmserver

# 201,32
ANIM_REL 4 CC 6 158  LT 30 icon4_anim.png 85 1
WAIT_STATE wm

# 263,15
ANIM_REL 5 CC 68 120 LT 30 icon5_anim.png 85 1
WAIT_STATE desktop

WAIT_STATE ready

# show the icons fully right before the splash goes away
STOP_ANIM 1
IMAGE_REL CC -192 158 LT icon1.png
STOP_ANIM 2
IMAGE_REL CC -126 158 LT icon2.png
STOP_ANIM 3
IMAGE_REL CC -60 158 LT icon3.png
STOP_ANIM 4
IMAGE_REL CC 6 158 LT icon4.png
STOP_ANIM 5
IMAGE_REL CC 68 120 LT icon5.png
the icons are moved to the bottom limit of the netbook screen.
Differences are at lines with 'ANIM_REL...' (5x) and 'IMAGE_REL CC...' (5x).
Maybe this is a good reason to modify the default Pclos Ksplash boot screen, together with a better vga=... detection, in order to make it 100% suitable for a Netbook

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Grub screen resolution and ksplash on Asus Eee PC 1001PXD
« Reply #2 on: October 06, 2012, 03:19:00 AM »
Thank you very much for that solution.

I had a 1024x600 netbook too (HP Mini 110) but as far as I remember, it did not have this problem. Wonder if my memory is right or something else...

Currently I guess some fix has been implemented to improve screen resolution detection. A thread was running somewhere in testing about this.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6