From d392fcaf1a916d3679e500d776a990a9c3352839 Mon Sep 17 00:00:00 2001 From: Steven McDonald Date: Tue, 15 Mar 2011 18:08:13 +1100 Subject: [PATCH] Added 915resolution page. --- main/navigation.shtml | 3 ++ main/tutorials/915resolution.shtml | 50 ++++++++++++++++++++++++++++++ main/tutorials/index.shtml | 29 +++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100755 main/tutorials/915resolution.shtml create mode 100755 main/tutorials/index.shtml diff --git a/main/navigation.shtml b/main/navigation.shtml index c280ce9..55f8ca4 100755 --- a/main/navigation.shtml +++ b/main/navigation.shtml @@ -3,6 +3,9 @@
  • Home
  • +
  • + Tutorials +
  • Articles
  • diff --git a/main/tutorials/915resolution.shtml b/main/tutorials/915resolution.shtml new file mode 100755 index 0000000..ad21eb4 --- /dev/null +++ b/main/tutorials/915resolution.shtml @@ -0,0 +1,50 @@ + + + + + + + + + + + +
    + +

    Using Intel graphics cards on Debian GNU/kFreeBSD

    + +

    +Recently, I installed Debian GNU/kFreeBSD and experienced the problem of my Intel graphics card only being used at a resolution of 1024x768, despite having a 1440x900 LCD monitor. Needless to say, I found this quite frustrating, but initially assumed it to be a driver issue that the kFreeBSD devs would eventually sort out. +

    + +

    +However, after a few days of Googling, I eventually stumbled across 915resolution. Apparently, this problem used to exist with Linux, and was simply "fixed" by a hack involving replacing one of the modes in the video BIOS with a different resolution. This page tells you how you can fix up your resolution on a Debian GNU/kFreeBSD system, if you have one of the affected Intel cards. +

    + +

    +First, download either my own version of 915resolution, or the one supplied by the original developer. The source code in both is the same; the only modification I have made is in the Makefile, so that it installs to /usr/local instead of to /usr. The upstream version comes with a binary that will not run under GNU/kFreeBSD because it was built on Linux; whichever one you download, you must compile the source yourself with the usual method (make && sudo make install). +

    + +

    +Once you have built and installed 915resolution, add a line like this to your /etc/rc.local (before the exit 0 statement): +

    + + +/usr/local/sbin/915resolution 54 1440 900 32 + + +

    +You may need to change the arguments passed to it for your own purposes. To find a list of modes supported by your video BIOS, run 915resolution -l as root -- the first number (54 in my case) must correspond to one of the mode numbers. The next two numbers are the resolution (1440x900 for me), and the last one (32) is the number of bits per pixel. You may like to experiment with this manually before putting it into your /etc/rc.local. +

    + +

    +And that's it! Next time you boot into Debian GNU/kFreeBSD, your display should use its full resolution. +

    + +
    + + + + + + diff --git a/main/tutorials/index.shtml b/main/tutorials/index.shtml new file mode 100755 index 0000000..aeb4a0d --- /dev/null +++ b/main/tutorials/index.shtml @@ -0,0 +1,29 @@ + + + + + + + + + + + +
    + +

    Tutorials

    + +

    This page will hopefully one day contain a long list of tutorials covering various topics.

    + +

    +Using Intel graphics cards (845-945) on Debian GNU/kFreeBSD +(Last updated 2011-03-15) +

    + +
    + + + + + + -- 2.30.2