[Lazarus] How to get Lazarus on Odroid U3 with Ubuntu 14.04 to work ?

Corpsman at web.de Corpsman at web.de
Thu Mar 12 15:01:15 CET 2015


Well i tried with fbset -depth 24

same result see below :

odroid at odroid:~/development/lazarus$ fbset 

mode "1280x1024"
    geometry 1280 1024 1280 3072 24
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

and in Lazarus when showing the "about" screen

(lazarus:10115): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(lazarus:10115): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(lazarus:10115): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 32

(lazarus:10115): GLib-CRITICAL **: Source ID 1592 was not found when attempting to remove it

(lazarus:10115): GLib-CRITICAL **: Source ID 1591 was not found when attempting to remove it
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A 
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END




-----Urspr√ľngliche Nachricht-----
Gesendet: Thursday, 12 March 2015 um 10:05:52 Uhr
Von: "Marc Weustink" <marc at dommelstein.nl>
An: "Lazarus mailing list" <lazarus at lists.lazarus.freepascal.org>
Betreff: Re: [Lazarus] How to get Lazarus on Odroid U3 with Ubuntu 14.04 to work ?
Corpsman wrote:
 > Hello Mailinglist,
>
> Is there someone who got lazarus (doesn't matter which version) to work
> under Ubuntu 14.04 on a Odroid U3 ?
>
> I tried this in several ways, unfortunatunelly without success. The core
> problem seems to be in the GTK2 api (i don't need especially gtk2 but qt
> did not work as well).
>
> i try :
> Installing a fresh 14.04 Image, using the lazarus fpc from the packet
> manager -> all icons in the ide are broken (invisible) if the ide is
> started from a console it writes something like "try to write 24-bit on
> a 32-bit canvas..)

This is the key to the problem.
Using different fpc version, different Lazarus versions, different 
Ubuntu version won't help.

When drawing images on gtk, lazarus has to use the same pixeldepth as 
your X server. gtk won't do any conversion, except for 32 bit. Usually 
drawing 24 bit images on 32 bit X is also OK.
In your case not. The only thing you can do is reducing the pixeldepth 
of your X server.

Marc


--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list