Danke für den Link. Ich werde das mal bei Gelegenheit testen.
Aber erstmal beiss ich mir noch ein wenig die Zähne an dfb aus
Beiträge von Liontamer
-
-
Das hat aber sicher den Nachteil, dass du dich erstmal einloggen musst und dann xine etc. manuell starten musst, oder nicht?
Ich wünsche mir ein System, das bei Power-on selbstständig bis zum TV Bild bootet und sofort per Fernbedienung bedienbar ist. -
Nochmal ein ausführlicheres log, auch wenn es wohl nicht viel hilft:
Code
Alles anzeigenZenega:~# vdr -P "softdevice -vo dfb:" [softdevice] processing args [softdevice] argv [0] = softdevice [softdevice] argv [1] = -vo vo_argv: dfb: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg version(SVN-r5827) build(3344896) [dfb] init (*) DirectFB/Config: Parsing config file '/etc/directfbrc'. ---------------------- DirectFB v0.9.25 --------------------- (c) 2000-2002 convergence integrated media GmbH (c) 2002-2004 convergence GmbH ----------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2006-07-25 16:15) (*) Direct/Memcpy: Using MMXEXT optimized memcpy() (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3561)... (*) Direct/Modules: suppress module 'joystick' (*) Direct/Modules: suppress module 'ps2mouse' (*) Direct/Modules: suppress module 'serialmouse' (*) Direct/Modules: suppress module 'sonypi' (*) Direct/Thread: Running 'Linux Input' (INPUT, 3562)... (!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:853] (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 3563)... (*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (2) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3564)... (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: Intel 830/845G/852GM/855GM/865G 0.1 (Denis Oliver Kropp) (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH) [dfb] RAM: 8388608 bytes [dfb] Accellerated Functions: none [dfb] Drawing Flags: none [dfb] Surface Blitting Flags: none [dfb] Supported video Modes are: 640x480@8 640x480@8 640x480@8 640x480@8 640x480@8 768x576@32 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1152x864@8 1152x864@8 1152x864@8 1152x864@8 1280x960@8 1280x960@16 1280x960@32 1280x1024@8 1280x1024@8 1280x1024@8 1280x1024@8 1600x1200@8 1600x1200@8 1600x1200@8 [dfb] Enumerating display Layers Layer 0 FBDev Primary Layer Type: graphics Caps: brightness contrast saturation surface Layer 1 Intel 830/845/855/865 Overlay Type: graphics picture video Caps: brightness contrast dst_colorkey saturation screen_location surface [surface capabilities] scrSurface: primary videoonly double-buffered flipping [dfb] width = 800, height = 600 [dfb] got fmt = 0x00400c03 bpp = 32 [dfb] Using this layer for OSD: (FBDev Primary Layer - [800x600]) [surface capabilities] osdSurface: videoonly double-buffered flipping (!!!) *** WARNING [letting unprivileged IDirectFBDisplayLayer::GetSurface() call pass until cooperative level handling is finished] *** [idirectfbdisplaylayer.c:170 in IDirectFBDisplayLayer_GetSurface()] [surface capabilities] videoSurface: videoonly [dfb] Configuring CooperativeLevel for Overlay [dfb] Configuring CooperativeLevel for OSD [dfb] Using this layer for OSD: FBDev Primary Layer [dfb] Using this layer for Video out: Intel 830/845/855/865 Overlay [dfb] Display frame time is 7 microseconds [dfb] (re)configuring Videolayer to 720 x 576 (720x576) [dfb] SetParams: action=IDirectFBDisplayLayer::SetConfiguration(DFBDisplayLayerConfig&), result=Out of video memory! [surface capabilities] videoSurface: videoonly [dfb] (re)configured 0x08100609 [softdevice] Subplugin successfully opend [softdevice] Video Out seems to be OK [softdevice] Initializing Audio Out [softdevice] Audio out seems to be OK [softdevice] A/V devices initialized, now initializing MPEG2 Decoder [dfb] (re)configuring Videolayer to 736 x 576 (736x576) [dfb] SetParams: action=IDirectFBDisplayLayer::SetConfiguration(DFBDisplayLayerConfig&), result=Out of video memory! [surface capabilities] videoSurface: videoonly [dfb] (re)configured 0x08100609 (!) [ 3558: 0.000] --> Caught signal 11 (at 0x3bd80000, invalid permissions) <--
-
Zitat
Original von stl
[...]
Sind die 8M Video-Memory fest verdrahtet auf der Karte, oder ist das auf dem Motherboard integriert ? Wenn das auf dem MB ist, so sollte sich das im Bios einstellen lassen wieviel Video-Memory zu verwenden ist.Stefan
Die "Karte" ist onboard. Leider kann man über das Bios nicht mehr als 8MB freigeben -
Das "Out of video memory" Problem konnte ich vorerst lösen, indem ich die mode und depth Einstellung in der directfbrc reduziert hab.
Starte ich jetzt den vdr mit 'vdr -P "softdevice -vo dfb:" erhalte ich folgendes in der /var/log/syslog:
Code
Alles anzeigenJul 27 11:13:40 Zenega vdr: [3557] VDR version 1.4.1 started Jul 27 11:13:40 Zenega vdr: [3557] loading plugin: /usr/lib/vdr/PLUGINS/lib/libvdr-softdevice.so.1.4.1 Jul 27 11:13:40 Zenega vdr: [3557] loading /usr/lib/vdr/setup.conf Jul 27 11:13:41 Zenega vdr: [3557] loading /usr/lib/vdr/sources.conf Jul 27 11:13:41 Zenega vdr: [3557] loading /usr/lib/vdr/diseqc.conf Jul 27 11:13:41 Zenega vdr: [3557] loading /usr/lib/vdr/channels.conf Jul 27 11:13:41 Zenega vdr: [3557] loading /usr/lib/vdr/svdrphosts.conf Jul 27 11:13:41 Zenega vdr: [3557] loading /usr/lib/vdr/keymacros.conf Jul 27 11:13:41 Zenega vdr: [3557] reading EPG data from /usr/lib/vdr/epg.data Jul 27 11:13:41 Zenega vdr: [3557] probing /dev/dvb/adapter0/frontend0 Jul 27 11:13:41 Zenega vdr: [3559] video directory scanner thread started (pid=3559, tid=3559) Jul 27 11:13:41 Zenega vdr: [3560] video directory scanner thread started (pid=3560, tid=3560) Jul 27 11:13:41 Zenega kernel: dst_ca_open: Device opened [be8621c0] Jul 27 11:13:41 Zenega kernel: dst_ca_ioctl: Getting Slot capabilities Jul 27 11:13:41 Zenega kernel: put_checksum: Computing string checksum. Jul 27 11:13:41 Zenega kernel: put_checksum: -> string length : 0x07 Jul 27 11:13:41 Zenega kernel: put_checksum: -> checksum : 0xb5 Jul 27 11:13:41 Zenega kernel: dst_put_ci: Put Command Jul 27 11:13:41 Zenega kernel: ca_get_slot_caps: -->dst_put_ci SUCCESS ! Jul 27 11:13:41 Zenega kernel: ca_get_slot_caps: Slot cap = [185] Jul 27 11:13:41 Zenega kernel: =================================== Jul 27 11:13:41 Zenega kernel: 7 64 0 0 0 0 0 185 Jul 27 11:13:41 Zenega kernel: dst_ca_ioctl: -->CA_GET_CAP Success ! Jul 27 11:13:41 Zenega vdr: [3557] CAM doesn't support link layer interface Jul 27 11:13:41 Zenega kernel: dst_ca_release: Device closed. Jul 27 11:13:41 Zenega vdr: [3562] tuner on device 1 thread started (pid=3562, tid=3562) Jul 27 11:13:41 Zenega vdr: [3563] section handler thread started (pid=3563, tid=3563) Jul 27 11:13:41 Zenega vdr: [3557] found 1 video device Jul 27 11:13:41 Zenega vdr: [3557] initializing plugin: softdevice (0.2.3): A software emulated MPEG2 device Jul 27 11:13:41 Zenega vdr: [3559] video directory scanner thread ended (pid=3559, tid=3559) Jul 27 11:13:41 Zenega vdr: [3560] video directory scanner thread ended (pid=3560, tid=3560) Jul 27 11:13:42 Zenega kernel: intelfb: Mode is interlaced. Jul 27 11:13:42 Zenega last message repeated 5 times Jul 27 11:13:44 Zenega vdr: [3564] [VideoOut]: resolution changed: W(720 -> 736); H(576 ->576) Jul 27 11:13:44 Zenega vdr: [3564] [VideoOut]: 736x576 [8,0 720x576] -> 800x600 [0,0 800x600]
Und dmesg sagt:Code
Alles anzeigendst_ca_open: Device opened [be8621c0] dst_ca_ioctl: Getting Slot capabilities put_checksum: Computing string checksum. put_checksum: -> string length : 0x07 put_checksum: -> checksum : 0xb5 dst_put_ci: Put Command ca_get_slot_caps: -->dst_put_ci SUCCESS ! ca_get_slot_caps: Slot cap = [185] =================================== 7 64 0 0 0 0 0 185 dst_ca_ioctl: -->CA_GET_CAP Success ! dst_ca_release: Device closed.
Allerdings ist das Bild auf dem Monitor schwarz! Ich kann lokal am Rechner überhaupt nichsts mehr machen. Nichtmal mehr die Num Lock LED Lässt sich über die Tastatur ein oder ausschalten. Es sieht aus wie ein Systemcrash.
Auch vdradmin sagt: "Konnte Verbindung zu localhost:2001 nicht aufbauen! Bitte überprüfen Sie, dass VDR läuft und dass seine svdrphosts.conf richtig konfiguriert ist."Der vdr scheint aber zu laufen:
-
So weit so gut, es ist alles fertig gebaut.
Aber schonwieder gibt es ein neues Problem:Code
Alles anzeigenZenega:~# vdr -P "softdevice -vo dfb:" [softdevice] processing args [softdevice] argv [0] = softdevice [softdevice] argv [1] = -vo vo_argv: dfb: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg version(SVN-r5827) build(3344896) [dfb] init (*) DirectFB/Config: Parsing config file '/etc/directfbrc'. ---------------------- DirectFB v0.9.25 --------------------- (c) 2000-2002 convergence integrated media GmbH (c) 2002-2004 convergence GmbH ----------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2006-07-25 16:15) (*) Direct/Memcpy: Using MMXEXT optimized memcpy() (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3717)... (*) Direct/Modules: suppress module 'joystick' (*) Direct/Modules: suppress module 'ps2mouse' (*) Direct/Modules: suppress module 'serialmouse' (*) Direct/Modules: suppress module 'sonypi' (*) Direct/Thread: Running 'Linux Input' (INPUT, 3718)... (!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:853] (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 3719)... (*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (2) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3720)... (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: Intel 830/845G/852GM/855GM/865G 0.1 (Denis Oliver Kropp) (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH) [dfb] RAM: 8253440 bytes [dfb] Accellerated Functions: none [dfb] Drawing Flags: none [dfb] Surface Blitting Flags: none [dfb] Supported video Modes are: 640x480@8 640x480@8 640x480@8 640x480@8 640x480@8 768x576@32 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1152x864@8 1152x864@8 1152x864@8 1152x864@8 1280x960@8 1280x960@16 1280x960@32 1280x1024@8 1280x1024@8 1280x1024@8 1280x1024@8 1600x1200@8 1600x1200@8 1600x1200@8 [dfb] Enumerating display Layers Layer 0 FBDev Primary Layer Type: graphics Caps: brightness contrast saturation surface Layer 1 Intel 830/845/855/865 Overlay Type: graphics picture video Caps: brightness contrast dst_colorkey saturation screen_location surface [surface capabilities] scrSurface: primary videoonly double-buffered flipping [dfb] width = 1024, height = 768 [dfb] got fmt = 0x00400c03 bpp = 32 [dfb] init EXITING:action=IDirectFB::CreateSurface(DFBSurfaceDescription&), result=Out of video memory! (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:741 in dfb_core_deinit_check()]
Mit diesen Einstellungen kann ich mit dfbshow Grafiken auf dem Monitor darstellen. Daher sollte dies also ok sein:Code
Alles anzeigenZenega:~# cat /etc/directfbrc mode=1024x768-70 depth=32 pixelformat=ARGB primary-layer=0 #disable-module=keyboard disable-module=joystick disable-module=mutouch disable-module=ps2mouse disable-module=sdlinput disable-module=serialmouse disable-module=sonypi
Code
Alles anzeigenZenega:~# cat /proc/meminfo MemTotal: 248720 kB MemFree: 179044 kB Buffers: 5276 kB Cached: 32996 kB SwapCached: 0 kB Active: 39668 kB Inactive: 16040 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 248720 kB LowFree: 179044 kB SwapTotal: 377488 kB SwapFree: 377488 kB Dirty: 0 kB Writeback: 0 kB Mapped: 23128 kB Slab: 9016 kB CommitLimit: 501848 kB Committed_AS: 33252 kB PageTables: 356 kB VmallocTotal: 1048272 kB VmallocUsed: 62064 kB VmallocChunk: 985864 kB
-
Ich bau grad den vdr incl. softdevice Plugin zusammen neu, um eine Einheit in das Verzeichniswirrwar zu bekommen.
c't scheint sich viel Mühe gemacht zu haben, ihre Distri gegen Selbstbau-Versuche abzuschotten
-
Code
Alles anzeigenZenega:/usr/bin# gdb ./vdr GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...(no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set args -P "softdevice -vo dfb:" (gdb) run Starting program: /usr/bin/vdr -P "softdevice -vo dfb:" (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1479266176 (LWP 3615)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [softdevice] processing args [softdevice] argv [0] = softdevice [softdevice] argv [1] = -vo vo_argv: dfb: [New Thread -1486304336 (LWP 3618)] [Thread -1486304336 (LWP 3618) exited] [New Thread -1494692944 (LWP 3619)] [New Thread -1503081552 (LWP 3620)] [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg version SVN-r5827 build(3344896) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1479266176 (LWP 3615)] 0xa7db6ae1 in mallopt () from /lib/tls/libc.so.6 (gdb) bt #0 0xa7db6ae1 in mallopt () from /lib/tls/libc.so.6 #1 0xa7db5c43 in malloc () from /lib/tls/libc.so.6 #2 0xa7da510f in fgets () from /lib/tls/libc.so.6 #3 0xa7da51cf in fopen () from /lib/tls/libc.so.6 #4 0xa7d697d3 in ngettext () from /lib/tls/libc.so.6 #5 0xa7d69714 in ngettext () from /lib/tls/libc.so.6 #6 0xa7d682c5 in ngettext () from /lib/tls/libc.so.6 #7 0xa7d6769e in gettext () from /lib/tls/libc.so.6 #8 0xa7d6726f in dcgettext () from /lib/tls/libc.so.6 #9 0xa7dbc31f in strerror_r () from /lib/tls/libc.so.6 #10 0xa7dbc161 in strerror () from /lib/tls/libc.so.6 #11 0xa7f64349 in dlerror () from /lib/tls/libdl.so.2 #12 0xa7bbf843 in cSoftDevice::LoadSubPlugin (this=0x82ec820, outMethodName=0x82ed420 "", reconfigureArg=137286688, pluginPath=0x82ed420 "") at softdevice.c:323 #13 0xa7bbf3fc in cSoftDevice (this=0x82ec820, method=3, audioMethod=1, pluginPath=0xa7bd4573 "./PLUGINS/lib") at softdevice.c:197 #14 0xa7bc0fe2 in cPluginSoftDevice::Initialize (this=0x81eea28) at softdevice.c:953 #15 0x080d6bfb in cPluginManager::InitializePlugins () #16 0x0810880c in main () (gdb) info locals No symbol table info available. (gdb) quit The program is running. Exit anyway? (y or n) y
-
Ich hab folgende softdevice Version gebaut:
http://download.berlios.de/sof…vdr-softdevice-0.2.3a.tgzIch habe den vdr noch mit apt-get geholt bzw. aktualisiert. Sollte ich den auch selbst bauen, oder ist das egal?
Der gdb Backtrace folgt gleich...
-
Ok, hab alles neu aufgesetzt. Jetzt hat sogar das Bauen von softdevice funktioniert.
Allerdings läuft es immernoch nicht, es funktioniert sogar noch weniger als vorher:
CodeZenega:~# vdr -P "softdevice -vo dfb:" [softdevice] processing args [softdevice] argv [0] = softdevice [softdevice] argv [1] = -vo vo_argv: dfb: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg version SVN-r5827 build(3344896) Speicherzugriffsfehler
Code
Alles anzeigenZenega:~# ldd /usr/lib/vdr/plugins/libsubvdr-softdevice-dfb.so.1.4.1 libdfb++-0.9.so.25 => /usr/local/lib/libdfb++-0.9.so.25 (0xa7f19000) libdirectfb-0.9.so.25 => /usr/local/lib/libdirectfb-0.9.so.25 (0xa7ec7000) libz.so.1 => /usr/lib/libz.so.1 (0xa7eb5000) libfusion-0.9.so.25 => /usr/local/lib/libfusion-0.9.so.25 (0xa7eaf000) libdirect-0.9.so.25 => /usr/local/lib/libdirect-0.9.so.25 (0xa7ea0000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xa7e91000) libdl.so.2 => /lib/tls/libdl.so.2 (0xa7e8e000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xa7dd3000) libm.so.6 => /lib/tls/libm.so.6 (0xa7db1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xa7da8000) libc.so.6 => /lib/tls/libc.so.6 (0xa7c73000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x75555000)
Code
Alles anzeigenZenega:~# ffmpeg -version FFmpeg version SVN-r5827, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr/local --enable-shared --enable-pp --enable-gpl libavutil version: 49.0.0 libavcodec version: 51.10.0 libavformat version: 50.5.0 built on Jul 25 2006 19:12:49, gcc: 3.3.5 (Debian 1:3.3.5-13) ffmpeg SVN-r5827 libavutil 3211264 libavcodec 3344896 libavformat 3278080
-
Das Problem hat sich vorerst von selbst "erledigt", meine Platte gibt nurnoch Kratzgeräusche von sich
-
Zitat
Original von HolgerR
Ja. Ausgerechnet DFB++ hast du ausgelassen (siehe mein Post etwas weiter oben) Würde ich nachholen, ist auch im Wiki erwähnt und ich meine mich zu erinnern, dass Softdevice ohne nicht funkioniert.
Gruß,
Holger
Das Habe ich leider noch nicht gefunden (oder gekonnt überlesen). Ich mach mich nochmal auf die Suche. Über einen Link wäre ich aber auch dankbarHabs gefunden, war wohl wirklich blind
-
Softdevice hab ich nicht selber gebaut (weil es einige Probleme gab), sondern mit apt-get geholt.
Ich werde nachher mal das mit der export Variable testen und dann die alte DirectFB Version entfernen und evtl. DirectFB nochmal installieren. Im Moment bin ich nicht @home.
-
/usr/vdr/PLUGINS/lib/libsubvdr-softdevice-dfb.so.1.4.0 ist nicht vorhanden.
Dafür aber
/usr/vdr/libsubvdr-softdevice-dfb.so.1.4.0Sollte ich diese Datei evtl. mal nach /usr/vdr/PLUGINS/lib/ kopieren oder verschieben?
Edit: Hab das einfach mal gemacht. Jetzt kommt das hier:
Code
Alles anzeigenZenega:/usr/vdr# ldd PLUGINS/lib/libsubvdr-softdevice-dfb.so.1.4.0 libdfb++-0.9.so.22 => /usr/lib/libdfb++-0.9.so.22 (0xa7f10000) libdirectfb-0.9.so.22 => /usr/lib/libdirectfb-0.9.so.22 (0xa7ec7000) libz.so.1 => /usr/lib/libz.so.1 (0xa7eb5000) libfusion-0.9.so.22 => /usr/lib/libfusion-0.9.so.22 (0xa7eb0000) libdirect-0.9.so.22 => /usr/lib/libdirect-0.9.so.22 (0xa7ea7000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xa7e98000) libdl.so.2 => /lib/tls/libdl.so.2 (0xa7e95000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xa7dda000) libm.so.6 => /lib/tls/libm.so.6 (0xa7db8000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xa7daf000) libc.so.6 => /lib/tls/libc.so.6 (0xa7c7a000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x75555000)
Noch ein Nachtrag:
/usr/local/lib/libfusion-0.9.so.25 ist vorhanden. Wie bring ich jetzt softdevice dazu, diese zu nehmen?ldconfig hat keine Auswirung. auch wenn ich vorher /usr/lib/libfusion* lösche
-
So, Ich hatte jetzt endlich mal wieder etwas Zeit mich mit dem VDR zu beschäftigen.
Ich habe von hier http://www.directfb.org/downloads/
folgende Pakete gebaut und installiert:
DirectFB-0.9.25.1
directfb-engine-0.4
DirectFB-examples-0.9.25
DirectFB-extra-0.9.25
pango-1.5.0
gtk+-directfb-2.0.9-2
glib-2.0.7
LiTE-0.7.2Leider bekomme ich immernoch folgende Meldung:
Code
Alles anzeigen[softdevice] processing args [softdevice] argv [0] = softdevice [softdevice] argv [1] = -vo vo_argv: dfb: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg version(CVS) build(3344384) [dfb] init (*) DirectFB/Config: Parsing config file '/etc/directfbrc'. ---------------------- DirectFB v0.9.22 --------------------- (c) 2000-2002 convergence integrated media GmbH (c) 2002-2004 convergence GmbH ----------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2005-08-03 21:26) (*) Direct/Memcpy: Using MMXEXT optimized memcpy() (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3880)... (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 3881)... (!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [../../../lib/fusion/reactor.c:802] (*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH) (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3882)... (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 3883)... (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 3884)... (*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (2) 0.1 (convergence integrated media GmbH) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH) (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH) [dfb] RAM: 8253440 bytes [dfb] Accellerated Functions: none [dfb] Drawing Flags: none [dfb] Surface Blitting Flags: none [dfb] Supported video Modes are: 720x576@32 640x480@8 640x480@8 640x480@8 640x480@8 640x480@8 768x576@32 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1152x864@8 1152x864@8 1152x864@8 1152x864@8 1280x960@8 1280x960@16 1280x960@32 1280x1024@8 1280x1024@8 1280x1024@8 1280x1024@8 1600x1200@8 1600x1200@8 1600x1200@8 [dfb] Enumerating display Layers Layer 0 FBDev Primary Layer Type: graphics Caps: brightness contrast saturation surface [surface capabilities] scrSurface: primary videoonly double-buffered flipping [dfb]: could not find suitable videolayer (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [../../../src/core/core.c:628 in dfb_core_deinit_check()]
Fehlen noch irgendwelche Pakete? Oder fehlt einfach nur ein kleiner Eintrag in meiner Config?
-
Und der entsprechente teil der configure:
Codeif $PKG_CONFIG --uninstalled $PANGO_PACKAGES; then : else gtk_save_LIBS="$LIBS" LIBS="$PANGO_LIBS $LIBS" AC_TRY_LINK_FUNC(pango_context_new, :, AC_MSG_ERROR([ *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org])) LIBS="$gtk_save_LIBS" fi
Bin jetzt selbst drauf gekommen. Ein
hat gereicht und configure lief durch -
Ok, das gehört zwar nicht wirklich hierhin, aber evtl. seid ihr ja einsichtig
Wenn ich gtk+ bauen will, erhalte ich die FehlermeldungCodechecking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -Wl,--export-dynamic -L/usr/local/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for pango_context_new in -lpango-1.0... no configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org
Pango hab ich aber soeben erfolgreich gebaut und installiert. Wieso kann der nicht dorthin linken?Mal ein Teil der config.log
Code
Alles anzeigenconfigure:17948: checking Pango flags configure:17954: result: -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -Wl,--export-dynam ic -L/usr/local/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure:17977: checking for pango_context_new in -lpango-1.0 configure:18008: gcc -o conftest -g -O2 -Wall -I/usr/include/freetype2 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 conftest.c -lpango-1.0 -Wl,--export-dynamic -L/usr/local/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5 /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_renderer_get_type' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `g_type_instance_get_private' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_renderer_set_matrix' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `g_type_class_add_private' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `g_assert_warning' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_renderer_draw_glyphs' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_renderer_draw_layout' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_context_get_matrix' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_context_get_font_map' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_renderer_draw_layout_line' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `g_sprintf' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `pango_font_description_get_size_is_absolute' /usr/lib/gcc-lib/i486-linux/3.3.5/../../../libpangoft2-1.0.so: undefined reference to `g_return_if_fail_warning' collect2: ld returned 1 exit status configure:18011: $? = 1 configure: failed program was: | #line 17984 "configure" | /* confdefs.h. */
-
Ich bin grad dabei, die kompletten dfb pakete neu zu bauen. Dauert bei nem Anfänger zwar etwas länger, aber das wird schon
-
Code
# apt-get install libdfb++-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig libdfb++-dev ist schon die neueste Version. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. # apt-get install libdfb++-0.9-22 Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig libdfb++-0.9-22 ist schon die neueste Version. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Wenn du das meinst: Ja, ist drauf -
Ich hab jetzt so einige Kombinationen durchprobiert. Zurzrit sieht meine directfbrc so aus:
Ich bekomm aber immer diesen Fehler:
Code
Alles anzeigen[softdevice] processing args [softdevice] argv [0] = softdevice [softdevice] argv [1] = -vo vo_argv: dfb: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg version(CVS) build(3344384) [dfb] init (*) DirectFB/Config: Parsing config file '/etc/directfbrc'. ---------------------- DirectFB v0.9.22 --------------------- (c) 2000-2002 convergence integrated media GmbH (c) 2002-2004 convergence GmbH ----------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2005-08-03 21:26) (*) Direct/Memcpy: Using MMXEXT optimized memcpy() (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 4774)... (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 4775)... (!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [../../../lib/fusion/reactor.c:802] (*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH) (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 4776)... (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 4777)... (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 4778)... (*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (2) 0.1 (convergence integrated media GmbH) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH) (!) DirectFB/FBDev: Specified mode (720x576) not supported or not defined in '/etc/fb.modes'! (!) DirectFB/FBDev: Using default mode (640x480) instead! (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH) [dfb] RAM: 8253440 bytes [dfb] Accellerated Functions: none [dfb] Drawing Flags: none [dfb] Surface Blitting Flags: none [dfb] Supported video Modes are: 640x480@8 640x480@8 640x480@8 640x480@8 640x480@8 768x576@32 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1152x864@8 1152x864@8 1152x864@8 1152x864@8 1280x960@8 1280x960@16 1280x960@32 1280x1024@8 1280x1024@8 1280x1024@8 1280x1024@8 1600x1200@8 1600x1200@8 1600x1200@8 [dfb] Enumerating display Layers Layer 0 FBDev Primary Layer Type: graphics Caps: brightness contrast saturation surface [dfb] init EXITING:action=IDirectFB::CreateSurface(DFBSurfaceDescription&), result=Not supported! (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [../../../src/core/core.c:628 in dfb_core_deinit_check()]
Was mir aufgefallen ist: Egal was ich unter primary-layer auch eintrage, im er schreibt immer das hier: "Layer 0 FBDev Primary Layer Type: graphics"
Ok, Hab grad selbst rausgefunden woher das "Not supported!" kommt. Der Modus ist nicht in der /etc/fb.modes eingetragen.
Wechsel ich aber auf einen Modus der auch eingetragen ist (z.B. 1024x768) kommt wieder das hier:Code
Alles anzeigen[dfb] RAM: 8253440 bytes [dfb] Accellerated Functions: none [dfb] Drawing Flags: none [dfb] Surface Blitting Flags: none [dfb] Supported video Modes are: 720x576@32 640x480@8 640x480@8 640x480@8 640x480@8 640x480@8 768x576@32 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8 1152x864@8 1152x864@8 1152x864@8 1152x864@8 1280x960@8 1280x960@16 1280x960@32 1280x1024@8 1280x1024@8 1280x1024@8 1280x1024@8 1600x1200@8 1600x1200@8 1600x1200@8 [dfb] Enumerating display Layers Layer 0 FBDev Primary Layer Type: graphics Caps: brightness contrast saturation surface [surface capabilities] scrSurface: primary videoonly double-buffered flipping [dfb]: could not find suitable videolayer (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [../../../src/core/core.c:628 in dfb_core_deinit_check()]