Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: beerstein on April 12, 2012, 06:54:08 AM

Title: screen resolution on Philips LCD 22 inch monitor
Post by: beerstein on April 12, 2012, 06:54:08 AM
This monitor (model Brilliance 220X1) comes with a recommended resolution of 1680x1050 at 60Hz
It works fine with TCL 3.84  with 1024x768x32 as listed in the respective file: /tc/.xsession

BUT ; It does not work in TCL 4.3! Here I am getting a black screen and I am asked to switch to 1680x1050 at 60Hz (monitor message)
the closest I can get using the VESA button from the control panel is 1600x1200  #17 from the menu
This resolution works fine in TCL 4.3 but items on display are getting too small.

Question: How can I set my screen on TCL 4.3 to 1024x768x32 ? Editing /tc/.xsession alone did not work.

Thank you for your help
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: Rich on April 12, 2012, 07:02:35 AM
Hi beerstein
Try changing  1024x768x32  to  1024x768x32x60  in  .xsession  and see if that helps.
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: beerstein on April 12, 2012, 07:53:44 AM
Hi Rich: Thank y'  for that. It does not work. Here is my /tc/.xsession:

/usr/local/bin/Xvesa -br -screen 1600x1200x16 -shadow -2button -mouse /dev/psaux -nolisten tcp -I >/dev/null 2>&1 &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x ./.setbackground ] && ./.setbackground
[ -x ./.mouse_config ] && ./.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d ".X.d" ] && find ".X.d" -type f -print | while read F; do . "$F"; done

This one works. But as soon as I change the "1600x1200x16" to 1024x768x32  or 1024x768x32x60 or 1024x768x24
I will get the black screen. May be there is problem with the display ratio?

I also discovered that the /tc/.xsession file from the other PC (TCK 3.84) on which the monitor works fine in 1024x768x32 looks slightly different.
Was there a change in display config from TCL 3.XX to 4.3  ?
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: curaga on April 12, 2012, 07:55:26 AM
No, neither Xvesa nor the default resolution had changed.
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: Rich on April 12, 2012, 08:07:17 AM
Hi beerstein
What do you get if you enter   Xvesa -listmodes
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: beerstein on April 14, 2012, 06:19:18 AM
hello rich:
here is what I get on the machine which is not able to work
with 1024 x 768 x 24 or (32)
this one works with 1600 x 1200 x 16

tc@box:~$ Xvesa -listmodes
VBE version 3.0 (Reading unmapped memory at 0x00003100
)
DAC is switchable, controller is VGA compatible
Total memory: 16384 kilobytes
0x0006: 640x200x1 (monochrome) Planar (1 planes)
0x000D: 320x200x4 Planar (4 planes) (no linear framebuffer)
0x000E: 640x200x4 Planar (4 planes) (no linear framebuffer)
0x0010: 640x350x4 Planar (4 planes) (no linear framebuffer)
0x0011: 640x480x1 (monochrome) Planar (1 planes)
0x0012: 640x480x4 Planar (4 planes) (no linear framebuffer)
0x0013: 320x200x8 PseudoColor
0x0102: 800x600x4 Planar (4 planes) (no linear framebuffer)
0x0101: 640x480x8 PseudoColor
0x0100: 640x400x8 PseudoColor
0x0103: 800x600x8 PseudoColor
0x0104: 1024x768x4 Planar (4 planes) (no linear framebuffer)
0x0105: 1024x768x8 PseudoColor
0x0107: 1280x1024x8 PseudoColor
0x0130: 1600x1200x8 PseudoColor
0x0131: 1600x1200x16 TrueColor [5:6:5:0]
0x010D: 320x200x15 TrueColor [5:5:5:0]
0x010E: 320x200x16 TrueColor [5:6:5:0]
0x0110: 640x480x15 TrueColor [5:5:5:0]
0x0111: 640x480x16 TrueColor [5:6:5:0]
0x0113: 800x600x15 TrueColor [5:5:5:0]
0x0114: 800x600x16 TrueColor [5:6:5:0]
0x0116: 1024x768x15 TrueColor [5:5:5:0]
0x0117: 1024x768x16 TrueColor [5:6:5:0]
0x0119: 1280x1024x15 TrueColor [5:5:5:0]
0x011A: 1280x1024x16 TrueColor [5:6:5:0]
0x0132: 320x240x8 PseudoColor
0x0133: 400x300x8 PseudoColor
0x0134: 512x384x8 PseudoColor
0x0135: 320x240x16 TrueColor [5:6:5:0]
0x0136: 400x300x16 TrueColor [5:6:5:0]
0x0137: 512x384x16 TrueColor [5:6:5:0]
0x0138: 320x200x8 PseudoColor
0x0139: 640x400x16 TrueColor [5:6:5:0]
0x013A: 640x480x24 TrueColor [8:8:8:8]
0x013B: 800x600x24 TrueColor [8:8:8:8]
0x013C: 1024x768x24 TrueColor [8:8:8:8]
0x013D: 1280x1024x24 TrueColor [8:8:8:8]
0x013F: 1920x1440x8 PseudoColor
0x0140: 1920x1440x16 TrueColor [5:6:5:0]
tc@box:~$
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: Rich on April 14, 2012, 07:34:19 AM
Hi beerstein
Try changing   -screen 1600x1200x16   to   -mode 0x013C
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: tinypoodle on April 14, 2012, 04:40:12 PM
Try to see what happens with
Code: [Select]
-screen 1024x768x16
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: beerstein on April 17, 2012, 05:03:31 AM
Hi rich: when I try " -mode 0x013C"  I will get a dark screen but X is running.
HI tinypoodle: when I try "-screen 1024x768x16" it does not boot into X and stays at the CLI

Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: Rich on April 17, 2012, 07:53:56 AM
Hi beerstein
OK, let's bump it down a little further. Try    -mode 0x0117
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: beerstein on April 24, 2012, 07:25:22 AM
Tahnks`
This did not work either. Black screen and I can not even get into the console with CTRL- ALT- F1
It is strange that the monitor works with TCL 3.8.4 but not in TCL 4.3
1600x1200x16  seems to be the only setting which works in TCL 4.3
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: Rich on April 24, 2012, 09:46:38 AM
Hi beerstein
What does   lspci   (pci-utils.tcz) give you?
Title: Re: screen resolution on Philips LCD 22 inch monitor
Post by: beerstein on April 28, 2012, 08:40:59 AM
Hi Rich:
tc@box:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev 02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 82)
00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 07)
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:09.0 Communication controller: Intel Corporation 536EP Data Fax Modem
00:0b.0 Network controller: AVM GmbH A1 ISDN [Fritz] (rev 02)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31)
tc@box:~$


.xsession from system which can not be set to 1024x768
=================================
/usr/local/bin/Xvesa -br -screen 1600x1200x16 -shadow -2button -mouse /dev/psaux -nolisten tcp -I >/dev/null 2>&1 &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x ./.setbackground ] && ./.setbackground
[ -x ./.mouse_config ] && ./.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d ".X.d" ] && find ".X.d" -type f -print | while read F; do . "$F"; done

.xsession from system which can  be set to 1024x768
===============================
Xvesa -br -screen 1024x768x32 -shadow -2button -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &
waitforX
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x ./.setbackground ] && ./.setbackground
[ -x ./.mouse_config ] && ./.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d ".X.d" ] && find ".X.d" -type f -print | while read F; do . "$F"; done