LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 15 and Electricsheep: a disaster on Intel laptop (https://www.linuxquestions.org/questions/slackware-14/slackware-15-and-electricsheep-a-disaster-on-intel-laptop-4175723320/)

camerabambai 03-22-2023 07:33 PM

Slackware 15 and Electricsheep: a disaster on Intel laptop
 
I have a Intel laptop on Slackware 15, I like to use electricsheep but..

with driver SDL: works, but not fill the screen, the workaround to use panscan=1.0 don't work
with driver XV: crash
with driver VDPAU: static image!
with driver GL: image ruined/disturbed

Two questions:

a) Is possible to use vlc instead of mplayer for electricsheep?
b) No way to fill the screen using sdl driver with mplayer?

Thanks

henca 03-23-2023 02:17 AM

Quote:

Originally Posted by camerabambai (Post 6419527)
b) No way to fill the screen using sdl driver with mplayer?

I haven't used electricsheep, but I know that different video out drivers work with different success on different hardware. On my system

Code:

mplayer -vo sdl -fs -zoom somefile.avi
works fine to fill the entire screen using the sdl driver with mplayer.

regards Henrik

LuckyCyborg 03-23-2023 02:33 AM

@camerabambai

Please define "Intel laptop"

I guess that you guess that those MPlayer issues are closely related to the particular hardware you have.

Without further hardware related information, all I can do is to welcome you here with the traditional: works here!

camerabambai 03-23-2023 11:36 PM

Quote:

Originally Posted by LuckyCyborg (Post 6419569)
@camerabambai

Please define "Intel laptop"

I guess that you guess that those MPlayer issues are closely related to the particular hardware you have.

Without further hardware related information, all I can do is to welcome you here with the traditional: works here!

Thanks for answer.

The laptop is

Code:

NS5x_NS7xPU
uname -a said:

Code:

6.1.12 #1 SMP PREEMPT_DYNAMIC Sat Feb 18 16:45:16 CET 2023 x86_64 12th Gen Intel(R) Core(TM) i7-1260P GenuineIntel GNU/Linux

henca 03-24-2023 01:50 AM

The most interesting part of your laptop is probably the graphics chip. You can see it by doing:

Code:

/sbin/lspci | grep -i vga
Example output from two different machines:

(a slackware 14.2 machine) :
Code:

00:02.0 VGA compatible controller: Intel Corporation Device 591d (rev 04)
(a slackware 15.0 machine) :
Code:

00:02.0 VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06)
regards Henrik

yvesjv 03-25-2023 01:30 PM

My graphics card fan kicked in just by going to the electricsheep site...

LuckyCyborg 03-25-2023 02:00 PM

Quote:

Originally Posted by yvesjv (Post 6420199)
My graphics card fan kicked in just by going to the electricsheep site...

Yep, it's a very heavy site. ;)

camerabambai 03-25-2023 05:28 PM

Quote:

Originally Posted by henca (Post 6419858)
The most interesting part of your laptop is probably the graphics chip. You can see it by doing:

Code:

/sbin/lspci | grep -i vga
Example output from two different machines:

(a slackware 14.2 machine) :
Code:

00:02.0 VGA compatible controller: Intel Corporation Device 591d (rev 04)
(a slackware 15.0 machine) :
Code:

00:02.0 VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06)
regards Henrik

My vga is..

Code:

00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)

camerabambai 04-07-2023 05:01 PM

I have tried to change the screensaver, seems none of the 3d screensaver works
So is not a problem of electricsheep but graphical configuration

camerabambai 04-07-2023 06:18 PM

Solution found.
The problem was the new driver use by MESA, called "iris", some app (all in my case)
make problems.
The solution is to use the old driver exporting the var MESA_LOADER_DRIVER_OVERRIDE=i965

vim /etc/environment

Code:

MESA_LOADER_DRIVER_OVERRIDE=i965
LIBVA_DRIVERS_PATH=/usr/lib64/dri/iHD_drv_video.so
LIBVA_DRIVER_NAME=iHD

the "intel-media-driver" is probably not necessary, but install it is not a problem
(you can install both vdpau and vappi-intel-driver).

The options for i915 are those (probably not necessary, but I put it )
those change need a new initrd.

vim /etc/modprobe.d/i915.conf

Code:

options i915 enable_guc=3
Finally the configuration for mplayer

cat $HOME/.mplayer/config

Code:

# Write your default config options here!
vo=vdpau
ao=alsa
menu=yes
vf=eq2,screenshot
softvol=yes
softvol-max=300
aspect=16:9

and for electricsheep

vim $HOME/.electricsheep/preferences.xml

Code:

<preferences
 nick=""
 url=""
 password=""
 cache="2000"
 nrepeats="2"
 frame_rate="23"
 play_evenly="1"
 uid="*****************"
 zoom="1"
 video_driver="vdpau"
 no_animation="0"
 standalone="0"
 hide_errors="0"
 save_frames="0"
/>

Probably is not related to the problem, but I put also the X11 configuration

vim /etc/X11/xorg.conf.d/91-intel-backlight.conf

Code:

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
EndSection

For vdpau use this in /etc/profile.d/vdpau.sh

Code:

export VDPAU_DRIVER="va_gl"
Only one problem, mame give a lot of libgl error and sometimes freeze.

camerabambai 04-07-2023 07:35 PM

Another configuration which work is this, only one problem: no backlight! but you can bypass it using apps like light or brillo.
With the other configuration mame sometimes freeze, this configuration use iris


vim /etc/environment

Code:

LIBVA_DRIVERS_PATH=/usr/lib64/dri/iHD_drv_video.so
LIBVA_DRIVER_NAME=iHD

vim /etc/modprobe.d/i915.conf

Code:

options i915 enable_guc=3
options i915 enable_fbc=1

Mplayer config

$HOME/.mplayer/config

Code:

# Write your default config options here!
vo=vdpau
ao=alsa
menu=yes
vf=eq2,screenshot
softvol=yes
softvol-max=300
aspect=16:9

and for electricsheep

vim $HOME/.electricsheep/preferences.xml

Code:

<preferences
 nick=""
 url=""
 password=""
 cache="2000"
 nrepeats="2"
 frame_rate="23"
 play_evenly="1"
 uid="*****************"
 zoom="1"
 video_driver="vdpau"
 no_animation="0"
 standalone="0"
 hide_errors="0"
 save_frames="0"
/>

The X11 configuration change (the backlight don't work)

vim /etc/X11/xorg.conf.d/91-intel-backlight.conf

Code:

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "modesetting"
        Option      "AccelMethod"    "glamor"
        Option      "Backlight"      "intel_backlight"
        Option      "DRI"            "3"
EndSection


For vdpau use this in /etc/profile.d/vdpau.sh

Code:

export VDPAU_DRIVER="va_gl"

yvesjv 04-07-2023 09:51 PM

Nice, solve this thread?

Aeterna 04-07-2023 09:54 PM

you can enable fully enable intel video acceleration, may help
https://www.linuxquestions.org/quest...on-4175721864/

camerabambai 04-08-2023 03:39 PM

Quote:

Originally Posted by yvesjv (Post 6423107)
Nice, solve this thread?

Yes, both solution.
The first works fine on video-accell but give problems with some 3d games (mame)
The second works fine on all, only one problem: the special keys to up/down screen brightness of Laptop don't work, as workaround
you can use "brillo" or light programs, the good solution will be when someone make the brightness work with modeset driver


https://gitlab.com/cameronnemo/brillo

https://github.com/haikarainen/light

camerabambai 04-08-2023 03:40 PM

Quote:

Originally Posted by Aeterna (Post 6423109)
you can enable fully enable intel video acceleration, may help
https://www.linuxquestions.org/quest...on-4175721864/

Thanks


All times are GMT -5. The time now is 10:07 AM.