Kirjoittaja Aihe: Dvd käyttää prosessoria 100%  (Luettu 3619 kertaa)

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Dvd käyttää prosessoria 100%
« : 14.12.06 - klo:15.39 »
Ongelma:
Miten saan dvd:n toimimaan tökkimättä (dropped frames)?

Kokeillut ohjelmat:
totem, xine, mplayer, Windows Me(Tässä toimii)

Näytönohjaimen ajuri on tällä hetkellä "trident"
Ubuntu dapper feisty
DMA päällä

Koneen tiedot:
Model: Toshiba Satellite 1800-504
Device    Type    Status    Remark    Date
HDD_Int:    Ali M1535   
VGA:    Trident Cyber ALADDiN-T (Cyber Blade XP)
CPU:    Intel Celeron 1000 Mhz
RAM:    PC100 SDRAM (256)
Modem:    Softmodem (Lucent SCORPIO)
IrDA:    Super IO SMSC LPC47N227
USB:    Ali M1535   
CD_Int:    Ali M1535   
PCMCIA:    Toshiba ToPIC100 (Intel 82365 comp)
APM:    V1.2   
Mouse:    PS2   OK
ACPI:    V1.0b   
Chipset:    ALI M1644T/M1535 (ALADDiN -T)   
Network:    Intel 82559   
FloppyDisk_Int:    USB   
Basic_Info:    Info   
Wireless:    CardBus TI 1410 / Lucent ORiNOCO
Mini_PCI:    yes   OK
« Viimeksi muokattu: 16.12.06 - klo:15.54 kirjoittanut immoT »

juyli

  • Vieras
Re: Dvd käyttää prosessoria 100%
« Vastaus #1 : 14.12.06 - klo:16.26 »
Näytönohjaimen ajuri on tällä hetkellä "trident"
VGA:    Trident Cyber ALADDiN-T (Cyber Blade XP)
CPU:    Intel Celeron 1000 Mhz
RAM:    PC100 SDRAM (256)

Käytäthän 16-bit värejä?
Vinkkiä: http://www.dcs.ed.ac.uk/home/fhlt/Sat1800-400/second.shtml
XF86
For the X stuff, select the following:
Trident Cyberblade (generic)
Generic Laptop Display 1024x768
...
8Mb display RAM
...
Choose 1024x768 16bits


Ja jotkut kortit vielä käyttävät keskusmuistia näyttömuistina.

TuxMobil ja Linux on Laptops sivuilla on joitakin rinnakkaismalleja mainittu.
Mielestäni MPlayer on paras video-ohjelma, jos kone/näytönohjain ovat
hitaita. (VLC:tä en ole kokeillut).

Minullakin on joskus ammoisina aikoina ollut Trident (reilusti yli 10-vuotta sitten),
enkä tuolloin saanut X:ää edes käyntiin. Vasta kaupallisen MetroX:n (pohjautuikohan
RedHat 4.?) avulla alkoi X skulaamaan.

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #2 : 14.12.06 - klo:17.03 »
Asetukset on kyllä oikein, näytönohjain ei vain suostu purkamaan sitä vaan laittaa työt prosessorille
« Viimeksi muokattu: 14.12.06 - klo:17.04 kirjoittanut immoT »

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #3 : 14.12.06 - klo:17.07 »
tommi@toshiba:~$ 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_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: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
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_shadow_ambient, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
    GL_EXT_subtexture, GL_EXT_texture, 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_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
    GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
    GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
    GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   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
----------------------------------------------------------------------
0x23 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
0x25 16 tc  0 24  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x26 16 tc  0 24  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x27 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x28 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
0x29 16 dc  0 24  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x2a 16 dc  0 24  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None

Lakupatukka

  • Vieras
Re: Dvd käyttää prosessoria 100%
« Vastaus #4 : 14.12.06 - klo:17.53 »
Mitä "cat /etc/X11/xorg.conf" ulostaa?

Paljasta salaisuutesi!

lompolo

  • Käyttäjä
  • Viestejä: 852
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #5 : 14.12.06 - klo:18.08 »
Koodia: [Valitse]
xine-checkKomento saattaa myös antaa vihjeitä. tosin jos asetukset on oikein se on turha.

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #6 : 14.12.06 - klo:18.34 »
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
   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"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "type1"
   Load   "vbe"
   # Load   "xie" # testattu
   # Load   "pex5" # testattu
   # Load   "xtrap" # testattu
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "fi"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ExplorerPS/2"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "InputDevice"
   Identifier   "Synaptics Touchpad"
   Driver      "synaptics"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/psaux"
   Option      "Protocol"      "auto-dev"
   Option      "HorizScrollDelta"   "0"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
   Identifier   "Trident Microsystems CyberBlade/i1"
   Driver      "trident"
   BusID      "PCI:1:0:0"
   BoardName   "Cyber aladdin-t"
   # Option      "MMIOonly"      "true" # testattu
   # Option      "NoAccel"      "false" # testattu
   
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   28-49
   VertRefresh   43-72
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Trident Microsystems CyberBlade/i1"
   Monitor      "Generic Monitor"
   DefaultDepth   16
   SubSection "Display"
      Depth      1
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice     "stylus" "SendCoreEvents"
   InputDevice     "cursor" "SendCoreEvents"
   InputDevice     "eraser" "SendCoreEvents"
   InputDevice   "Synaptics Touchpad"
EndSection

Section "DRI"
   Mode   0666
EndSection

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #7 : 14.12.06 - klo:18.36 »
tommi@toshiba:~$ xine-check
Please be patient, this script may take a while to run...
[ good ] you're using Linux, doing specific tests
[ good ] looks like you have a /proc filesystem mounted.
[ good ] You seem to have a reasonable kernel version (2.6.15-27-686)
[ good ] intel compatible processor, checking MTRR support
[ good ] you have MTRR support and there are some ranges set.
[ good ] found the player at /usr/bin/xine
[ hint ] multiple xine executables found in your PATH
         I have found more than one occurance of 'xine' in your PATH:
         /usr/bin/X11/xine
         /usr/bin/xine
         You have probably installed xine-ui more than once, or the directory
         where you have installed xine occurs more than once in your PATH.
         Technically, this is not really a problem, but it's probably
         somewhat confusing, as it's not obvious, which xine you're using.
         You should probably uninstall the copies that you don't use...
         Further tests assume, you're using /usr/bin/X11/xine
         press <enter> to continue...

[OUCH!!] no xine-config on this machine.
         This means that xine-lib is either not installed
         or it is installed in a very unusual place.
         So you should probably install xine-lib before running xine-check...
         press <enter> to continue...

[ hint ] unable to determine plugin directory
         I could not determine your plugin directory. That would be much easier
         if you had xine-config installed (see message above)...
         Note that I could not check your xine plugins.
         press <enter> to continue...

[ good ] /dev/cdrom points to /dev/hdc
[ good ] /dev/dvd points to /dev/hdc
[ good ] DMA is enabled for your DVD drive
[ good ] found xvinfo: X-Video Extension version 2.2
[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
[ good ] your Xv extension supports YUY2 overlays
[ good ] Xv ports:  RV16 YV12 YUY2
tommi@toshiba:~$

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #8 : 14.12.06 - klo:21.54 »
Asensin tähän feistyn pakettivarastoista uudemman xserver video trident ajurin.
Nyt tämä toimii nykimättä, mutta olisihan se kiva saada kunnolla toimimaan.
Nyt prosessori ~98%

ReiKn

  • Käyttäjä
  • Viestejä: 15
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #9 : 16.12.06 - klo:12.19 »
Onko sulla XGL käytössä? Itsellä ainakin XGL:n kanssa käy juuri noin, eli kaikki liikkuva kuva saa prosessorin käytön erittäin korkeaksi. Ratkaisin asian käynnistämällä video-ohjelmat eri "näytölle" (DISPLAY=:0 mplayer&). Tätä helpottaa se, että ajaa jotain ikkunamanageria sillä toisella "näytöllä".

ReiKn

  • Käyttäjä
  • Viestejä: 15
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #10 : 16.12.06 - klo:12.22 »
Mulla joskus oli noin, mutta sitten ohjelmalla nimeltä VLC toimi ongelmitta.

Tai sitten toinen mahdollisuus vikaan. Onko sulla XGL käytössä? Itsellä ainakin XGL:n kanssa käy juuri noin, eli kaikki liikkuva kuva saa prosessorin käytön erittäin korkeaksi. Ratkaisin asian käynnistämällä video-ohjelmat eri "näytölle" (DISPLAY=:0 mplayer&). Tätä helpottaa se, että ajaa jotain ikkunamanageria sillä toisella "näytöllä".

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #11 : 16.12.06 - klo:13.40 »
Ei ole berylli/3d tyopoytia (Voi p"#$, ei toimi skanditkaan tassa/ Ubuntu feistyssa)
Alkaa tuntumaan tama naytonohjaimen ajuri vahan talta:
http://www.youtube.com/watch?v=xHBPEZtfqZA

Saako Linuxissa naytonohjainta millaan purkamaan dvd:ta?
Tuli mieleen etta voisikohan Mandriva powerpack, koska siina on maksullinen Cybermedia LinDvd mukana..

Regel

  • Käyttäjä
  • Viestejä: 1090
  • Lucid
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #12 : 16.12.06 - klo:13.41 »
tassa/ Ubuntu feistyssa
Onko siis Dapper, Edgy vai Feisty käytössä?

immoT

  • Käyttäjä
  • Viestejä: 435
    • Profiili
Re: Dvd käyttää prosessoria 100%
« Vastaus #13 : 16.12.06 - klo:15.54 »
Päivitin Feistyyn

http://ubuntuforums.org/showthread.php?t=302887 toimii, mutta välillä jää lataamaan
« Viimeksi muokattu: 16.12.06 - klo:16.53 kirjoittanut immoT »