Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: philippefoubert on September 08, 2014, 05:59:10 PM
-
Hi,
I have installed GTK (gtk3-dev.tcz) on my TC VM (i am using VMware player) and compiled a basic GUI application (the very basic application "cpp-example-drawing" provided with OpenCV to be more precise).
The application is usually working without any special effort on other Linux OS (that's why i use it to check my installation) but, here, the content of the window remains completely gray.
Do i have something to adjust in my Xvesa resolution settings ?
Thx,
Philippe.
-
I had the same problem. I never understood why, but it seemed like it didn't like the default color depth so i changed it to 16 bit. I got it to work by using the bootcode "xvesa=1280x1024x16", but you can use whatever resolution you want.
-
Thx for your answer Zill.
I have seen your post (in August) on the same subject. I think too that it has something to do with xvesa but in my case your solution is not working (even with a lower resolution)... i am running short of ideas... Were you also on a virtual machine?
Philippe.
-
Yes, I was using VirtualBox. I wish I could give you more ideas, but I'm not too experienced with Linux in general. The only reason I even changed the color depth in the first place is because I ran out of ideas that made sense to me and just started changing random things.
-
Thx Zill for your reply.
I had first tried to build a VMWare image from the Tiny Core iso but have not been able to solve this issue. Then, i have tried to build it from the Core Plus iso but the problem is still present.
After many hours spent, i have decided to give up... The Tiny Core Linux seems great but i have not been able to find a solution to this problem. I really need to be able to use GTK on my image. It's sad but i have lost too much time. I'll go back to a distribution heavier but which i know better... :(
-
I realize this may be a little late, but I was curious as to what code from OpenCV you were using. Here is another simple drawing program that you could try: https://developer.gnome.org/gtk3/stable/ch01s03.html (https://developer.gnome.org/gtk3/stable/ch01s03.html)
-
Thx Zill, i'll try it this evening.
The code i was using is available at "https://github.com/Itseez/opencv/blob/master/samples/cpp/drawing.cpp" (OpenCV git repository, branch master). It is using GTK+ but not directly (since it calls functions from the "highgui" module of OpenCV). I have used this code without any problem on Windows (XP 32 bits, Seven 64 bits, ...) and on Fedora (from Fedora 10 32 bits to Fedora 20 64 bits).
-
Zill, i have tested with your example and got the same behavior : the content of the window remains completely gray.