intelfb.txt 3.7 KB

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