mpv & external subs (antiX-base)

Forum Forums New users New Users and General Questions mpv & external subs (antiX-base)

This topic contains 50 replies, has 3 voices, and was last updated by andfree Mar 16-12:20 am.

Viewing 15 posts - 31 through 45 (of 51 total)
  • Author
    Posts
  • #7695
    Member

    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.conf

    I 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 3 months, 2 weeks ago by andfree.
    #7698
    Member
    linuxdaddy
    linuxdaddy

    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.

    #7699
    Member

    andfree

    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.

    #7700
    Member
    linuxdaddy
    linuxdaddy

    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.new

    #7713
    Member
    linuxdaddy
    linuxdaddy

    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.

    Attachments:
    1. xorg.conf_.txt
    #7717
    Member

    andfree

    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 3 months, 2 weeks ago by andfree.
    #7723
    Member
    linuxdaddy
    linuxdaddy

    my machine is emachine

    #7726
    Member

    andfree

    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?

    #7727
    Member
    linuxdaddy
    linuxdaddy

    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.

    #7729
    Member

    andfree

    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.

    #7730
    Member
    linuxdaddy
    linuxdaddy

    can you post output of
    inxi -Gxx
    for the radeon one

    #7732
    Member
    linuxdaddy
    linuxdaddy

    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.

    #7740
    Member

    andfree
    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: Yes

    I 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 3 months, 2 weeks ago by andfree.
    • This reply was modified 3 months, 2 weeks ago by andfree.
    #7743
    Member

    andfree

    I tested with “dri2” instead of “dri” everywhere in the xorg file. No GUI.

    #7759
    Member
    linuxdaddy
    linuxdaddy

    “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.

Viewing 15 posts - 31 through 45 (of 51 total)

You must be logged in to reply to this topic.