Výsledky 1 až 9 z 9

Téma: Xgl

  1. #1

    Standardní Xgl

    Nevim jestli to tu uz nekde bylo reseny ale nic sem nenasel. Xgl mi funguje vpohode, ale kdyz pustim film tak je zatizeni cpu na 100%, evidentne to nejde primo pres video overlay, ale v mplayer.conf mam xv, i kdyz udelam pritscreen tak to vyfoti i s filmem coz predtim nebylo. Jde to nejak spravit nebo je to normalni vlastnost xgl, protoze v tomto stavu je to nepouzitelny.

    jo a postupoval jsem podle tohoto navodu (jo a mam ubuntu 6.06 a GF4ti):

    http://knowledge76.com/index.php/XGL...z_Nvidia_32bit


    mplayer.conf
    Kód:
    # Specify default video driver (see -vo help for a list).
    vo=xv,sdl,x11
    xvinfo
    Kód:
    X-Video Extension version 2.2
    screen #0
      Adaptor #0: "Xgl Generic Texture Video"
        number of ports: 32
        port base: 48
        operations supported: PutImage
        supported visuals:
          depth 24, visualID 0x2c
          depth 24, visualID 0x2d
          depth 32, visualID 0x2e
          depth 32, visualID 0x2f
        no port attributes defined
        maximum XvImage size: 2048 x 2048
        Number of image formats: 3
          id: 0x32595559 (YUY2)
            guid: 59555932-0000-0010-8000-00aa00389b71
            bits per pixel: 16
            number of planes: 1
            type: YUV (packed)
          id: 0x32315659 (YV12)
            guid: 59563132-0000-0010-8000-00aa00389b71
            bits per pixel: 12
            number of planes: 3
            type: YUV (planar)
          id: 0x0
            guid: 03000000-0000-0010-8000-00aa00389b71
            bits per pixel: 32
            number of planes: 1
            type: RGB (packed)
            depth: 24
            red, green, blue masks: 0xff0000, 0xff00, 0xff
    glxinfo
    Kód:
    X-Video Extension version 2.2
    screen #0
      Adaptor #0: "Xgl Generic Texture Video"
        number of ports: 32
        port base: 48
        operations supported: PutImage
        supported visuals:
          depth 24, visualID 0x2c
          depth 24, visualID 0x2d
          depth 32, visualID 0x2e
          depth 32, visualID 0x2f
        no port attributes defined
        maximum XvImage size: 2048 x 2048
        Number of image formats: 3
          id: 0x32595559 (YUY2)
            guid: 59555932-0000-0010-8000-00aa00389b71
            bits per pixel: 16
            number of planes: 1
            type: YUV (packed)
          id: 0x32315659 (YV12)
            guid: 59563132-0000-0010-8000-00aa00389b71
            bits per pixel: 12
            number of planes: 3
            type: YUV (planar)
          id: 0x0
            guid: 03000000-0000-0010-8000-00aa00389b71
            bits per pixel: 32
            number of planes: 1
            type: RGB (packed)
            depth: 24
            red, green, blue masks: 0xff0000, 0xff00, 0xff
    root@joe:/etc/mplayer# glxinfo
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: No
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
        GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
        GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
        GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
        GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
    client glx vendor string: NVIDIA Corporation
    client glx version string: 1.4
    client glx extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
        GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
        GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
        GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
    GLX version: 1.2
    GLX extensions:
        GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
        GLX_EXT_import_context, GLX_SGIX_fbconfig, GLX_ARB_get_proc_address
    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce4 Ti 4200/AGP/SSE/3DNOW!
    OpenGL version string: 1.2 (1.5.6 NVIDIA 87.62)
    OpenGL extensions:
        GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
        GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
        GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
        GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
        GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
        GL_ARB_window_pos, GL_ARB_vertex_program, GL_EXT_abgr, GL_EXT_bgra,
        GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
        GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
        GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
        GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
        GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
        GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
        GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
        GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
        GL_NV_texgen_reflection, GL_NV_texture_rectangle,
        GL_NV_texture_env_combine4, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
        GL_SGIX_depth_texture, GL_SGIX_shadow
    
       visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
     id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------
    0x2c 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
    0x2e 32 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 Ncon
    0x2f 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon
    xorg.conf
    Kód:
    Section "ServerLayout"
        Identifier     "Basic Layout"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "eraser" "SendCoreEvents"
    EndSection
    
    Section "Files"
    
            # path to defoma fonts
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
        Load           "i2c"
        Load           "bitmap"
        Load           "ddc"
        Load           "extmod"
        Load           "freetype"
        Load           "glx"
        Load           "int10"
        Load           "type1"
        Load           "vbe"
    EndSection
    
    Section "InputDevice"
        Identifier     "Generic Keyboard"
        Driver         "kbd"
        Option         "CoreKeyboard"
        Option         "XkbRules" "xorg"
        Option         "XkbModel" "pc104"
        Option         "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
        Identifier     "Configured Mouse"
        Driver         "mouse"
        Option         "CorePointer"
        Option         "Device" "/dev/input/mice"
        Option         "Protocol" "ExplorerPS/2"
        Option         "ZAxisMapping" "4 5"
        Option         "Emulate3Buttons" "true"
    EndSection
    
    Section "InputDevice"
    
                                                          # /dev/input/event
                                                          # for USB
        Identifier     "stylus"
        Driver         "wacom"
        Option         "Device" "/dev/wacom"          # Change to
        Option         "Type" "stylus"
        Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    
                                                          # /dev/input/event
                                                          # for USB
        Identifier     "eraser"
        Driver         "wacom"
        Option         "Device" "/dev/wacom"          # Change to
        Option         "Type" "eraser"
        Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    
                                                          # /dev/input/event
                                                          # for USB
        Identifier     "cursor"
        Driver         "wacom"
        Option         "Device" "/dev/wacom"          # Change to
        Option         "Type" "cursor"
        Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor"
        Option         "DPMS"
    EndSection
    
    Section "Monitor"
    
    #        DisplaySize    400 300
        Identifier     "Television"
        HorizSync       30.0 - 50.0
        VertRefresh     60.0 - 60.0
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        BusID          "PCI:1:0:0"
        Screen          0
    EndSection
    
    Section "Device"
        Identifier     "Device1"
        Driver         "nvidia"
        BusID          "PCI:1:0:0"
        Screen          1
    EndSection
    
    Section "Screen"
    
    #        Option          "ConnectedMonitor" "DFP"
    #        Option          "UseDisplayDevice" "DFP"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor"
        DefaultDepth    24
        Option         "NoLogo" "true"
        Option         "RenderAccel" "true"
        SubSection     "Display"
            Depth       1
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       4
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       8
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       15
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       16
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       24
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
    EndSection
    
    Section "Screen"
    
    #        Option          "UseDisplayDevice" "TV-0"
        Identifier     "Screen1"
        Device         "Device1"
        Monitor        "Television"
        DefaultDepth    24
        Option         "TVOutFormat" "SVIDEO"
        Option         "TVStandard" "PAL-B"
    #        Option          "ConnectedMonitor" "TV-0"
        Option         "NoLogo" "true"
        Option         "RenderAccel" "true"
        SubSection     "Display"
     #PAL resolution
            Depth       24
            Modes      "720x576"
        EndSubSection
    EndSection
    Jo a taky by mi pomohlo jak udelat aby mi fungoval v xgl i druhy monitor (tv) ?
    Barton 2500+, AC Copper Silent 2, Gf4 Ti4200, Assus A7V880, Kingston 512 DDR, WD 800JB 80GB, DVD-RW NEC 3500, LCD Samsung 710T, Creative I-Trique 3200, PSU 400W, ATI Remote Wonder

  2. #2

    Standardní Re: Xgl

    tvuj problem by mohlo vyresit prepnuti video outputu na gl nebo gl2, GF4 by to mela utahnout... pokud to nezabere (nebo CPU load bude prilis velky), doporucuju procist http://forums.gentoo.org/viewtopic-t...ighlight-.html
    jakym prikazem presne se ti spousti Xgl?
    jestli jsi jel primo podle toho navodu, tak tam asi mas:
    Kód:
    command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo -kb
    zkus ten command zmenit na nasledujici
    Kód:
    Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv
    pripadne
    Kód:
    Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
    jen tak pro zajimavost, v kalsickym Xorgu mi na ATine xvinfo hlasi:
    Kód:
    X-Video Extension version 2.2
    screen #0
      Adaptor #0: "ATI Radeon Video Overlay"
    a myslim, ze to nebude tim, ze ty mas nvidii a ja atinu...

    ad posledni otazka: http://gentoo-wiki.com/HOWTO_XGL:MultiHeads (ale je to na gentoo, ne ubuntu)
    Naposledy upravil Wohmatak; 02.10.2006 v 00:34.
    Imagine there's no heaven and at once the sky is the limit
    Photoblog | Kapela

  3. #3

    Standardní Re: Xgl

    V Xgl je video overlay zachyceno v Xgl serveru a transformovano na OpenGL texturu. Tzn. pres OpenGL jede video vzdy a jinak to ani nejde. Vystupni drivery gl a gl2 v mplayeru prinasi jen dalsi problemy s kompatibilitou.

    Problem spociva v bugu compizu, kdy jsou na okno videa aplikovany veskere efekty. Mel jsem ten samy problem, video do urcite velikosti bezelo plynule a bez zateze CPU, pri vetsim formatu pak CPU jelo na 100%. Resenim je sehnat si novejsi verze compizu.

    Doporucuju Beryl - http://forum.beryl-project.org/
    - bezi krasne, ma par drobnych chybicek, ale jinak bez problemu.
    In a world without fences and walls, who needs Gates and Windows? | Nesnáším wide monitory.
    Workstation: Xeon E3-1275v5 :: Silentmaxx TwinBlock fanless :: Fujitsu D3417-B :: 32 GB ECC DDR4 :: Radeon Pro WX 2100 fanless :: Dell UP2715K :: Gentoo
    Server: Xeon E3-1245v6 :: Supermicro X11SSH-F :: 32 GB ECC DDR4 :: Aquantia 5GBase-T :: 36 TB storage :: Gentoo Hardened

  4. #4

    Standardní Re: Xgl

    imho je spis resenim nepouzivat zbytecny eye-candy, ale to asi Jusuf slyset nechce
    Imagine there's no heaven and at once the sky is the limit
    Photoblog | Kapela

  5. #5

    Standardní Re: Xgl

    No o ty eye-candy me zas tak nejde, chtel jsem to proste ze zvedavosti vyzkouset asi jako kazdy, prvotni nadseni ale brzo vystridalo trochu zklamani z tech drobnych bugu a hlavne to video (mas pravdu do urcite velikosti je to ok ale na mym stroji je uz pri cca 200x100 pix cpu na 100%). zkousel jsem to i pres to gl - to mi nefunguje, gl2 funguje a je dokonce o poznani rychlejsi ale v porovnani s xv porad velky rozdil. Beryl mam nainstalovany - je paradni. Nastesti muzu hned v tom beryl menu prepnout window manager z berylu na metacity kde xv funguje, nicmene vec se ma tak ze se stejne loguju do gnome, ale az vychytaji ty mouchy tak bych se k tomu i vratil.

    prozatim je to tak na machrovani pred navstevama kteri nemaji o linuxu moc paru a jsou zvykli na svoje win xp.
    Naposledy upravil Jusuf; 05.10.2006 v 16:15.
    Barton 2500+, AC Copper Silent 2, Gf4 Ti4200, Assus A7V880, Kingston 512 DDR, WD 800JB 80GB, DVD-RW NEC 3500, LCD Samsung 710T, Creative I-Trique 3200, PSU 400W, ATI Remote Wonder

  6. #6

    Standardní Re: Xgl

    Citace Původně odeslal Jusuf Zobrazit příspěvek
    prozatim je to tak na machrovani pred navstevama kteri nemaji o linuxu moc paru a jsou zvykli na svoje win xp.
    Nemas pravdu, chce si s tim jen trochu pohrat. Ja Xgl nasadil do sveho produkcniho prostredi, normalne v tom doma pracuju. Zrychlit animace a povypinat par veci, proste nastavit tak, aby to bylo pouzitelne. Rychlost je ovsem o trochu nizsi nez nativni 2D (jedu pres Xgl server).

    Pises o Metacity - tento WM ale nepatchovany neni na Xgl serveru pouzitelny vubec. Nejede-li zadny X composite manager, je to dabelsky pomale a CPU je na 100% temer celou dobu. Z tohoto usuzuji, ze Xgl server nemas a bezis nativne na beta nVidiich driverech, protoze za behu se jinak pres beryl-manager prepinat WM nedaji. Navic Xv neni zalezitost WM vubec, maximalne composite manageru (nejsem si jisty, co to udela, nebezi-li po Xgl, pravdepodobne bude video nepouzitelne).
    In a world without fences and walls, who needs Gates and Windows? | Nesnáším wide monitory.
    Workstation: Xeon E3-1275v5 :: Silentmaxx TwinBlock fanless :: Fujitsu D3417-B :: 32 GB ECC DDR4 :: Radeon Pro WX 2100 fanless :: Dell UP2715K :: Gentoo
    Server: Xeon E3-1245v6 :: Supermicro X11SSH-F :: 32 GB ECC DDR4 :: Aquantia 5GBase-T :: 36 TB storage :: Gentoo Hardened

  7. #7

    Standardní Re: Xgl

    Citace Původně odeslal Gargamel Zobrazit příspěvek
    Nemas pravdu, chce si s tim jen trochu pohrat. Ja Xgl nasadil do sveho produkcniho prostredi, normalne v tom doma pracuju. Zrychlit animace a povypinat par veci, proste nastavit tak, aby to bylo pouzitelne. Rychlost je ovsem o trochu nizsi nez nativni 2D (jedu pres Xgl server).
    jenze kdyz polovinu veci povypinas, tak proc bys potom mel vubec chtit Xgl? krome peknych efektu (ty jsou moc pekny, to jo ) nechapu smysl...
    Imagine there's no heaven and at once the sky is the limit
    Photoblog | Kapela

  8. #8

    Standardní Re: Xgl

    Citace Původně odeslal Wohmatak Zobrazit příspěvek
    jenze kdyz polovinu veci povypinas, tak proc bys potom mel vubec chtit Xgl? krome peknych efektu (ty jsou moc pekny, to jo ) nechapu smysl...
    Prave kvuli tem peknym efektum Beryl ma v soucasne dobe tolik moc pluginu, ze se v defaultni konfiguraci minimalne polovina pluginu mlati o klavesove zkratky - duplikaty.

    Puvodni plan byl ten, ze Xgl bude akcelerovat vse a jeste neco navic pres grafickou kartu, papirove mel byt desktop nekolikanasobne rychlejsi, ale kvuli soucasne situaci s ovladaci grafickych karet je to dost problem.

    Par veci jsem si vsiml - Beryl jako WM je flexibilnejsi, lepe konfigurovatelny a rychlejsi nez Metacity. Zlepsilo se celkove ovladani oken, okna se prekresluji nejprve do textury, takze pri prepinani neproblikavaji a pusobi uhlazenejsim dojmem.
    In a world without fences and walls, who needs Gates and Windows? | Nesnáším wide monitory.
    Workstation: Xeon E3-1275v5 :: Silentmaxx TwinBlock fanless :: Fujitsu D3417-B :: 32 GB ECC DDR4 :: Radeon Pro WX 2100 fanless :: Dell UP2715K :: Gentoo
    Server: Xeon E3-1245v6 :: Supermicro X11SSH-F :: 32 GB ECC DDR4 :: Aquantia 5GBase-T :: 36 TB storage :: Gentoo Hardened

  9. #9

    Standardní Re: Xgl

    Citace Původně odeslal Gargamel Zobrazit příspěvek
    Pises o Metacity - tento WM ale nepatchovany neni na Xgl serveru pouzitelny vubec. Nejede-li zadny X composite manager, je to dabelsky pomale a CPU je na 100% temer celou dobu. Z tohoto usuzuji, ze Xgl server nemas a bezis nativne na beta nVidiich driverech, protoze za behu se jinak pres beryl-manager prepinat WM nedaji. Navic Xv neni zalezitost WM vubec, maximalne composite manageru (nejsem si jisty, co to udela, nebezi-li po Xgl, pravdepodobne bude video nepouzitelne).
    No ja nevim postupoval jsem podle toho navodu co jsem uvedl v prvnim postu, kazdopadne se z berylu prepnout do metacity muzu (je to pomalejsi nez defaultni gnome) ale jede v tom xv jak ma. Jak to myslis s tim xgl serverem a beta nvidia? jak zjistim jak mi to bezi? nvidia ovladace jsem instaloval, v xorgu mam "nvidia" ne "nv" jestli myslils tohle. Vypis glxinfo jsem sem uz postoval jestli se to da vycist z toho.
    Barton 2500+, AC Copper Silent 2, Gf4 Ti4200, Assus A7V880, Kingston 512 DDR, WD 800JB 80GB, DVD-RW NEC 3500, LCD Samsung 710T, Creative I-Trique 3200, PSU 400W, ATI Remote Wonder

Informace o tématu

Users Browsing this Thread

Toto téma si právě prohlíží 1 uživatelů. (0 registrovaných a 1 anonymních)

Podobná témata

  1. MPlayer, problem s video driverem
    Založil Lopan v sekci fóra Operační systémy na bázi Unixu
    Odpovědí: 34
    Poslední příspěvek: 19.12.2006, 12:05
  2. GeForce řady 6xxx verzus Windows 9x a ME
    Založil DlouhyJony v sekci fóra NVIDIA grafické karty
    Odpovědí: 7
    Poslední příspěvek: 15.01.2005, 18:40
  3. Mandrake 10
    Založil jama v sekci fóra Operační systémy na bázi Unixu
    Odpovědí: 57
    Poslední příspěvek: 06.01.2005, 16:36
  4. Kde mam stiahnut drivery na Rivu TNT?
    Založil Rainbow v sekci fóra NVIDIA grafické karty
    Odpovědí: 23
    Poslední příspěvek: 11.04.2004, 19:06
  5. Ekvivalent ke Quadro 4 980 XGL
    Založil Laďan v sekci fóra NVIDIA grafické karty
    Odpovědí: 4
    Poslední příspěvek: 06.11.2003, 12:53

Pravidla přispívání

  • Nemůžete zakládat nová témata
  • Nemůžete zasílat odpovědi
  • Nemůžete přikládat přílohy
  • Nemůžete upravovat své příspěvky
  •