Intel GMA 950 (i945g) hardware accelerated video playback

Forum Forums General Hardware Intel GMA 950 (i945g) hardware accelerated video playback

  • This topic has 5 replies, 2 voices, and was last updated Jul 14-6:33 am by rokytnji.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #38781
    Member
    hurka

      Hello,

      I have a Dell 1011 netbook.

      $ inxi -Fxz
      System:
        Host: DellMini2020 Kernel: 4.20.12-antix.1-486-smp i686 bits: 32 compiler: gcc 
        v: 6.3.0 Desktop: herbstluftwm 0.7.1 
        Distro: antiX-17.4.1_386-full Helen Keller 28 March 2019 
        base: Debian GNU/Linux 9 (stretch) 
      Machine:
        Type: Portable System: Dell product: Inspiron 1011 v: A06 serial: <filter> 
        Mobo: Dell model: CN0Y53 v: A06 serial: <filter> BIOS: Dell v: A06 date: 07/29/2009 
      CPU:
        Topology: Single Core model: Intel Atom N270 bits: 32 type: MT arch: Bonnell rev: 2 
        L2 cache: 512 KiB 
        flags: nx pae sse sse2 sse3 ssse3 bogomips: 6384 
        Speed: 1371 MHz min/max: 800/1600 MHz Core speeds (MHz): 1: 809 2: 894 
      Graphics:
        Device-1: Intel Mobile 945GSE Express Integrated Graphics vendor: Dell driver: i915 
        v: kernel bus ID: 00:02.0 
        Display: server: X.Org 1.19.2 driver: intel unloaded: fbdev,modesetting,vesa 
        resolution: 1024x600~60Hz 
        OpenGL: renderer: Mesa DRI Intel 945GME x86/MMX/SSE2 v: 2.1 Mesa 13.0.6 
        direct render: Yes 
      Audio:
        Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Dell 
        driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
        Sound Server: ALSA v: k4.20.12-antix.1-486-smp 
      

      when I open a video using mpv this is the log:

      libva info: VA-API version 0.39.4
      libva info: va_getDriverName() returns 0
      libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i915_drv_video.so
      libva info: va_openDriver() returns -1
      libva info: VA-API version 0.39.4
      libva info: va_getDriverName() returns 0
      libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i965_drv_video.so
      libva info: Found init function __vaDriverInit_0_39
      libva error: /usr/lib/i386-linux-gnu/dri/i965_drv_video.so init failed
      libva info: va_openDriver() returns -1
      Running DIL (3.22.0) Version
      DtsDeviceOpen: Opening HW in mode 0
      DtsDeviceOpen: Create File Failed
      Could not open codec.
      AO: [alsa] 48000Hz stereo 2ch float
      Using software decoding.
      VO: [opengl] 720x480 => 853x480 yuv420p
      

      I would love to see any kind of hw acceleration done by the gpu while playing video.
      How should I transition to modesetting driver? (If I remove xserver-xorg-video-intel,
      at next reboot I only get console, no X)
      I’m not an expert linux user, more like an agile linux user.

      Thanks.

      #38782
      Forum Admin
      rokytnji
        Helpful
        Up
        0
        ::

        Intel Atom N270 bits

        Choke point. I own a couple touchscreens with this. You might find no joy with using modesetting driver.
        I will leave it to the other more knowedgable members for how to switch from i915 driver to modesetting driver.

        If I am right in assuming you are the facebook user I replied to.

        https://www.phoronix.com/scan.php?page=article&item=intel_n270_2012&num=1

        Howdy and Welcome to the forum.

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        I'm not outa place. I'm from outer space.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #38793
        Member
        hurka
          Helpful
          Up
          0
          ::

          Thanks!

          These two links made me interested, but I couldn’t apply the methods listed here
          https://wiki.archlinux.org/index.php/Intel_graphics

          Note: Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86-video-intel driver, and instead falling back on the modesetting driver for Gen4 and newer GPUs (GMA 3000 from 2006 and newer). See [1], [2], Xorg#Installation, and modesetting(4). However, the modesetting driver can cause problems such as Chromium Issue 370022.

          https://web.archive.org/web/20160714232204/https://www.reddit.com/r/archlinux/comments/4cojj9/it_is_probably_time_to_ditch_xf86videointel/

          What makes me confused is when I remove xserver-xorg-video-intel –
          then reboot and play a video-
          mpv log misses the first 4 lines

          libva info: VA-API version 0.39.4
          libva info: va_getDriverName() returns 0
          libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i915_drv_video.so
          libva info: va_openDriver() returns -1

          but in the reddit thread above, all seem to use i915*.so while using mpv.

          • This reply was modified 2 years, 10 months ago by hurka.
          #38815
          Forum Admin
          rokytnji
            Helpful
            Up
            0
            ::

            Well. Reddit is tough for me to grok. But reading

            Modesetting gives me terrible performance in lightdm. Like 5 frame/sec fade animations. Also seems to happen with Intel if I use DRI3. Using an i915 optimus setup.

            Edit: I was able to fix it by switching from lightdm-webkit2-greeter to lightdm-webkit-greeter. Odd because they are both the same version number.
            `

            so I

            apt search lightdm

            To see what is available. I am kinda the wrong guy for this thread. Since I usually roll with defaults lately. smxi,sgfxi and I have not met up in ages.

            • This reply was modified 2 years, 10 months ago by rokytnji.

            Sometimes I drive a crooked road to get my mind straight.
            Not all who Wander are Lost.
            I'm not outa place. I'm from outer space.

            Linux Registered User # 475019
            How to Search for AntiX solutions to your problems

            #38829
            Member
            hurka
              Helpful
              Up
              0
              ::

              I hope I don’t need to install a display manager just to change a driver.

              I did some more search on mxlinux forum.

              https://forum.mxlinux.org/viewtopic.php?f=107&t=39889&start=10

              #12
              Also, the recent “modesetting” driver in antiX-16-b3 works on my valley-view GPUs as well as the sky-lake. I think they dropped the requirement for >= 128 ALUs.

              #14
              We are using the older intel driver on the 32-bit version and the newer intel driver on the 64-bit version. This should be fine for most people.

              My CPU is 32 bit, and when I try to force modesetting, I get X log:

              [    11.210] (WW) glamor requires at least 128 instructions (64 reported)
              [    11.210] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
              
              #38834
              Forum Admin
              rokytnji
                Helpful
                Up
                0
                ::

                Well. I am not sure on How antiX 17 32 bit 4.20 kernel is set up.

                If kernel is the cause. Easy enough to to install another one like a stable 4.3 LTS kernel.

                Since netbook board is 2009. You are running 17 which I have moved on from on my gear and so, I only post from memory, what I remember from the 17 days.

                So, if wanting to try another kernel. Then try you tweaks on that kernel. One reason this is tough for me is I know xorg changed a bunch between antiX 17 and 19. Easy package command is for the kernel change is. Don’t forget to sudo apt update before launching this

                harry@biker:~
                $ sudo cli-aptiX
                [sudo] password for harry: 
                Checking source files ...
                Checking for package upgrades ...
                Creating database ...
                database generation took 1.58 seconds
                
                ===============================================================================
                antiX Command Line Package Installer
                ===============================================================================
                (no pending upgrades)
                                                                                              
                Main Menu                                                                     
                > Search for packages to mark or install                                      
                > View a list of 84 suggested Command Line packages                           
                > View a list of 165 suggested GUI packages                                   
                > Search for antiX kernels                                                    
                > Search for all kernels                                                      
                > Update package index (last update Sat 11 Jul 2020 12:27:33 PM CDT)          
                > Edit the repo source files                                                  
                > Quit                                                                        
                Press <Enter> to select the highlighted entry                                 
                Use 'h' for help, 'r' to redraw, 'q' to quit    

                Sometimes I drive a crooked road to get my mind straight.
                Not all who Wander are Lost.
                I'm not outa place. I'm from outer space.

                Linux Registered User # 475019
                How to Search for AntiX solutions to your problems

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.