intelfb.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Intel 830M/845G/852GM/855GM/865G/915G/945G Framebuffer driver
  2. ================================================================
  3. A. Introduction
  4. This is a framebuffer driver for various Intel 8xx/9xx compatible
  5. graphics devices. These would include:
  6. Intel 830M
  7. Intel 845G
  8. Intel 852GM
  9. Intel 855GM
  10. Intel 865G
  11. Intel 915G
  12. Intel 915GM
  13. Intel 945G
  14. Intel 945GM
  15. B. List of available options
  16. a. "video=intelfb"
  17. enables the intelfb driver
  18. Recommendation: required
  19. b. "mode=<xres>x<yres>[-<bpp>][@<refresh>]"
  20. select mode
  21. Recommendation: user preference
  22. (default = 1024x768-32@70)
  23. c. "vram=<value>"
  24. select amount of system RAM in MB to allocate for the video memory
  25. if not enough RAM was already allocated by the BIOS.
  26. Recommendation: 1 - 4 MB.
  27. (default = 4 MB)
  28. d. "voffset=<value>"
  29. select at what offset in MB of the logical memory to allocate the
  30. framebuffer memory. The intent is to avoid the memory blocks
  31. used by standard graphics applications (XFree86). Depending on your
  32. usage, adjust the value up or down, (0 for maximum usage, 63/127 MB
  33. for the least amount). Note, an arbitrary setting may conflict
  34. with XFree86.
  35. Recommendation: do not set
  36. (default = 48 MB)
  37. e. "accel"
  38. enable text acceleration. This can be enabled/reenabled anytime
  39. by using 'fbset -accel true/false'.
  40. Recommendation: enable
  41. (default = set)
  42. f. "hwcursor"
  43. enable cursor acceleration.
  44. Recommendation: enable
  45. (default = set)
  46. g. "mtrr"
  47. enable MTRR. This allows data transfers to the framebuffer memory
  48. to occur in bursts which can significantly increase performance.
  49. Not very helpful with the intel chips because of 'shared memory'.
  50. Recommendation: set
  51. (default = set)
  52. h. "fixed"
  53. disable mode switching.
  54. Recommendation: do not set
  55. (default = not set)
  56. The binary parameters can be unset with a "no" prefix, example "noaccel".
  57. The default parameter (not named) is the mode.
  58. C. Kernel booting
  59. Separate each option/option-pair by commas (,) and the option from its value
  60. with an equals sign (=) as in the following:
  61. video=intelfb:option1,option2=value2
  62. Sample Usage
  63. ------------
  64. In /etc/lilo.conf, add the line:
  65. append="video=intelfb:mode=800x600-32@75,accel,hwcursor,vram=8"
  66. This will initialize the framebuffer to 800x600 at 32bpp and 75Hz. The
  67. framebuffer will use 8 MB of System RAM. hw acceleration of text and cursor
  68. will be enabled.
  69. Remarks
  70. -------
  71. If setting this parameter doesn't work (you stay in a 80x25 text-mode),
  72. you might need to set the "vga=<mode>" parameter too - see vesafb.txt
  73. in this directory.
  74. D. Module options
  75. The module parameters are essentially similar to the kernel
  76. parameters. The main difference is that you need to include a Boolean value
  77. (1 for TRUE, and 0 for FALSE) for those options which don't need a value.
  78. Example, to enable MTRR, include "mtrr=1".
  79. Sample Usage
  80. ------------
  81. Using the same setup as described above, load the module like this:
  82. modprobe intelfb mode=800x600-32@75 vram=8 accel=1 hwcursor=1
  83. Or just add the following to /etc/modprobe.conf
  84. options intelfb mode=800x600-32@75 vram=8 accel=1 hwcursor=1
  85. and just do a
  86. modprobe intelfb
  87. E. Acknowledgment:
  88. 1. Geert Uytterhoeven - his excellent howto and the virtual
  89. framebuffer driver code made this possible.
  90. 2. Jeff Hartmann for his agpgart code.
  91. 3. David Dawes for his original kernel 2.4 code.
  92. 4. The X developers. Insights were provided just by reading the
  93. XFree86 source code.
  94. 5. Antonino A. Daplas for his inspiring i810fb driver.
  95. 6. Andrew Morton for his kernel patches maintenance.
  96. ###########################
  97. Sylvain