On 26/04/17 17:40, YuGiOhJCJ Mailing-List wrote: > Oh, OK I got it. > So, xpra is using the "dummmy" driver. > From the output in my previous mail, I only see "xpra_Xdummy" referring to > the "dummy" driver so it was a bit difficult to understand that the "dummy" > driver was used by xpra. > > I only have upgraded a part of Xorg: Bad idea. (..)
> It means that I have not upgraded the "dummy" driver because Xorg was working > without it: > - xf86-video-dummy-0.3.7 Since you're going to upgrade the dummy driver, you may want to upgrade to a better version than 0.3.7. 0.3.8 is out, and you can apply some patches on top of that to get better support (DPI, 30bpp, etc): https://xpra.org/trac/wiki/Xdummy#Status Cheers Antoine > So, the "dummy" driver on my system is not compatible with my other packages. > The xpra program expects that I have a fully not broken Xorg and that's why > there is a failure. > Well, I will upgrade my "dummy" driver and I hope it is the only one driver > used by xpra and not upgraded on my system. > > On Wed, 26 Apr 2017 11:34:03 +0700 > Antoine Martin <[email protected]> wrote: > >> On 26/04/17 02:37, YuGiOhJCJ Mailing-List wrote: >>> That's weird because my Xorg server is working fine when I am using it >>> without xpra. >>> Usually, I type "startx" then I launch some applications like "urxvt" or >>> "firefox". >>> The errors in my previous mail only happen when I am using xpra. >> That's not weird at all: you've broken the Xorg driver used by xpra >> (dummy) but not the others. >> >> My guess is that you're trying to use a patched dummy driver, which >> would be a good thing if you built it properly. >> >> Cheers >> Antoine >> >> >>> >>> On Tue, 25 Apr 2017 07:18:34 +0700 >>> Antoine Martin via shifter-users <[email protected]> wrote: >>> >>>> On 25/04/17 01:54, YuGiOhJCJ Mailing-List wrote: >>>>> OK, now I am using the "--without-dec_avcodec2" and >>>>> "--without-enc_ffmpeg" options and it compiles fine. >>>>> However, I am not able to use xpra. >>>> FYI: those errors have nothing to do with xpra, but here are some >>>> answers anyway. >>>> >>>> (snip) >>>>> 1. On my i686 machine, in an X terminal, in a window manager >>>>> X.Org X Server 1.16.0 >>>> (..) >>>>> (EE) module ABI major version (14) doesn't match the server's version (18) >>>>> (EE) module ABI major version (19) doesn't match the server's version (21) >>>>> (EE) module ABI major version (19) doesn't match the server's version (21) >>>>> (EE) >>>>> Fatal server error: >>>>> (EE) no screens found(EE) >>>> Your system is misconfigured. The xorg modules you're trying to use >>>> don't match the server ABI version. You have 3 different versions! >>>> Make sure you build those drivers (keyboard, mouse, dummy) against the >>>> correct Xorg version. >>>> >>>>> 2. On my i686 machine, in an interactive login shell, without any X >>>> xerver launched >>>>> (EE) module ABI major version (14) doesn't match the server's version (18) >>>>> (EE) module ABI major version (19) doesn't match the server's version (21) >>>>> (EE) module ABI major version (19) doesn't match the server's version (21) >>>> Same problem. >>>> >>>>> 3. On my x64 machine, in an interactive login shell, without any X xerver >>>>> launched >>>>> Fatal server error> (EE) parse_vt_settings: Cannot open /dev/tty0 (No >>>>> such file or directory) >>>> tty issues usually occur on distributions that change Xorg tty >>>> permissions. You will have to figure out what the permissions are vs >>>> should be, or switch to Xvfb instead of Xdummy. >>>> >>>>> 4. On my x86_64 machine, in an X terminal, in a window manager >>>>> (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory) >>>> Same problem. >>>> >>>>> From above, I see some errors like: >>>>> * server already running >>>> Fix your other real problems and this will probably be fine. >>>>> * no screens found >>>> That's a generic error message, your drivers are broken as per above. >>>>> * xpra_Xdummy did not provide a display number using -displayfd >>>> That's a generic error message, we can't get a display because your Xorg >>>> server setup is fundamentally broken. >>>>> * parse_vt_settings: Cannot open /dev/tty0 >>>> See above. >>>> >>>>> But I am not sure to understand what I am doing wrong. >>>>> Can you explain me please? >>>> Your Xorg setup is broken. Either rebuild your Xorg modules properly, or >>>> use your distribution's packages. >>>> >>>> Cheers >>>> Antoine >>>> >>>> >>>>> >>>>> On Mon, 24 Apr 2017 12:37:37 +0700 >>>>> Antoine Martin <[email protected]> wrote: >>>>> >>>>>> On 23/04/17 19:59, YuGiOhJCJ Mailing-List wrote: >>>>>>> OK, now I am using xpra 2.0.2 and the "--without-strict" option: >>>>>>> --- >>>>>>> $ python setup.py install --without-strict >>>>>> (snip) >>>>>>> gcc -pthread -shared >>>>>>> build/temp.linux-x86_64-2.7/xpra/codecs/libav_common/av_log.o >>>>>>> -L/usr/lib64 -lavutil -lpython2.7 -o >>>>>>> build/lib.linux-x86_64-2.7/xpra/codecs/libav_common/av_log.so -Wall >>>>>>> building 'xpra.codecs.dec_avcodec2.decoder' extension >>>>>>> creating build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec2 >>>>>>> gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall >>>>>>> -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c >>>>>>> xpra/codecs/dec_avcodec2/decoder.c -o >>>>>>> build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec2/decoder.o -Wall >>>>>>> -fPIC >>>>>>> xpra/codecs/dec_avcodec2/decoder.c: In function >>>>>>> ‘__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_26decompress_image’: >>>>>>> xpra/codecs/dec_avcodec2/decoder.c:8244:23: warning: implicit >>>>>>> declaration of function ‘avcodec_send_packet’ >>>>>>> [-Wimplicit-function-declaration] >>>>>>> __pyx_v_ret = avcodec_send_packet(__pyx_v_self->codec_ctx, >>>>>>> (&__pyx_v_avpkt)); >>>>>>> ^ >>>>>>> xpra/codecs/dec_avcodec2/decoder.c:8425:23: warning: implicit >>>>>>> declaration of function ‘avcodec_receive_frame’ >>>>>>> [-Wimplicit-function-declaration] >>>>>>> __pyx_v_ret = avcodec_receive_frame(__pyx_v_self->codec_ctx, >>>>>>> __pyx_v_self->av_frame); >>>>>>> ^ >>>>>> >>>>>> (snip) >>>>>>> building 'xpra.codecs.enc_ffmpeg.encoder' extension >>>>>>> creating build/temp.linux-x86_64-2.7/xpra/codecs/enc_ffmpeg >>>>>>> gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall >>>>>>> -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c -o >>>>>>> build/temp.linux-x86_64-2.7/xpra/codecs/enc_ffmpeg/encoder.o -Wall -fPIC >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c: In function >>>>>>> ‘__pyx_pf_4xpra_6codecs_10enc_ffmpeg_7encoder_7Encoder_2init_encoder’: >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:7934:15: warning: implicit declaration >>>>>>> of function ‘avcodec_parameters_from_context’ >>>>>>> [-Wimplicit-function-declaration] >>>>>>> __pyx_v_r = >>>>>>> avcodec_parameters_from_context(__pyx_v_self->video_stream->codecpar, >>>>>>> __pyx_v_self->video_ctx); >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:7934:73: error: ‘AVStream {aka struct >>>>>>> AVStream}’ has no member named ‘codecpar’ >>>>>>> __pyx_v_r = >>>>>>> avcodec_parameters_from_context(__pyx_v_self->video_stream->codecpar, >>>>>>> __pyx_v_self->video_ctx); >>>>>>> >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:7953:78: error: ‘AVStream {aka struct >>>>>>> AVStream}’ has no member named ‘codecpar’ >>>>>>> __pyx_t_2 = >>>>>>> __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->video_stream->codecpar)); >>>>>>> if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = >>>>>>> 926; __pyx_clineno = __LINE__; goto __pyx_L1_error;} >>>>>>> >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:8367:75: error: ‘AVStream {aka struct >>>>>>> AVStream}’ has no member named ‘codecpar’ >>>>>>> __pyx_v_r = >>>>>>> avcodec_parameters_from_context(__pyx_v_self->audio_stream->codecpar, >>>>>>> __pyx_v_self->audio_ctx); >>>>>>> >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:8386:80: error: ‘AVStream {aka struct >>>>>>> AVStream}’ has no member named ‘codecpar’ >>>>>>> __pyx_t_4 = >>>>>>> __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->audio_stream->codecpar)); >>>>>>> if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = >>>>>>> 957; __pyx_clineno = __LINE__; goto __pyx_L1_error;} >>>>>>> >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c: In function >>>>>>> ‘__pyx_pf_4xpra_6codecs_10enc_ffmpeg_7encoder_7Encoder_32compress_image’: >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:12372:23: warning: implicit >>>>>>> declaration of function ‘avcodec_send_frame’ >>>>>>> [-Wimplicit-function-declaration] >>>>>>> __pyx_v_ret = avcodec_send_frame(__pyx_v_self->video_ctx, >>>>>>> __pyx_v_frame); >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:12572:25: warning: implicit >>>>>>> declaration of function ‘avcodec_receive_packet’ >>>>>>> [-Wimplicit-function-declaration] >>>>>>> __pyx_v_ret = >>>>>>> avcodec_receive_packet(__pyx_v_self->video_ctx, (&__pyx_v_avpkt)); >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c: In function ‘initencoder’: >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16412:36: error: >>>>>>> ‘FF_PROFILE_H264_MULTIVIEW_HIGH’ undeclared (first use in this function) >>>>>>> __pyx_t_3 = __Pyx_PyInt_From_int(FF_PROFILE_H264_MULTIVIEW_HIGH); if >>>>>>> (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = >>>>>>> 449; __pyx_clineno = __LINE__; goto __pyx_L1_error;} >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16412:36: note: each undeclared >>>>>>> identifier is reported only once for each function it appears in >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16448:36: error: >>>>>>> ‘FF_PROFILE_H264_STEREO_HIGH’ undeclared (first use in this function) >>>>>>> __pyx_t_3 = __Pyx_PyInt_From_int(FF_PROFILE_H264_STEREO_HIGH); if >>>>>>> (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = >>>>>>> 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;} >>>>>>> ^ >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16731:36: error: ‘AV_OPT_TYPE_BOOL’ >>>>>>> undeclared (first use in this function) >>>>>>> __pyx_t_4 = __Pyx_PyInt_From_int(AV_OPT_TYPE_BOOL); if >>>>>>> (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = >>>>>>> 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;} >>>>>>> ^ >>>>>>> error: command 'gcc' failed with exit status 1 >>>>>>> --- >>>>>>> >>>>>>> Is there an incompatibility between my ffmpeg and my xpra versions? >>>>>> Yes. We require ffmpeg 3.1 or later. >>>>>> >>>>>>> I am using ffmpeg-2.8.7 (built from source code, not the one provided >>>>>>> by my distro). >>>>>> (strange choice, since the latest version from the 2.8 branch is 2.8.11) >>>>>> >>>>>> In any case, you have to use a supported version of ffmpeg or disable >>>>>> the codec that break: --without-dec_avcodec2 --without-enc_ffmpeg >>>>>> >>>>>> Cheers >>>>>> Antoine >>>> >>>> _______________________________________________ >>>> shifter-users mailing list >>>> [email protected] >>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users >> _______________________________________________ shifter-users mailing list [email protected] http://lists.devloop.org.uk/mailman/listinfo/shifter-users
