Newer kernels for Debian stable

If none of the more specific forums is the right place to ask

[FAQ] Newer kernels for Debian stable

Postby fred44nl » 2018-11-10 18:20

could the "older" kernel I am using be the cause of the fact that VLC does not show it's GUI, when I double-click on the icon on the desktop ??
I am running Debian 9.5 Stretch, with kernel 4.9.110-3+deb9u6
there is an update coming with probably 4.9.130-2
would this be of much help for me ??
Debian 9.6 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 87
Joined: 2018-07-14 08:54

Re: [FAQ] Newer kernels for Debian stable

Postby stevepusser » 2018-11-10 18:43

fred44nl wrote:could the "older" kernel I am using be the cause of the fact that VLC does not show it's GUI, when I double-click on the icon on the desktop ??
I am running Debian 9.5 Stretch, with kernel 4.9.110-3+deb9u6
there is an update coming with probably 4.9.130-2
would this be of much help for me ??


It might be, but we'd have to know what hardware you have to make that call. Install inxi and post the output, as a regular user, of

Code: Select all
inxi -Fxz
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, tlp-ui, wine-staging 3.21, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10245
Joined: 2009-10-06 05:53

Newer kernels for Debian stable

Postby fred44nl » 2018-11-10 19:30

thank you.
the output of inxi is:

fred44nl@Debian:~$ inxi -Fxz
System: Host: Debian Kernel: 4.9.0-8-amd64 x86_64 (64 bit gcc: 6.3.0) Console: tty 0
Distro: Debian GNU/Linux 9 (stretch)
Machine: Device: desktop Mobo: Compulab model: fitlet2 v: 1.1
UEFI: American Megatrends v: FLT2.MBM2.0.40.01.00 date: 07/05/2018
CPU: Quad core Intel Celeron J3455 (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11980
clock speeds: max: 2300 MHz 1: 888 MHz 2: 899 MHz 3: 1484 MHz 4: 905 MHz
Graphics: Card: Intel Device 5a85 bus-ID: 00:02.0
Display Server: X.org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
tty size: 136x40 Advanced Data: N/A for root out of X
Audio: Card Intel Atom/Celeron/Pentium Processor N4200/N3350/E3900 Series Audio Cluster
driver: snd_hda_intel bus-ID: 00:0e.0
Sound: Advanced Linux Sound Architecture v: k4.9.0-8-amd64
Network: Card-1: Intel Wireless 8260 driver: iwlwifi bus-ID: 01:00.0
IF: wlp1s0 state: down mac: <filter>
Card-2: Intel I211 Gigabit Network Connection driver: igb v: 5.4.0-k port: e000 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Card-3: Intel I211 Gigabit Network Connection driver: igb v: 5.4.0-k port: d000 bus-ID: 03:00.0
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 1063.6GB (58.8% used)
ID-1: /dev/sda model: NT size: 63.4GB
ID-2: USB /dev/sdb model: External_USB_3.0 size: 1000.2GB
Partition: ID-1: / size: 54G used: 3.4G (7%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 4.11GB used: 0.05GB (1%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 40.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 238 Uptime: 30 days Memory: 1479.7/3778.2MB Init: systemd runlevel: 5 Gcc sys: N/A
Client: Shell (sudo) inxi: 2.3.5
Debian 9.6 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 87
Joined: 2018-07-14 08:54

Re: [FAQ] Newer kernels for Debian stable

Postby Head_on_a_Stick » 2018-11-10 19:46

fred44nl wrote:
Code: Select all
CPU:       Quad core Intel Celeron J3455 (-MCP-)

This was introduced in August 2016:

https://en.wikichip.org/wiki/intel/celeron/j3455

Debian stretch was released 2017-06-17 and so should already support that processor (just).

It may be that a newer kernel would offer some improvements (test it and see, the old kernel can still be picked from GRUB) but this would have to be offset against the risk of the new bugs that will almost inevitably have been introduced because of these improvements (IMO).

Anyway, video problems such as those you describe are more likely to be down to the DDX driver: try installing xserver-xorg-video-intel, that may work better on your hardware than the modesetting driver in use now.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [FAQ] Newer kernels for Debian stable

Postby fred44nl » 2018-11-10 19:59

thank you, but I seem to have xserver-xorg-video-intel already

fred44nl@Debian:~$ sudo apt policy xserver-xorg-video-intel
xserver-xorg-video-intel:
Geïnstalleerd: 2:2.99.917+git20161206-1
Kandidaat: 2:2.99.917+git20161206-1
Versietabel:
*** 2:2.99.917+git20161206-1 500
500 http://ftp.nl.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
Debian 9.6 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 87
Joined: 2018-07-14 08:54

Re: [FAQ] Newer kernels for Debian stable

Postby Head_on_a_Stick » 2018-11-10 20:04

Try removing it then :)

The Debian package page recommends the modesetting driver, FWIW.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [FAQ] Newer kernels for Debian stable

Postby stevepusser » 2018-11-10 21:14

The inxi output already says it's running the modesetting driver.

Fred, could you run "inxi -G" as a REGULAR user instead of root, since we can't see how the openGL rendering is working when you ran the first inxi command as root? That may affect VLC, since the Stretch version defaults to the openGL output instead of xv like the 2.X VLC versions did.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, tlp-ui, wine-staging 3.21, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10245
Joined: 2009-10-06 05:53

Re: [FAQ] Newer kernels for Debian stable

Postby Head_on_a_Stick » 2018-11-10 21:26

stevepusser wrote:The inxi output already says it's running the modesetting driver.

That's strange because my Debian box loads the Intel DDX driver automatically if it is installed so I would expect the OP's system to do the same.

@fred: check your Xorg.0.log, that will show the driver.

Here is mine:
Code: Select all
[    71.045] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    71.045] (==) intel(0): RGB weight 888
[    71.045] (==) intel(0): Default visual is TrueColor
[    71.045] (**) intel(0): Option "TearFree" "yes"
[    71.046] (II) intel(0): Output LVDS1 has no monitor section
[    71.061] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[    71.061] (II) intel(0): Enabled output LVDS1
[    71.061] (II) intel(0): Output VGA1 has no monitor section
[    71.061] (II) intel(0): Enabled output VGA1
[    71.061] (II) intel(0): Output HDMI1 has no monitor section
[    71.061] (II) intel(0): Enabled output HDMI1
[    71.061] (II) intel(0): Output DP1 has no monitor section
[    71.061] (II) intel(0): Enabled output DP1
[    71.061] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    71.062] (II) intel(0): Output VIRTUAL1 has no monitor section
[    71.062] (II) intel(0): Enabled output VIRTUAL1
[    71.062] (--) intel(0): Output LVDS1 using initial mode 1280x800 on pipe 0
[    71.062] (**) intel(0): TearFree enabled
[    71.062] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    71.062] (==) intel(0): DPI set to (96, 96)
[    71.062] (II) Loading sub module "dri3"
[    71.062] (II) LoadModule: "dri3"
[    71.062] (II) Module "dri3" already built-in
[    71.062] (II) Loading sub module "dri2"
[    71.062] (II) LoadModule: "dri2"
[    71.062] (II) Module "dri2" already built-in
[    71.062] (II) Loading sub module "present"
[    71.062] (II) LoadModule: "present"
[    71.062] (II) Module "present" already built-in
[    71.066] (II) intel(0): SNA initialized with Ironlake (gen5) backend
[    71.066] (==) intel(0): Backing store enabled
[    71.066] (==) intel(0): Silken mouse enabled
[    71.067] (II) intel(0): HW Cursor enabled
[    71.069] (==) intel(0): DPMS enabled
[    71.069] (==) intel(0): Display hotplug detection enabled
[    71.069] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[    71.069] (II) intel(0): [DRI2] Setup complete
[    71.069] (II) intel(0): [DRI2]   DRI driver: i965
[    71.069] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    71.069] (II) intel(0): direct rendering: DRI2 enabled
[    71.069] (II) intel(0): hardware support for Present enabled

^ I'm running xserver-xorg-video-intel, as you can see.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [FAQ] Newer kernels for Debian stable

Postby fred44nl » 2018-11-10 21:31

as far as I can see there is or was no difference between running inxi with sudo or not.
anyway, this is inxi -G definitively as a regular user:

fred44nl@Debian:~$ inxi -G
Graphics: Card: Intel Device 5a85
Display Server: X.org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
tty size: 136x40 Advanced Data: N/A out of X
Debian 9.6 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 87
Joined: 2018-07-14 08:54

Re: [FAQ] Newer kernels for Debian stable

Postby fred44nl » 2018-11-10 21:44

Head_on_a_Stick wrote:@fred: check your Xorg.0.log, that will show the driver.


don't know where to look, or what to look for :)
this is a small part:

[2552203.833] (==) Depth 24 pixmap format is 32 bpp
[2552203.972] (==) modeset(0): Backing store enabled
[2552203.972] (==) modeset(0): Silken mouse enabled
[2552203.972] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[2552203.999] (==) modeset(0): DPMS enabled
[2552203.999] (II) modeset(0): [DRI2] Setup complete
[2552203.999] (II) modeset(0): [DRI2] DRI driver: i965
[2552203.999] (II) modeset(0): [DRI2] VDPAU driver: i965
[2552203.999] (--) RandR disabled
[2552204.007] (II) SELinux: Disabled on system
Debian 9.6 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 87
Joined: 2018-07-14 08:54

Re: [FAQ] Newer kernels for Debian stable

Postby Head_on_a_Stick » 2018-11-10 21:49

^ Yup, stevepusser & `inxi` were right, you're running Xorg's builtin modesetting driver.

Switch to the Intel DDX driver with an Xorg configuration file, for example:
Code: Select all
empty@buster:~ $ cat /etc/X11/xorg.conf.d/20-intel.conf                               
Section "Device"
        Identifier "Intel Graphics"
        Driver "intel"
        Option "TearFree" "yes"
EndSection
empty@buster:~ $

The file will work without the Option line.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [FAQ] Newer kernels for Debian stable

Postby fred44nl » 2018-11-11 10:05

Head_on_a_Stick wrote:Switch to the Intel DDX driver with an Xorg configuration file, for example:
Code: Select all
empty@buster:~ $ cat /etc/X11/xorg.conf.d/20-intel.conf                               

The file will work without the Option line.

this file did not exist, so I created it, without any change to the problem.


digging deeper, I found the command:
Code: Select all
sudo cat /sys/kernel/debug/dri/0/i915_guc_load_status


this gave me:
fred44nl@Debian:~$ sudo cat /sys/kernel/debug/dri/0/i915_guc_load_status
GuC firmware status:
path: i915/bxt_guc_ver8_7.bin
fetch: SUCCESS
load: SUCCESS
version wanted: 8.7
version found: 8.7
header: offset is 0; size = 128
uCode: offset is 128; size = 140544
RSA: offset is 140672; size = 256
etc.etc....


on internet I found that there is version 9.14
does this make my version too old ??
Debian 9.6 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 87
Joined: 2018-07-14 08:54

Re: [FAQ] Newer kernels for Debian stable

Postby Head_on_a_Stick » 2018-11-11 10:35

fred44nl wrote:VLC does not show it's GUI, when I double-click on the icon on the desktop

Does VLC show it's GUI otherwise?

Anything relevant in ~/.xsession-errors?
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [FAQ] Newer kernels for Debian stable

Postby fred44nl » 2018-11-11 11:22

Head_on_a_Stick wrote:Does VLC show it's GUI otherwise?

nope, other software in the same category does, but not VLC

Anything relevant in ~/.xsession-errors?

~/.xsession-errors refers to .cache/lxsession/LXDE/run.log
and there I find:
Gtk-Message: Failed to load module "atk-bridge"


libatk-bridge2.0-0 and libgtk-3-0 are installed

when I try to open the GUI of VLC, this is logged in .cache/lxsession/LXDE/run.log as
/usr/bin/vlc --started-from-file
Debian 9.6 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 87
Joined: 2018-07-14 08:54

Re: Newer kernels for Debian stable

Postby Head_on_a_Stick » 2018-11-11 12:59

What if you launch VLC from the command line? Any error messages then?
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8315
Joined: 2014-06-01 17:46
Location: /dev/chair

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable