Disko Forum logo Login  |  Register  |  Lost Password
<< Start < Prev 1 2 3 4 5 Next > End >>
x11 backend

themArt
Posts: 5
graphgraph

x11 backend 6 Years, 10 Months ago  
Hello,

I've just downloaded the source from git and built with:

make enable-x11=y

The output of xvinfo looks good, but, for some reason I can't get the tutorial file to run. I've edited the diskorc.xml in the /first-steps/01 directory to be the same as the example given from this thread but all I get is a seg fault when I try to run it.

Any ideas whats going on? I really don't want to run this on DirectFB.

Thanks!

Here's the output of xvinfo:

X-Video Extension version 2.2
screen #0
Adaptor #0: "NV Video Blitter"
number of ports: 32
port base: 57
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
depth 24, visualID 0x22
number of attributes: 2
"XV_SET_DEFAULTS" (range 0 to 0)
client settable attribute
"XV_SYNC_TO_VBLANK" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
maximum XvImage size: 2046 x 2046
Number of image formats: 5
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x3
guid: 03000000-0000-0010-8000-00aa00389b71
bits per pixel: 32
number of planes: 1
type: RGB (packed)
depth: 24
red, green, blue masks: 0xff0000, 0xff00, 0xff
 
  The administrator has disabled public write access.
x11 backend

Guido
Admin
Posts: 54
graphgraph

Re:x11 backend 6 Years, 10 Months ago  
Hi,

please recompile Disko with the following options:

#: make clean
#: make enable-x11 debug=y messages=y
#: make enable-x11 debug=y messages=y install

Please attach the logfile of the tutorial application to this post. I'm convinced that we'll solve your problem

regards

Guido
 
 
Last Edit: 2008/11/17 23:01 By Guido.
  The administrator has disabled public write access.
x11 backend

Stefan
Admin
Posts: 91
graph

Re:x11 backend 6 Years, 10 Months ago  
Hi themArt,

the truth is, you still have to wait a bit. The new X11 backend which is completely independant from DirectFB is on the way, but still not ready. We plan to have it feature complete(xv) on 1.5 rc2 which is due the next 2 weeks.

I will report here if we have something ready in the git repository for you to test.

have fun
Stefan
 
  The administrator has disabled public write access.
x11 backend

themArt
Admin
Posts: 5
graphgraph

Re:x11 backend 6 Years, 10 Months ago  
Thanks Guido and Stefan.

I think I found the issue, it look likes it wasn't even picking up xvdev, erm... cos I hadn't installed it!

Then I was getting problems because it couldn't find xf86vmode.h which I eventually found in x11proto-xf86vidmode-dev package.

Anyway, I've got past that now and am getting a compile error:

mmsfbmanager.cpp: In member function ‘void MMSFBManager::applySettings()’:
mmsfbmanager.cpp:206: error: request for member ‘c_str’ in ‘pixelformat’, which is of non-class type ‘MMSFBSurfacePixelFormat’
make[1]: *** [mmsfbmanager.o] Error 1
make[1]: Leaving directory `/home/chris/disko/src/mmsgui'
make: *** [all] Error 2

Anyway, I'm sure you have this in hand as you've already mentioned. Shout me if you want me to test anything, I'm sure I can break it for you

Thanks again,
 
  The administrator has disabled public write access.
x11 backend

Stefan
Admin
Posts: 91
graph

Re:x11 backend 6 Years, 10 Months ago  
Hi Chris,

ok, thats fine. You could get past the compile error if you remove the messages=y from "make" commandline. The resulting disko should be able to pass some of the disko tutorials, if you are using the settings in the diskorc you mentioned in your first post.

Stay tuned
Stefan
 
  The administrator has disabled public write access.
x11 backend

Stefan
Admin
Posts: 91
graph

Re:x11 backend 6 Years, 10 Months ago  
Hi CHris,

disko from the current git repository does now completely compile and run without DirectFB. Just set the enable-x11=y on the make commandline. Morphine.TV also compiles and runs against the current disko. The SVN repository sync should run at 10pm CET.

Tell us if you have any further problems.

have fun
Stefan
 
  The administrator has disabled public write access.
<< Start < Prev 1 2 3 4 5 Next > End >>
Powered by FireBoard
get the latest posts directly to your desktop