Hallo,
ich versuche immer noch softhddrm auf meinem Asrock N100M zum laufen zu bekommen.
Leider ruckelt das Bild sehr stark und wenn ich die Parameter -g 1920x1080+0+0 -r 50 mitgebe, kommt es zu einem Segfault mit folgendem bt:
Code
[New LWP 5412]
[New LWP 5411]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
0x00007f5898995df6 in ?? () from /usr/lib64/libc.so.6
Continuing.
[Thread 0x7f589105e6c0 (LWP 5411) exited]
[New Thread 0x7f589105e6c0 (LWP 5484)]
[New Thread 0x7f582ffff6c0 (LWP 5485)]
[New Thread 0x7f582f7fe6c0 (LWP 5486)]
[New Thread 0x7f582effd6c0 (LWP 5487)]
[New Thread 0x7f582e7fc6c0 (LWP 5488)]
Thread 34 "oglThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f582f7fe6c0 (LWP 5486)]
0x00007f5898a5b697 in ?? () from /usr/lib64/libc.so.6
(gdb) bt full
#0 0x00007f5898a5b697 in ??? () at /usr/lib64/libc.so.6
#1 0x00007f587dbc156d in memcpy
(__dest=0x7f5857013010, __src=<optimized out>, __len=<optimized out>)
at /usr/include/bits/string_fortified.h:29
#2 readpixels_memcpy
(ctx=0x7f583c4ca010, x=0, y=0, width=3336, height=1814, format=0, type=<optimized out>, pixels=<optimized out>, packing=0x7f582f7fddb0) at ../mesa-24.3.3/src/mesa/main/readpix.c:272
rb = 0x7f582b7d0e30
dst = 0x7f5857013010 ""
map = 0x7f582c2fa000 ""
dstStride = 13344
stride = 13344
j = <optimized out>
texelBytes = <optimized out>
bytesPerRow = <optimized out>
rb = <optimized out>
dst = <optimized out>
map = <optimized out>
dstStride = <optimized out>
stride = <optimized out>
j = <optimized out>
texelBytes = <optimized out>
bytesPerRow = <optimized out>
#3 _mesa_readpixels
(ctx=ctx@entry=0x7f583c4ca010, x=x@entry=0, y=y@entry=0, width=width@entry=3336, height=height@entry=1814, format=format@entry=6408, type=5121, packing=0x7f582f7fddb0, pixels=<optimized out>)
at ../mesa-24.3.3/src/mesa/main/readpix.c:898
#4 0x00007f587dc22828 in st_ReadPixels
(ctx=ctx@entry=0x7f583c4ca010, x=0, y=0, width=3336, height=1814, format=format@entry=6408, type=5121, pack=0x7f582f7fddb0, pixels=<optimized out>)
at ../mesa-24.3.3/src/mesa/state_tracker/st_cb_readpixels.c:575
st = 0x7f582ae5e720
rb = 0x7f582b7d0e30
pipe = 0x7f583c595010
screen = <optimized out>
src = <optimized out>
dst = 0x0
dst_format = <optimized out>
src_format = <optimized out>
bind = <optimized out>
tex_xfer = 0x715
map = <optimized out>
dst_x = <optimized out>
dst_y = <optimized out>
#5 0x00007f587dbc1efe in read_pixels
(x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>, format=6408, type=5121, bufSize=2147483647, pixels=0x7f5857013010, no_error=false)
at ../mesa-24.3.3/src/mesa/main/readpix.c:1199
err = <optimized out>
rb = <optimized out>
clippedPacking = {Alignment = 1, RowLength = 3336, SkipPixels = 0, SkipRows = 0, ImageHeight = 0, SkipImages = 0, SwapBytes = 0 '\000', LsbFirst = 0 '\000', Invert = 0 '\000', CompressedBlockWidth = 0, CompressedBlockHeight = 0, CompressedBlockDepth = 0, CompressedBlockSize = 0, BufferObj = 0x0}
ctx = 0x7f583c4ca010
err = <optimized out>
rb = <optimized out>
clippedPacking = {Alignment = <optimized out>, RowLength = <optimized out>, SkipPixels = <optimized out>, SkipRows = <optimized out>, ImageHeight = <optimized out>, SkipImages = <optimized out>, SwapBytes = <optimized out>, LsbFirst = <optimized out>, Invert = <optimized out>, CompressedBlockWidth = <optimized out>, CompressedBlockHeight = <optimized out>, CompressedBlockDepth = <optimized out>, CompressedBlockSize = <optimized out>, BufferObj = <optimized out>}
ctx = <optimized out>
__func__ = "read_pixels"
rb = <optimized out>
srcInteger = <optimized out>
dstInteger = <optimized out>
#6 _mesa_ReadnPixelsARB
(x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>, format=6408, type=5121, bufSize=2147483647, pixels=0x7f5857013010)
at ../mesa-24.3.3/src/mesa/main/readpix.c:1216
#7 0x00007f587dbc2306 in _mesa_ReadPixels
(x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>, format=<optimized out>, type=<optimized out>, pixels=0x7f5857013010)
at ../mesa-24.3.3/src/mesa/main/readpix.c:1231
#8 0x00007f5897aa0896 in cOglCmdCopyBufferToOutputFb::Execute (this=0x5647b96b1110)
at /usr/src/debug/media-plugins/vdr-softhddrm-3.28/vdr-plugin-softhdcuvid-3.28/openglosd.h:181
#9 0x00007f5897aa4581 in cOglThread::Action (this=0x5647b967d6d0) at openglosd.cpp:1642
cmd = 0x5647b96b1110
#10 cOglThread::Action (this=0x5647b967d6d0) at openglosd.cpp:1589
cmd = <optimized out>
#11 0x0000564795626d53 in cThread::StartThread (Thread=0x5647b967d6d0) at thread.c:293
#12 0x00007f5898999663 in ??? () at /usr/lib64/libc.so.6
#13 0x00007f5898a09fbc in ??? () at /usr/lib64/libc.so.6
Display More
Im Makefile hatte ich Folgendes eingestellt:
Code
# what kind of decoder do we make -
# if VAAPI is enabled the pluginname is softhdvaapi
# if CUVID is enabled the pluginname is softhdcuvid
# if DRM is enabled the pluginname is softhddrm
VAAPI ?= 0
CUVID ?= 0
# if you enable DRM then the plugin will only run without X server
# only valid for VAAPI
DRM ?= 1
# use libplacebo -
# available for all decoders but for DRM and VAAPI you need LIBPLACEBO_GL
LIBPLACEBO ?= 1
LIBPLACEBO_GL ?= 1
# use YADIF deint - only available with cuvid
YADIF = 0
Display More
Die Klasse wird wohl aufgerufen und in Zeile 181 kracht es dann: (wenn ich es richtig verstehe)
Code
/****************************************************************************************
155 * cOglFb
156 * Framebuffer Object - OpenGL part of a Pixmap
157 ****************************************************************************************/
158 class cOglFb {
159 protected:
160 bool initiated;
161 // GLuint fb;
162 // GLuint texture;
163 GLint width, height;
164 GLint viewPortWidth, viewPortHeight;
165 bool scrollable;
166
167 public:
168 GLuint fb;
169 GLuint texture;
170
171 cOglFb(GLint width, GLint height, GLint viewPortWidth, GLint viewPortHeight);
172 virtual ~cOglFb(void);
173 bool Initiated(void) { return initiated; }
174 virtual bool Init(void);
175 void Bind(void);
176 void BindRead(void);
177 virtual void BindWrite(void);
178 virtual void Unbind(void);
179 bool BindTexture(void);
180 void Blit(GLint destX1, GLint destY1, GLint destX2, GLint destY2);
181 GLint Width(void) { return width; };
182 GLint Height(void) { return height; };
183 bool Scrollable(void) { return scrollable; };
184 GLint ViewportWidth(void) { return viewPortWidth; };
185 GLint ViewportHeight(void) { return viewPortHeight; };
186 };
Display More
Fehlt da evtl. noch etwas in meinem System?
jojo61 Kannst Du da etwas erkennen?