Forum › Forums › New users › New Users and General Questions › mpv & external subs (antiX-base)
Tagged: external subtitles, video players xorg
- This topic has 50 replies, 3 voices, and was last updated Mar 16-12:20 am by andfree.
-
AuthorPosts
-
March 12, 2018 at 1:06 am #7695Member
andfree
::I suppose “no leave” means not to remove nvidia-detect.
I installed gstreamer1.0-libav and the relevant messages have gone, but still I have “black screen”:
$ totem Stranger-Than-Paradise-1984.mp4 ** (totem:2995): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (totem:2995): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)“X -configure” doesn’t seem to have created a xorg.conf (neither a xorg.conf.new) file, although I saw for an instance something like “xorg.conf is now xorg.conf.new”.
I created xorg.conf manually:
$ sudo touch /etc/X11/xorg.conf $ sudo geany /etc/X11/xorg.confI copied xorg.conf.in contents, pasted them into xorg.conf and saved.
I renamed “Card1” to “Card0” and specified the driver. After that, both sections were:
Section "Device" Identifier "Card0" Driver "radeon" BoardName "unknown"But, is it reasonable to have two same Card0 sections?
After rebooting, no GUI was loaded. I ran live and removed again xorg.conf.- This reply was modified 5 years, 2 months ago by andfree.
March 12, 2018 at 1:14 am #7698Anonymous
::Sorry was in a hurry
I should been a little clearer one card0 in Device section and one card0 in the Screen
section. I’m not sure what’s causing the GTK error.March 12, 2018 at 2:09 am #7699Memberandfree
::I created xorg.conf (like xorg.conf.in) again and specified only this:
Section "Device" Identifier "Card0" Driver "radeon" BoardName "unknown"After reboot, no GUI was loaded, so I removed xorg.conf and created it again this way:
Section "Device" Identifier "Card0" Driver "ati" BoardName "unknown"No GUI loaded again.
March 12, 2018 at 2:21 am #7700Anonymous
::I just ran into same problem and had to rename the xorg.conf file to get gui back.
not sure why it won’t I’ll have to test. I even tried the X -configure one and no
go on mine…it was saved as /root/xorg.conf.newMarch 12, 2018 at 10:16 am #7713Anonymous
::Hi andfree ,
I ran it on my emachine and this attached xorg file works on nvidia chip with noveau driver, I had to type
in the modules section to load dri not glx before it would load.
I’ll try one later on my ati one with radeon driver.
The emachine is on Antix-17 64bit with sid repo.March 12, 2018 at 11:36 am #7717Memberandfree
::The attachment is for testing (as it is) on the first (nvidia) laptop? I don’t find emachine on antiX sid repo. I run 32-bit.
- This reply was modified 5 years, 2 months ago by andfree.
March 12, 2018 at 1:14 pm #7723Anonymous
March 12, 2018 at 3:08 pm #7726Memberandfree
::Sorry for ignorance. I thought it as a kind of virtual machine. So, the idea is to test unchanged your attached xorg file to the first (nvidia) laptop? Or should I edit it somehow first?
March 12, 2018 at 3:27 pm #7727Anonymous
::I posted it as an example of a working one. If you use it, might have to
change the bus id line to match your xorg.conf.in file. I know on your
second one you have to use radeon instead of noveau.March 12, 2018 at 4:50 pm #7729Memberandfree
::In your attached file, the driver is written as “nouveau”.
In the xorg.conf file I created on the second laptop, I specified the driver as “radeon”. No GUI after reboot.
In addition, I specified the bus id as “PCI:1:0:0” to match my xorg.conf.in file. No GUI again.March 12, 2018 at 4:59 pm #7730Anonymous
March 12, 2018 at 6:07 pm #7732Anonymous
::I think it might be a different bus id like mine was
BusID “PCI:0:13:0”
I think your output will show a different bus id to put there.
March 13, 2018 at 1:10 am #7740Memberandfree
::Graphics: Card: Advanced Micro Devices [AMD/ATI] RS200M [Radeon IGP 330M/340M/345M/350M] bus-ID: 01:05.0 chip-ID: 1002:4337 Display Server: X.Org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa) Resolution: 1024x768@60.00hz OpenGL: renderer: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits) version: 3.3 Mesa 13.0.6 (compat-v: 3.0) Direct Render: YesI put “PCI:01:05:0” in xorg file and reboot without problem. But the dri error hasn’t gone:
$ mpv --sub-codepage=cp1253 Stranger-Than-Paradise-1984.mp4 Playing: Stranger-Than-Paradise-1984.mp4 [lavf] Using subtitle charset: cp1253 (+) Video --vid=1 (*) (h264) (+) Audio --aid=1 --alang=eng (*) (aac) (+) Subs --sid=1 'Stranger-Than-Paradise-1984.srt' (subrip) (external) libEGL warning: DRI2: failed to authenticate [vo/opengl] Suspected software renderer or indirect context. [vo/opengl] Suspected software renderer or indirect context. Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [vo/vdpau] Error when calling vdp_device_create_x11: 1 [vo/xv] No Xvideo support found. [vo/sdl] Using opengl [lavf] Edit lists are not correctly supported (FFmpeg issue). AO: [alsa] 48000Hz stereo 2ch float VO: [sdl] 1280x720 yuv420p AV: 00:00:00 / 01:29:03 (0%) A-V: 0.209 Audio/Video desynchronisation detected! Possible reasons include too slow hardware, temporary CPU spikes, broken drivers, and broken files. Audio position will not match to the video (see A-V status field).And watching film remains impossible because jerkiness is too much.
- This reply was modified 5 years, 2 months ago by andfree.
- This reply was modified 5 years, 2 months ago by andfree.
March 13, 2018 at 1:54 am #7743Memberandfree
March 13, 2018 at 11:16 am #7759Anonymous
::“dri2 instead of dri”….should only be dri, but for some reason egl not loading dri.
is libegl1 libegl-mesa0 libdrm2 libdrm-common and libgl1-mesa-dri installed.there is also a package called driconf to configure dri but I haven’t tried yet.
I think you have to reboot if you have to install the drm ones. -
AuthorPosts
- You must be logged in to reply to this topic.