Changeset 4055

Show
Ignore:
Timestamp:
10/14/07 16:13:45 (1 year ago)
Author:
hverkuil
Message:

More doc updates.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • xdriver/trunk/README

    r4052 r4055  
     1Compatibility 
     2============= 
     3 
     4Please read this carefully: the merging of ivtv and the ivtv 
     5framebuffer driver into the kernel introduced several changes which 
     6impact how you setup the X driver and what MythTV version you can 
     7use. 
     8 
     9This X11 driver supports all ivtv versions >= 0.10. If you are using 
     10ivtv >= 1.0.0 and you want to use MythTV, then you need to get the 
     11MythTV subversion trunk or the mythtv-vid branch. The current MythTV 
     12release (0.20.2) only supports ivtv versions < 1.0.0. 
     13 
     14If you use ivtv < 1.0.0 and you are using MythTV <= 0.20.2 (i.e., you 
     15are not using the MythTV subversion trunk or the mythtv-vid branch), then 
     16you must set the osd_compat=1 option for the ivtv-fb module. This is the 
     17only time you need to do this. See the osd_compat section at the bottom 
     18if you need this, since it impacts the X configuration file. 
     19 
     20There is a bug in the ivtv-1.0.0 driver in kernel 2.6.22 that will make 
     21MythTV from the MythTV subversion trunk or the mythtv-vid branch hit a 
     22locking error occasionally. This is fixed in kernel 2.6.23 and the fix 
     23is also expected to go into kernel 2.6.22.11. Kernels < 2.6.22 are fine. 
     24 
     25Note that the name of the ivtv framebuffer kernel module changed: 
     26it is called ivtvfb for ivtv >= 1.0.0 and ivtv-fb for older ivtv versions. 
     27So if you use ivtv < 1.0.0 and you read 'ivtvfb' in the text below, then 
     28replace it with 'ivtv-fb'. 
     29 
     30The ivtv framebuffer driver can be obtained from www.ivtvdriver.org. It 
     31is part of the ivtv package. It will be merged with kernel 2.6.24. 
     32 
    133Xorg 7.x Servers 
    234================ 
     
    148180================== 
    149181 
     182Note: Custom resolutions are only possible if the osd_compat module option was 
     183not specified with the ivtv-fb module. Setting that option locks down the 
     184resolution to a fixed value. 
     185 
    150186If you want to use a custom resolution then you should first load the ivtvfb 
    151187module with the resolutions you want. To do that add a line to 
     
    200236'fbcon=vc:64-63', this will prevent any framebuffer device from being used 
    201237for the console. 
     238 
     239However, in kernel 2.6.23 the 'vc:64-63' trick no longer works. Instead 
     240enable the VT_HW_CONSOLE_BINDING configuration option when compiling 
     241the kernel: 'Device Drivers', 'Character devices', 'Support for binding and 
     242unbinding console drivers'. You can now unload ivtvfb by running 
     243'rmmod -f ivtvfb' and the standard console will automatically be reattached. 
     244 
     245There may be more elegant methods of doing this, please let me know if 
     246you find one. 
     247 
     248 
     249ivtv-fb osd_compat option 
     250========================= 
     251 
     252If you are using ivtv < 1.0.0 and MythTV <= 0.20.2, then you have to set 
     253the osd_compat=1 option for the ivtv-fb module. This selects the framebuffer 
     254mode that MythTV expects (these MythTV versions hardcoded the framebuffer 
     255resolution and depth. If these would not match, then you would get a crash). 
     256 
     257In practice this means that the X configuration changes. Instead of having 
     258a section Mode "640x480" (PAL) or Mode "640x400" (NTSC) you now have to 
     259specify this: 
     260 
     261NTSC: 
     262 
     263Mode "720x480" 
     264    DotClock 23.832 
     265    HTimings 720 775 799 800 
     266    VTimings 480 494 496 497 
     267    Flags    "-HSync" "-VSync" 
     268EndMode 
     269 
     270PAL: 
     271 
     272Mode "720x576" 
     273    DotClock 23.721 
     274    HTimings 720 775 799 800 
     275    VTimings 576 590 592 593 
     276    Flags    "-HSync" "-VSync" 
     277EndMode 
     278 
     279And the Modes line in your Screen section also changes from "640x400" or 
     280"640x480" to "720x480" or "720x576" respectively.