WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 915resolution.tce  (Read 6862 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
915resolution.tce
« on: December 25, 2008, 08:27:01 PM »
Thanks to florian we have:

Code: [Select]
Title:          915resolution.tce
Description:    Changes to video BIOS for Intel 800/900 series graphics chipsets (TESTING)
Version:        0.5.3
Author:         Steve Tomljenovic
Original-site:  http://www.geocities.com/stomljen/
Copying-policy: Public Domain
-----==[  Color = red     Filesize:   5.2KB  ]==-----
Extension by:   florian
Comments:       Tool to modify the video BIOS of the 800 and 900 series Intel
                graphics chipsets. This includes the 830, 845G, 855G, and 865G
                chipsets, as well as 915G, 915GM, 945G, 946GZ, G965, and Q965
                chipsets. This modification may be necessary to display certain
                graphics resolutions with an X server, and especially with the
                default XVesa that ships with Tiny Core Linux.

                Note that modifications to the video BIOS are transient, not
                permanent. So, you need to set the configuration every time you
                start the machine (and before you start up the X server).
                Obvious place to invoke 915resolution in Tiny Core Linux is thus
                from /opt/bootlocal.sh

                Usage: /usr/local/sbin/915resolution [-l] [Mode# X Y] [depth]
                Use the -l flag to get the list of modes and resolution from the
                video bios. And use without -l flag to modify one mode with new
                resolution and optionally new bits/pixel depth.

                ------
                Note: Only available as a tce. It isn't worth creating a tcz
                extension to be mounted as this tool is only around 10Kb when
                uncompressed.

Change-log:     First version
Current:        2008/12/25

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 915resolution.tce
« Reply #1 on: December 26, 2008, 10:56:09 AM »
Note this tool is not required for Xorg, as the full Intel driver does not use the video bios.
The only barriers that can stop you are the ones you create yourself.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: 915resolution.tce
« Reply #2 on: December 28, 2008, 04:25:16 AM »
so far this extension doesn't work for me with an Intel 855GM chipset...

915resolution recognises the chipset, but Xvesa still has the same green/purple mush. Full X works fine without this extension and a previous iteration, 855wrap, works with the 2.4.x kernel, but not the 2.6.x kernel.

This is not to say the extension isn't good, but rather than I can't make it work for me as yet...

Offline kinsa

  • Newbie
  • *
  • Posts: 5
Re: 915resolution.tce
« Reply #3 on: April 01, 2009, 10:06:18 PM »
The 915resolution utility must be run before Xvesa starts. Otherwise you have to run it manually.

I have modified my copy of the TCE app by adding the following init script:

/usr/local/tce.installed/915resolution
Code: [Select]
#!/bin/sh

CMD=/usr/local/sbin/915resolution
CONF=/etc/915resolution.conf

if [ -f $CONF ]
then
        . $CONF
       
        [ $MODE ] && [ $RESX ] && [ $RESY ] && $CMD $MODE $RESX $RESY

fi

And here is my corresponding config file:

/etc/915resolution.conf
Code: [Select]
# mode line to patch
MODE=50
# resolution for this line X Y
RESX=1024
RESY=600

I am using this on my EEEPC 901 but I have to patch 915resolution to make it work. See this post.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: 915resolution.tce
« Reply #4 on: April 02, 2009, 05:57:24 PM »
You don't really have to modify TC init scripts as TC extensions support startup scripts.

But first let me thank you for sharing your mods to 915resolution.

After you copied the 915resolution to /usr/local/sbin/915resolution

Then make your extension startup script like this:

Create this file  /usr/local/tce.installed/915resolution
whose contents are simply

#!/bin/sh
/usr/local/sbin/915resolution 50 1024 600

Be sure to make executeable.

Then tar up your new extension

tar -c / 915resolution.tce usr/local/sbin/915resolution usr/local/tce.installed/915resolution

Copy your new tce to your tce directory.
Then upon boot 915resolution.tce is loaded and the /usr/local/tce.installed/915resoution program/script is run as root during the boot process, i.e, way before Xvesa starts..

Works great on my Dell Mini 9.

Now if I could just the characters at that resolution!
10+ Years Contributing to Linux Open Source Projects.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: 915resolution.tce
« Reply #5 on: April 03, 2009, 04:53:21 AM »
so far this extension doesn't work for me with an Intel 855GM chipset...
..but now I've moved from dell d400 -> d430 it does work  :)

Code: [Select]
$ lspci
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
and
Code: [Select]
$ sudo 915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.3

Chipset: 945GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36
...
Mode 50 : 640x480, 32 bits/pixel
$ sudo 915resolution 50 1280 800
where 1280x800 is the native resolution of the screen, then just insert 1280x800x32 in .xsession

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: 915resolution.tce
« Reply #6 on: April 15, 2009, 02:13:39 PM »
915resolution has been updated:

Code: [Select]
Title:          915resolution.tce
Description:    Changes to video BIOS for Intel 800/900 series graphics chipsets (TESTING)
Version:        0.5.3
Author:         Steve Tomljenovic
Original-site:  http://www.geocities.com/stomljen/
Copying-policy: Public Domain
Size: 6K
Extension_by:   florian, Roberto A. Foglietta
Comments:       Tool to modify the video BIOS of the 800 and 900 series Intel
                graphics chipsets. This includes the 830, 845G, 855G, and 865G
                chipsets, as well as 915G, 915GM, 945G, 946GZ, G965, and Q965
                chipsets. This modification may be necessary to display certain
                graphics resolutions with an X server, and especially with the
                default XVesa that ships with Tiny Core Linux.

                Note that modifications to the video BIOS are transient, not
                permanent. So, you need to set the configuration every time you
                start the machine (and before you start up the X server).
                Obvious place to invoke 915resolution in Tiny Core Linux is thus
                from /opt/bootlocal.sh

                Usage: /usr/local/sbin/915resolution [-l] [Mode# X Y] [depth]
                Use the -l flag to get the list of modes and resolution from the
                video bios. And use without -l flag to modify one mode with new
                resolution and optionally new bits/pixel depth.

                ------
                Note: this version has been patched in order to work on eeepc too

Change-log:     2009/04/15 patched for eeepc
2008/12/25 First version
Current:        2009/04/15 patched for eeepc

Code: [Select]
Title:          915resolution.tcz
Description:    Changes to video BIOS for Intel 800/900 series graphics chipsets (TESTING)
Version:        0.5.3
Author:         Steve Tomljenovic
Original-site:  http://www.geocities.com/stomljen/
Copying-policy: Public Domain
Size: 8K
Extension_by:   florian, Roberto A. Foglietta
Comments:       Tool to modify the video BIOS of the 800 and 900 series Intel
                graphics chipsets. This includes the 830, 845G, 855G, and 865G
                chipsets, as well as 915G, 915GM, 945G, 946GZ, G965, and Q965
                chipsets. This modification may be necessary to display certain
                graphics resolutions with an X server, and especially with the
                default XVesa that ships with Tiny Core Linux.

                Note that modifications to the video BIOS are transient, not
                permanent. So, you need to set the configuration every time you
                start the machine (and before you start up the X server).
                Obvious place to invoke 915resolution in Tiny Core Linux is thus
                from /opt/bootlocal.sh

                Usage: /usr/local/sbin/915resolution [-l] [Mode# X Y] [depth]
                Use the -l flag to get the list of modes and resolution from the
                video bios. And use without -l flag to modify one mode with new
                resolution and optionally new bits/pixel depth.

                ------
                Note: this version has been patched in order to work on eeepc too

Change-log:     2009/04/15 patched for eeepc
2008/12/25 First version
Current:        2009/04/15 patched for eeepc