You are not logged in.

#1 2007-02-22 20:12:48

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Realplayer on x86_64

I'm forced to install the evil realplayer on my Arch64 box because i have some .rmvb files which won't play any other way. I've installed almost all lib32 stuff from community and have realplayer playing videos fine. The only issue is that all fonts are just square blocks in the realplayer interface, making navigating menu's to open files impossible. Video/Audio work perfectly though. These are the errors I get :

(realplay.bin:30242): Gdk-WARNING **: Error converting from UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-8859-1'

(realplay.bin:30242): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(realplay.bin:30242): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libindustrial.so: wrong ELF class: ELFCLASS64

(realplay.bin:30242): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libindustrial.so: wrong ELF class: ELFCLASS64

(realplay.bin:30242): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libindustrial.so: wrong ELF class: ELFCLASS64
Failed to load pixbuf file: /stuff/32libs/RealPlayer/share/realplay/icon.png: Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64

(realplay.bin:30242): Pango-WARNING **: /usr/lib/pango/1.5.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Failed to load Pango module for id: 'BasicScriptEngineFc'
(realplay.bin:30242): Pango-WARNING **: /usr/lib/pango/1.5.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Failed to load Pango module for id: 'BasicScriptEngineFc'
(realplay.bin:30242): Pango-WARNING **: /usr/lib/pango/1.5.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Failed to load Pango module for id: 'BasicScriptEngineFc'
(realplay.bin:30242): Pango-WARNING **: pango_shape called with bad font, expect ugly output

(realplay.bin:30242): Pango-WARNING **: pango_font_get_glyph_extents called with bad font, expect ugly output

(realplay.bin:30242): Pango-WARNING **: /usr/lib/pango/1.5.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Failed to load Pango module for id: 'BasicScriptEngineFc'
(realplay.bin:30242): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_file: assertion `error == NULL || *error == NULL' failed

(realplay.bin:30242): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_file: assertion `error == NULL || *error == NULL' failed

(realplay.bin:30242): Pango-WARNING **: /usr/lib/pango/1.5.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Failed to load Pango module for id: 'BasicScriptEngineFc'
(realplay.bin:30242): Pango-WARNING **: /usr/lib/pango/1.5.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Failed to load Pango module for id: 'BasicScriptEngineFc'
(realplay.bin:30242): Pango-WARNING **: /usr/lib/pango/1.5.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
Failed to load Pango module for id: 'BasicScriptEngineFc'
Failed to load Pango module for id: 'BasicScriptEngineFc'
(realplay.bin:30242): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(realplay.bin:30242): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(realplay.bin:30242): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(realplay.bin:30242): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(realplay.bin:30242): Pango-WARNING **: _pango_cairo_font_install called with bad font, expect ugly output

(realplay.bin:30242): Pango-WARNING **: pango_font_get_metrics called with bad font, expect ugly output

Can anyone shed any light on this?

Thanks.

Offline

#2 2007-02-22 20:27:27

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Realplayer on x86_64

Hmm, I got the same problem with adobe reader; other gtk-apps are running fine. It just loads the wrong gtk-libs. Setting GTK- or Pango environment variable did not help.

Offline

#3 2007-02-22 20:47:32

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: Realplayer on x86_64

Ok thanks for the clarification. I thought this was a problem unique to my installation.

Offline

#4 2007-02-22 20:50:47

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Realplayer on x86_64

I don`t think so. ;-) But I would be very pleased if someone knows how to solve this problem.

Offline

#5 2007-02-22 20:59:50

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: Realplayer on x86_64

This works well in my brother's ubuntu box, so I'll look at his install and post back here. Hopefully this won't take too long to fix.

Offline

#6 2007-02-22 21:09:50

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: Realplayer on x86_64

Ok the source of the problem is the pango-basic-fc.so file in /opt/lib32/usr/lib/pango/1.5.0/modules.. The 64 bit versions seem to be loading instead. I just tried copying over the pango-basic-fc.so (32bit) file over to /usr/lib/pango/1.5.0/modules (the 64 bit location) and realplayer displayed all fonts correctly. This is obviously not a valid solution because this will mess up the 64 bit install. But now we at least know the source of the problem. wink Will post back tomorrow after checking out with the ubuntu install.

Offline

#7 2007-02-22 22:24:28

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Realplayer on x86_64

Maybe you need to use the LDPATH variable and point it to the 32 libs directory. Like so:
$ LDPATH=/opt/... realplay

Offline

#8 2007-02-23 04:34:08

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: Realplayer on x86_64

No that doesn't work snowman. For some reason only the pango libs are being pulled from the x86_64 directory.

Offline

#9 2007-02-24 19:07:58

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: Realplayer on x86_64

This is what the ia32-libs-gtk package in ubuntu/debian provides

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ia32-libs-gtk
/usr/share/doc/ia32-libs-gtk/Manifest
/usr/share/doc/ia32-libs-gtk/README.Debian
/usr/share/doc/ia32-libs-gtk/copyright
/usr/share/doc/ia32-libs-gtk/changelog.gz
/usr/lib32
/usr/lib32/bonobo
/usr/lib32/bonobo/servers
/usr/lib32/bonobo/servers/Accessibility_Registry.server
/usr/lib32/bonobo/servers/Bonobo_CosNaming_NamingContext.server
/usr/lib32/bonobo/servers/Bonobo_Moniker_std.server
/usr/lib32/bonobo/servers/Bonobo_Sample_Echo.server
/usr/lib32/bonobo/monikers
/usr/lib32/bonobo/monikers/libmoniker_std_2.so
/usr/lib32/gtk-2.0
/usr/lib32/gtk-2.0/modules
/usr/lib32/gtk-2.0/modules/libatk- bridge.so
/usr/lib32/gtk-2.0/modules/libatk-bridge.la
/usr/lib32/gtk-2.0/modules/libferret.so
/usr/lib32/gtk-2.0/modules/libgail.so
/usr/lib32/gtk-2.0/2.10.0
/usr/lib32/gtk-2.0 /2.10.0/engines
/usr/lib32/gtk-2.0/2.10.0/engines/libubuntulooks.so
/usr/lib32/gtk-2.0/2.10.0/engines/libubuntulooks.la
/usr/lib32/gtk-2.0/2.10.0/engines/libclearlooks.so
/usr/lib32/gtk-2.0/2.10.0/engines/libcrux- engine.so
/usr/lib32/gtk-2.0/2.10.0/engines/libhcengine.so
/usr/lib32/gtk-2.0/2.10.0/engines/libindustrial.so
/usr/lib32/gtk-2.0/2.10.0/engines/libmist.so
/usr/lib32/gtk-2.0/2.10.0/engines/libredmond95.so
/usr/lib32/gtk- 2.0/2.10.0/engines/libglide.so
/usr/lib32/gtk-2.0/2.10.0/engines/libsmooth.so
/usr/lib32/gtk-2.0/2.10.0/engines/libthinice.so
/usr/lib32/gtk-2.0/2.10.0/loaders
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader- png.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-ico.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader- ani.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-ras.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader- pnm.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-wbmp.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-xbm.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader- tga.so
/usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-pcx.so
/usr/lib32/gtk-2.0/2.10.0/immodules
/usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so
/usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so
/usr/lib32/gtk- 2.0/2.10.0/immodules/im-cedilla.so
/usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so
/usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so
/usr/lib32/gtk-2.0 /2.10.0/immodules/im-thai-broken.so
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so
/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so
/usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so
/usr/lib32/gtk-2.0/2.10.0/printbackends
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.la
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.a
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend- lpr.la
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.a
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.la
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend- cups.a
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so
/usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so
/usr/lib32/orbit- 2.0
/usr/lib32/orbit-2.0/Accessibility_LoginHelper_module.la
/usr/lib32/orbit-2.0/Accessibility_module.la
/usr/lib32/orbit-2.0/Accessibility_LoginHelper_module.so
/usr/lib32/orbit-2.0/Accessibility_module.so
/usr/lib32/orbit-2.0/Bonobo_module.so
/usr/lib32/orbit-2.0/Everything_module.so
/usr/lib32/libatk-1.0.so.0.1213.0
/usr/lib32/libcspi.so.0.10.11
/usr/lib32/libloginhelper.so.0.0.0
/usr/lib32/libspi.so.0.10.11
/usr/lib32/libbonobo-2.so.0.0.0
/usr/lib32/libbonobo-activation.so.4.0.0
/usr/lib32/bonobo-activation
/usr/lib32/bonobo-activation/bonobo-activation-server
/usr/lib32/bonobo-2.0
/usr/lib32/bonobo-2.0/samples
/usr/lib32/bonobo-2.0/samples/bonobo-echo-2
/usr/lib32/libgailutil.so.18.0.1
/usr/lib32/libgconf-2.so.4.1.0
/usr/lib32/libgconf2-4
/usr/lib32/libgconf2-4/gconf-sanity-check-2
/usr/lib32/libgconf2-4/gconfd-2
/usr/lib32/libgconf2-4/2
/usr/lib32/libgconf2-4/2/libgconfbackend-oldxml.so
/usr/lib32/libgconf2-4/2/libgconfbackend-xml.so
/usr/lib32/libglade-2.0.so.0.0.7
/usr/lib32/libgnomecanvas-2.so.0.1400.0
/usr/lib32/libglade
/usr/lib32/libglade/2.0
/usr/lib32/libglade/2.0/libcanvas.so
/usr/lib32/libgdk_pixbuf-2.0.so.0.1000.6
/usr/lib32/libgdk-x11-2.0.so.0.1000.6
/usr/lib32/libgtk-x11-2.0.so.0.1000.6
/usr/lib32/libgdk_pixbuf_xlib- 2.0.so.0.1000.6
/usr/lib32/libIDL-2.so.0.0.0
/usr/lib32/libORBit-2.so.0.1.0
/usr/lib32/libORBit-imodule-2.so.0.0.0
/usr/lib32/libORBitCosNaming-2.so.0.1.0
/usr/lib32/pango
/usr/lib32/pango/1.5.0
/usr/lib32/pango/1.5.0/modules
/usr/lib32/pango/1.5.0/modules/pango-arabic-fc.so
/usr/lib32/pango/1.5.0/modules/pango-basic-x.so
/usr/lib32/pango/1.5.0/modules/pango-basic-fc.so
/usr/lib32/pango/1.5.0/modules/pango-hangul-fc.so
/usr/lib32/pango/1.5.0/modules/pango- hebrew-fc.so
/usr/lib32/pango/1.5.0/modules/pango-indic-fc.so
/usr/lib32/pango/1.5.0/modules/pango-khmer-fc.so
/usr/lib32/pango/1.5.0/modules/pango-syriac-fc.so
/usr/lib32/pango/1.5.0/modules/pango-thai-fc.so
/usr/lib32/pango/1.5.0/modules/pango-tibetan-fc.so
/usr/lib32/libpango-1.0.so.0.1400.5
/usr/lib32/libpangox-1.0.so.0.1400.5
/usr/lib32/libpangoft2-1.0.so.0.1400.5
/usr/lib32/libpangoxft-1.0.so.0.1400.5
/usr/lib32/libpangocairo- 1.0.so.0.1400.5
/usr/lib32/libXcursor.so.1.0.2
/usr/lib32/libXfixes.so.3.1.0
/usr/lib32/libXft.so.2.1.2
/etc
/etc/pango32
/etc/pango32/pango.modules
/etc/gtk-2.0
/etc/gtk-2.0/gdk-pixbuf.loaders.32
/etc/gtk-2.0/gtk.immodules.32
/usr/lib32/libatk-1.0.so.0
/usr/lib32/libcspi.so.0
/usr/lib32/libloginhelper.so.0
/usr/lib32/libspi.so.0
/usr/lib32/libbonobo-2.so.0
/usr/lib32/libbonobo-activation.so.4
/usr/lib32/libgailutil.so.18
/usr/lib32/libgconf-2.so.4
/usr/lib32/libglade-2.0.so.0
/usr/lib32/libgnomecanvas-2.so.0
/usr/lib32/libgdk_pixbuf-2.0.so.0
/usr/lib32/libgdk-x11-2.0.so.0
/usr/lib32/libgtk-x11-2.0.so.0
/usr/lib32/libgdk_pixbuf_xlib-2.0.so.0
/usr/lib32/libIDL-2.so.0
/usr/lib32/libORBit-2.so.0
/usr/lib32/libORBit-imodule-2.so.0
/usr/lib32/libORBitCosNaming-2.so.0
/usr/lib32/libpango-1.0.so.0
/usr/lib32/libpangox- 1.0.so.0
/usr/lib32/libpangoft2-1.0.so.0
/usr/lib32/libpangoxft-1.0.so.0
/usr/lib32/libpangocairo-1.0.so.0
/usr/lib32/libXcursor.so.1
/usr/lib32/libXfixes.so.3
/usr/lib32/libXft.so.2

This line might give a clue to our problems:
/etc/pango32/pango.modules

AFAIK, we don't have this. The contents of that file itself points to the 32bit pango PATH. But how do apps invoke that file to learn the 32bit pango location?

Offline

#10 2007-03-12 14:19:28

jorgen
Member
Registered: 2007-03-12
Posts: 2

Re: Realplayer on x86_64

Hello!

I just ran in to this problem on my debian testing install. Has anyone gotten any closer to a solution?

Offline

#11 2007-03-13 11:36:16

jorgen
Member
Registered: 2007-03-12
Posts: 2

Re: Realplayer on x86_64

Ok, I've got it working with the help from this and this post at the ubuntu forums. It might work better for me since I'm using debian, but perhaps it can help you on the way. Also, I had to include the gtk stuff otherwise realplayer couldn't display any pictures, perhaps you don't need it.

1. I copied the /etc/* files from the ia32-libs-gtk ubuntu package to my /etc directory (the gdk-pixbuf.loaders.32 and gtk.immodules.32 point to a specific version of the libs, so either you have to have that version, or you could try to edit all the folder names in the files):

/etc/pango32/pango.modules
/etc/gtk-2.0/gdk-pixbuf.loaders.32
/etc/gtk-2.0/gtk.immodules.32

2. Then I created a /etc/pango32/pangorc file containing:

[Pango]
ModuleFiles=/etc/pango32/pango.modules
[PangoX]
AliasFiles=/etc/pango/pangox.aliases

3. And finally a script to start realplayer:

#!/bin/sh
export GTK_PATH=/usr/lib32/gtk-2.0
export PANGO_RC_FILE=/etc/pango32/pangorc
linux32 /usr/bin/realplay $@

Now I can listen to samples on amazon smile

Last edited by jorgen (2007-03-13 11:36:59)

Offline

#12 2007-03-19 03:10:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Realplayer on x86_64

I'm bumping this thread because I saw something that I think everyone here will appreciate. FFMPEG is going after a RV40 decoder this year in GSOC:

http://wiki.multimedia.cx/index.php?tit … 40_Decoder

Offline

Board footer

Powered by FluxBB