[ solved ] Intel GMA945 tv-out settings

December 7th, 2012

Home Forums GeeXboX for PC [ solved ] Intel GMA945 tv-out settings

This topic contains 5 replies, has 2 voices, and was last updated by  tomlohave 1 year, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5477

    darth_llamah
    Member

    Hello,

    I’m running Geexbox 3.0 32bit on a Medion md98200 laptop (t1600@1.6GHz, 1GB ddr2, GMA945 with s-video and composite output).

    Problem is that picture displayed on the TV screen- for both s-video and composite- has a black frame around. I’ve found that it’s drivers default behaviour.

    I can’t manage to change settings using xrandr:

    -for “xrandr –output TV1 –set BOTTOM 0″ I get an error BadName, same is for lowercase bottom

    -I can’t create xorg.conf, “Xorg :1 -configure” ends with error “number of created screens doesn’t match number of detected devices”

     

    Question:

    -what are the correct names for overscan borders for xrandr?

    -how do I make xrandr changes permanent?

    -where should I look for xrandr default settings?

     

    regards

    darth_llamah

    • This topic was modified 1 year, 10 months ago by  darth_llamah.
    • This topic was modified 1 year, 9 months ago by  tomlohave.
    #5482

    tomlohave
    Moderator

    Please, can you post the result of xrandr ?

    maybe this will worl a little better :

    xrandr –output TV1  –set ‘bottom margin’ xx –set ‘top margin’ xx –set ‘left margin’ xx –set ‘right margin’ xx

    then we can see how to integrate this ;-)

    #5484

    darth_llamah
    Member

    Thank you for the answer.
    Defaults reported:

    xrandr –verbose
    Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
    LVDS1 connected (normal left inverted right x axis y axis)
    Identifier: 0x41
    Timestamp:  1907650175
    Subpixel:   horizontal rgb
    Clones:
    CRTCs:      1
    Transform:  1.000000 0.000000 0.000000
    0.000000 1.000000 0.000000
    0.000000 0.000000 1.000000
    filter:
    BACKLIGHT: 0 (0x00000000)       range:  (0,15625)
    Backlight: 0 (0x00000000)       range:  (0,15625)
    scaling mode:   Full aspect
    supported: None         Full         Center       Full aspect
    1024×768 (0x44)   65.0MHz -HSync -VSync +preferred
    h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
    v: height  768 start  771 end  777 total  806           clock   60.0Hz
    800×600 (0x45)   40.0MHz +HSync +VSync
    h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
    v: height  600 start  601 end  605 total  628           clock   60.3Hz
    800×600 (0x46)   36.0MHz +HSync +VSync
    h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
    v: height  600 start  601 end  603 total  625           clock   56.2Hz
    640×480 (0x47)   25.2MHz -HSync -VSync
    h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
    v: height  480 start  490 end  492 total  525           clock   59.9Hz
    VGA1 connected 1024×768+0+0 (0x44) normal (normal left inverted right x axis y axis) 337mm x 270mm
    Identifier: 0x42
    Timestamp:  1907650175
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 1.0
    Clones:
    CRTC:       0
    CRTCs:      0 1
    Transform:  1.000000 0.000000 0.000000
    0.000000 1.000000 0.000000
    0.000000 0.000000 1.000000
    filter:
    EDID:
    00ffffffffffff0012e51019502d3101
    0a11010368211b78eaeea69e544c9926
    194f54afcf0081800101010101010101
    010101010101bc34009851002a401090
    1300510e1100001e000000fc004c4d31
    3731302028564741290a000000fd0037
    4c1e510e000a202020202020000000ff
    0032303030303038300a202020200023
    1280×1024 (0x48)  135.0MHz +HSync +VSync +preferred
    h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
    v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
    1280×1024 (0x49)  108.0MHz +HSync +VSync
    h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
    v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
    1024×768 (0x4a)   78.8MHz +HSync +VSync
    h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
    v: height  768 start  769 end  772 total  800           clock   75.1Hz
    1024×768 (0x4b)   75.0MHz -HSync -VSync
    h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
    v: height  768 start  771 end  777 total  806           clock   70.1Hz
    1024×768 (0x44)   65.0MHz -HSync -VSync *current
    h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
    v: height  768 start  771 end  777 total  806           clock   60.0Hz
    800×600 (0x4c)   50.0MHz +HSync +VSync
    h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
    v: height  600 start  637 end  643 total  666           clock   72.2Hz
    800×600 (0x4d)   49.5MHz +HSync +VSync
    h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
    v: height  600 start  601 end  604 total  625           clock   75.0Hz
    800×600 (0x45)   40.0MHz +HSync +VSync
    h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
    v: height  600 start  601 end  605 total  628           clock   60.3Hz
    800×600 (0x46)   36.0MHz +HSync +VSync
    h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
    v: height  600 start  601 end  603 total  625           clock   56.2Hz
    640×480 (0x4e)   31.5MHz -HSync -VSync
    h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
    v: height  480 start  489 end  491 total  520           clock   72.8Hz
    640×480 (0x4f)   31.5MHz -HSync -VSync
    h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
    v: height  480 start  481 end  484 total  500           clock   75.0Hz
    640×480 (0x50)   25.2MHz -HSync -VSync
    h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
    v: height  480 start  490 end  492 total  525           clock   60.0Hz
    720×400 (0x51)   28.3MHz -HSync +VSync
    h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
    v: height  400 start  412 end  414 total  449           clock   70.1Hz
    TV1 connected 1024×768+0+0 (0x54) normal (normal left inverted right x axis y axis) 0mm x 0mm
    Identifier: 0x43
    Timestamp:  1907650175
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 1.0
    Clones:
    CRTC:       1
    CRTCs:      0 1
    Transform:  1.000000 0.000000 0.000000
    0.000000 1.000000 0.000000
    0.000000 0.000000 1.000000
    filter:
    bottom margin: 37 (0x00000025)  range:  (0,100)
    right margin: 46 (0x0000002e)   range:  (0,100)
    top margin: 36 (0x00000024)     range:  (0,100)
    left margin: 54 (0x00000036)    range:  (0,100)
    mode:   NTSC-M
    supported: NTSC-M       NTSC-443     NTSC-J       PAL-M
    PAL-N        PAL          480p         576p
    720p@60Hz    720p@50Hz    1080i@50Hz   1080i@60Hz
    848×480 (0x52)   29.0MHz +preferred
    h: width   848 start  849 end  912 total  944 skew    0 clock   30.7KHz
    v: height  480 start  481 end  512 total  513           clock   59.9Hz
    640×480 (0x53)   22.6MHz +preferred
    h: width   640 start  641 end  704 total  736 skew    0 clock   30.7KHz
    v: height  480 start  481 end  512 total  513           clock   59.9Hz
    1024×768 (0x54)   53.8MHz *current
    h: width  1024 start 1025 end 1088 total 1120 skew    0 clock   48.0KHz
    v: height  768 start  769 end  800 total  801           clock   59.9Hz
    800×600 (0x55)   34.0MHz
    h: width   800 start  801 end  864 total  896 skew    0 clock   37.9KHz
    v: height  600 start  601 end  632 total  633           clock   59.9Hz

    (note- there is no LCD attached to the LVDS, hardware assumes it’s a 1024×768 panel)

    And using “bottom/left/right/top margin” does the trick, I wonder why it’s not mentioned in any documentation I found. Xrandr output after the change:

    # xrandr –verbose
    Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
    LVDS1 connected (normal left inverted right x axis y axis)
    Identifier: 0x41
    Timestamp: 1907983024
    Subpixel: horizontal rgb
    Clones:
    CRTCs: 1
    Transform: 1.000000 0.000000 0.000000
    0.000000 1.000000 0.000000
    0.000000 0.000000 1.000000
    filter:
    BACKLIGHT: 0 (0x00000000) range: (0,15625)
    Backlight: 0 (0x00000000) range: (0,15625)
    scaling mode: Full aspect
    supported: None Full Center Full aspect
    1024×768 (0x44) 65.0MHz -HSync -VSync +preferred
    h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz
    v: height 768 start 771 end 777 total 806 clock 60.0Hz
    800×600 (0x45) 40.0MHz +HSync +VSync
    h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz
    v: height 600 start 601 end 605 total 628 clock 60.3Hz
    800×600 (0x46) 36.0MHz +HSync +VSync
    h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz
    v: height 600 start 601 end 603 total 625 clock 56.2Hz
    640×480 (0x47) 25.2MHz -HSync -VSync
    h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
    v: height 480 start 490 end 492 total 525 clock 59.9Hz
    VGA1 connected 1024×768+0+0 (0x44) normal (normal left inverted right x axis y axis) 337mm x 270mm
    Identifier: 0x42
    Timestamp: 1907983024
    Subpixel: unknown
    Gamma: 1.0:1.0:1.0
    Brightness: 1.0
    Clones:
    CRTC: 0
    CRTCs: 0 1
    Transform: 1.000000 0.000000 0.000000
    0.000000 1.000000 0.000000
    0.000000 0.000000 1.000000
    filter:
    EDID:
    00ffffffffffff0012e51019502d3101
    0a11010368211b78eaeea69e544c9926
    194f54afcf0081800101010101010101
    010101010101bc34009851002a401090
    1300510e1100001e000000fc004c4d31
    3731302028564741290a000000fd0037
    4c1e510e000a202020202020000000ff
    0032303030303038300a202020200023
    1280×1024 (0x48) 135.0MHz +HSync +VSync +preferred
    h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz
    v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz
    1280×1024 (0x49) 108.0MHz +HSync +VSync
    h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz
    v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz
    1024×768 (0x4a) 78.8MHz +HSync +VSync
    h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.1KHz
    v: height 768 start 769 end 772 total 800 clock 75.1Hz
    1024×768 (0x4b) 75.0MHz -HSync -VSync
    h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.5KHz
    v: height 768 start 771 end 777 total 806 clock 70.1Hz
    1024×768 (0x44) 65.0MHz -HSync -VSync *current
    h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz
    v: height 768 start 771 end 777 total 806 clock 60.0Hz
    800×600 (0x4c) 50.0MHz +HSync +VSync
    h: width 800 start 856 end 976 total 1040 skew 0 clock 48.1KHz
    v: height 600 start 637 end 643 total 666 clock 72.2Hz
    800×600 (0x4d) 49.5MHz +HSync +VSync
    h: width 800 start 816 end 896 total 1056 skew 0 clock 46.9KHz
    v: height 600 start 601 end 604 total 625 clock 75.0Hz
    800×600 (0x45) 40.0MHz +HSync +VSync
    h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz
    v: height 600 start 601 end 605 total 628 clock 60.3Hz
    800×600 (0x46) 36.0MHz +HSync +VSync
    h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz
    v: height 600 start 601 end 603 total 625 clock 56.2Hz
    640×480 (0x4e) 31.5MHz -HSync -VSync
    h: width 640 start 664 end 704 total 832 skew 0 clock 37.9KHz
    v: height 480 start 489 end 491 total 520 clock 72.8Hz
    640×480 (0x4f) 31.5MHz -HSync -VSync
    h: width 640 start 656 end 720 total 840 skew 0 clock 37.5KHz
    v: height 480 start 481 end 484 total 500 clock 75.0Hz
    640×480 (0x50) 25.2MHz -HSync -VSync
    h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
    v: height 480 start 490 end 492 total 525 clock 60.0Hz
    720×400 (0x51) 28.3MHz -HSync +VSync
    h: width 720 start 738 end 846 total 900 skew 0 clock 31.5KHz
    v: height 400 start 412 end 414 total 449 clock 70.1Hz
    TV1 connected 1024×768+0+0 (0x54) normal (normal left inverted right x axis y axis) 0mm x 0mm
    Identifier: 0x43
    Timestamp: 1907983024
    Subpixel: unknown
    Gamma: 1.0:1.0:1.0
    Brightness: 1.0
    Clones:
    CRTC: 1
    CRTCs: 0 1
    Transform: 1.000000 0.000000 0.000000
    0.000000 1.000000 0.000000
    0.000000 0.000000 1.000000
    filter:
    bottom margin: 0 (0x00000000) range: (0,100)
    right margin: 0 (0x00000000) range: (0,100)
    top margin: 0 (0x00000000) range: (0,100)
    left margin: 0 (0x00000000) range: (0,100)
    mode: NTSC-M
    supported: NTSC-M NTSC-443 NTSC-J PAL-M
    PAL-N PAL 480p 576p
    720p@60Hz 720p@50Hz 1080i@50Hz 1080i@60Hz
    848×480 (0x52) 29.0MHz +preferred
    h: width 848 start 849 end 912 total 944 skew 0 clock 30.7KHz
    v: height 480 start 481 end 512 total 513 clock 59.9Hz
    640×480 (0x53) 22.6MHz +preferred
    h: width 640 start 641 end 704 total 736 skew 0 clock 30.7KHz
    v: height 480 start 481 end 512 total 513 clock 59.9Hz
    1024×768 (0x54) 53.8MHz *current
    h: width 1024 start 1025 end 1088 total 1120 skew 0 clock 48.0KHz
    v: height 768 start 769 end 800 total 801 clock 59.9Hz
    800×600 (0x55) 34.0MHz
    h: width 800 start 801 end 864 total 896 skew 0 clock 37.9KHz
    v: height 600 start 601 end 632 total 633 clock 59.9Hz

    Apparently 0 is too low value for all margins (half of the clock/weather is not visible, also rss icon is partially out of sight) but I guess this has to be tweaked for the exact TV.
    I’ve found that custom xserver settings can be made permanent in xorg.conf (which is not possible in my case- I can’t generate one) or in init scripts. So my question is- since there is no /etc/init.d where should I put the script?

     

    PS. Sorry for the mess, I’m not used to html tags…

    #5486

    tomlohave
    Moderator

    you should have a file /usr/lib/xorg/xorg-post-start

    use this file, add your custom xrandr settings

     

    #5489

    darth_llamah
    Member

    Thank you, works like a charm :)

    #5491

    tomlohave
    Moderator

    good news ;-)

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Comments are closed.