intelfb.txt 3.4 KB

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