LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2023, 07:33 PM   #1
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
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

Last edited by camerabambai; 03-22-2023 at 07:43 PM.
 
Old 03-23-2023, 02:17 AM   #2
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 980

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by camerabambai View Post
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
 
1 members found this post helpful.
Old 03-23-2023, 02:33 AM   #3
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
@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!

Last edited by LuckyCyborg; 03-23-2023 at 04:21 AM.
 
1 members found this post helpful.
Old 03-23-2023, 11:36 PM   #4
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by LuckyCyborg View Post
@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
 
Old 03-24-2023, 01:50 AM   #5
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 980

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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
 
1 members found this post helpful.
Old 03-25-2023, 01:30 PM   #6
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 575

Rep: Reputation: Disabled
My graphics card fan kicked in just by going to the electricsheep site...
 
Old 03-25-2023, 02:00 PM   #7
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
Quote:
Originally Posted by yvesjv View Post
My graphics card fan kicked in just by going to the electricsheep site...
Yep, it's a very heavy site.
 
Old 03-25-2023, 05:28 PM   #8
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by henca View Post
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)
 
Old 04-07-2023, 05:01 PM   #9
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
I have tried to change the screensaver, seems none of the 3d screensaver works
So is not a problem of electricsheep but graphical configuration

Last edited by camerabambai; 04-07-2023 at 05:19 PM.
 
Old 04-07-2023, 06:18 PM   #10
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
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.

Last edited by camerabambai; 04-07-2023 at 07:35 PM.
 
1 members found this post helpful.
Old 04-07-2023, 07:35 PM   #11
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
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"

Last edited by camerabambai; 04-18-2023 at 12:15 PM.
 
Old 04-07-2023, 09:51 PM   #12
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 575

Rep: Reputation: Disabled
Nice, solve this thread?
 
Old 04-07-2023, 09:54 PM   #13
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
you can enable fully enable intel video acceleration, may help
https://www.linuxquestions.org/quest...on-4175721864/
 
1 members found this post helpful.
Old 04-08-2023, 03:39 PM   #14
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by yvesjv View Post
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
 
Old 04-08-2023, 03:40 PM   #15
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by Aeterna View Post
you can enable fully enable intel video acceleration, may help
https://www.linuxquestions.org/quest...on-4175721864/
Thanks
 
  


Reply

Tags
electricsheep



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xscreensaver with electricsheep - not working "deleted another electricsheep process" superchar42 Linux - Software 7 04-30-2013 01:03 PM
ElectricSheep - Copying packs in to Ubuntu 10.10 Bluestreak Ubuntu 1 10-20-2010 02:07 AM
Error Installing Electricsheep on fiesty athanman Linux - Software 0 08-08-2007 12:59 AM
xscreensaver-electricsheep-interuption mashdot Debian 2 11-24-2004 08:40 AM
Interesting Electricsheep screen saver borks... toy Slackware 7 05-14-2004 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration