intelfb.txt 3.6 KB

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