Re: SOLVED: Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-24 Thread Charles Curley
On Wed, 24 Jan 2024 07:33:59 +
Tixy  wrote:

> On Tue, 2024-01-23 at 13:34 -0700, Charles Curley wrote:
>  [...]  
> 
> As you've already found out, that's not the latest one, and if I'm not
> mistaken is the one that introduce a wifi bug [1], so that could
> explain it getting stuck in the wifi stuff during shutdown.
> 
> You would probably be OK with the latest Debian 6.1 kernel if you
> don't explicitly want the 6.5 one from backports.
> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057969
> 

That does indeed sound like the problem I had. Thank you. I think I've
spent enough time on this issue, so I'll stick with the backported
kernel(s) until the next Debian is released (13). Or until something
else goes wrong.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: SOLVED: Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-23 Thread Tixy
On Tue, 2024-01-23 at 13:34 -0700, Charles Curley wrote:
> I went to shut down the machine, and it got stuck trying to shut down
> wpa_supplicant and Network Manager. Ten minutes into the shutdown, I
> finally pulled the plug. A few reboots and shutdowns later, I decided
> to try another kernel. I had recently installed Bookworm from the 12.0
> netinst CD image, so I had the 12.0 kernel, linux-image-6.1.0-9-amd64,
> 6.1.27-1, as my fall-back kernel. I rebooted to that, and was able to
> shut down and boot in quick order.
> 
> So I purged the newer kernel, inux-image-6.1.0-15-amd64, leaving the
> older one in place.

As you've already found out, that's not the latest one, and if I'm not
mistaken is the one that introduce a wifi bug [1], so that could
explain it getting stuck in the wifi stuff during shutdown.

You would probably be OK with the latest Debian 6.1 kernel if you don't
explicitly want the 6.5 one from backports.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057969

-- 
Tixy



Re: SOLVED: Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-23 Thread Charles Curley
On Wed, 24 Jan 2024 09:25:58 +0700
Max Nikulin  wrote:

> On 24/01/2024 03:34, Charles Curley wrote:
> > So I purged the newer kernel, inux-image-6.1.0-15-amd64  
> 
> The current kernel is linux-image-6.1.0-17-amd64
> 
> Perhaps you have not restored your sources.list or apt preferences
> after the accidents with kernel bugs. Check that nothing extra is
> added and nothing is missed in
> 
>  apt policy
> 

Good catch, thank you. I found the problem. sources.list had two src
lines commented out because the installer couldn't verify them. I have
rectified that problem.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: SOLVED: Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-23 Thread Max Nikulin

On 24/01/2024 03:34, Charles Curley wrote:

So I purged the newer kernel, inux-image-6.1.0-15-amd64


The current kernel is linux-image-6.1.0-17-amd64

Perhaps you have not restored your sources.list or apt preferences after 
the accidents with kernel bugs. Check that nothing extra is added and 
nothing is missed in


apt policy



SOLVED: Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-23 Thread Charles Curley
On Sat, 13 Jan 2024 10:19:48 -0700
Charles Curley  wrote:

> I have just installed Bookworm on my ancient Lenovo T520 (2011),
> replacing Bullseye. I suspect the problem is somewhere in the video
> driver chain. Any thoughts on how to proceed further with this?
> 
> Upon trying to run chromium, I get:
> 
> charles@jhegaala:~$ chromium &
> [2] 33609
> charles@jhegaala:~$ libva error:
> /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
> 
> charles@jhegaala:~$

I seem to have solved this problem, entirely by accident.

I went to shut down the machine, and it got stuck trying to shut down
wpa_supplicant and Network Manager. Ten minutes into the shutdown, I
finally pulled the plug. A few reboots and shutdowns later, I decided
to try another kernel. I had recently installed Bookworm from the 12.0
netinst CD image, so I had the 12.0 kernel, linux-image-6.1.0-9-amd64,
6.1.27-1, as my fall-back kernel. I rebooted to that, and was able to
shut down and boot in quick order.

So I purged the newer kernel, inux-image-6.1.0-15-amd64, leaving the
older one in place. I then set up for bookworm backports, and installed
a kernel from backports, linux-image-6.5.0-0.deb12.4-amd64,
6.5.10-1~bpo12+1. Not only does than kernel give me snappy boot and
shutdown, but chromium runs, and show videos. I still get the libva
error message, but chromium runs anyway.

All of which leads me to suspect that the error message was a soviet
herring, as Max Nikulin  suggested elsewhere in
this thread.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-22 Thread Max Nikulin

On 19/01/2024 04:08, Charles Curley wrote:

charles@jhegaala:~$ chromium chrome://gpu
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
^C
Killed
charles@jhegaala:~$

I did a killall -9 in another window to kill it.


Does it happen in the case of a new system user and a new chromium 
profile to ensure settings close to defaults?


Is it possible to create a new tab in the chromium window?



Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-18 Thread Max Nikulin



On 19/01/2024 04:08, Charles Curley wrote:

On Fri, 19 Jan 2024 00:02:44 +0700
Max Nikulin wrote:


Have you faced real issues namely with hardware acceleration?


Other than this, not that I know of.


I do not think the message concerning iHD is related to any real issue. 
I see "oops" in the subject, but perhaps it is caused by something else. 
I recall another thread


SOLVED [was: Chromium under Xfce/bookworm anyone?] Wed, 13 Sep 2023 
20:11:08 +0200

https://lists.debian.org/msgid-search/zqh7peojdoudu...@tuxteam.de


iHD driver is tied first, but your graphics card is too old for it,
so i965 loaded next. I am unsure if it is possible to suppress
attempt to load iHD and so to avoid an error message e.g. by setting
some environment variable.


I see nothing in chromium's rather minimal man page. I also tried
several command line switches in
https://peter.sh/experiments/chromium-command-line-switches/, to no
avail.


The same message is reported by vainfo, so it is not specific to 
chromium. I have not tried a recipe given in


https://wiki.debian.org/HardwareVideoAcceleration#VA-API

Driver selection can be overridden by setting the environment variable
LIBVA_DRIVER_NAME to a specific driver, e.g., LIBVA_DRIVER_NAME=i965 (to
use the driver from i965-va-driver on Bullseye) or LIBVA_DRIVER_NAME=iHD
(to use the driver from intel-media-va-driver on Debian 10/Buster). See
EnvironmentVariables for more details on how to set this environment
variable system-wide or per user.





Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-18 Thread Charles Curley
On Fri, 19 Jan 2024 00:02:44 +0700
Max Nikulin  wrote:

> On 14/01/2024 00:19, Charles Curley wrote:
>  [...]  
> 
>  [...]  
> 
> Have you faced real issues namely with hardware acceleration?

Other than this, not that I know of.

> 
> iHD driver is tied first, but your graphics card is too old for it,
> so i965 loaded next. I am unsure if it is possible to suppress
> attempt to load iHD and so to avoid an error message e.g. by setting
> some environment variable.

I see nothing in chromium's rather minimal man page. I also tried
several command line switches in
https://peter.sh/experiments/chromium-command-line-switches/, to no
avail.

> 
> chrome://gpu may provide more info.
> 

Alas, chromium never gets far enough to deliver useful information.

charles@jhegaala:~$ chromium chrome://gpu
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
^C
Killed
charles@jhegaala:~$ 

I did a killall -9 in another window to kill it.

There are no crash reports.

I looked in the two bug report sites mentioned in the man page for
chromium, and did not see anything that looked relevant.

I tried removing intel-media-va-driver |
intel-media-va-driver-non-free, which required removing va-driver-all.
No go. chromium just sits there as a background process, and I have to
kill it.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-18 Thread Max Nikulin

On 14/01/2024 00:19, Charles Curley wrote:

charles@jhegaala:~$ chromium &
[2] 33609
charles@jhegaala:~$ libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed



charles@jhegaala:~$ vainfo
libva info: VA-API version 1.17.0
libva info: Trying to open
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init
function __vaDriverInit_1_17 libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed libva info:
va_openDriver() returns 1 libva info: Trying to open
/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init
function __vaDriverInit_1_8 libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge


Have you faced real issues namely with hardware acceleration?

iHD driver is tied first, but your graphics card is too old for it, so 
i965 loaded next. I am unsure if it is possible to suppress attempt to 
load iHD and so to avoid an error message e.g. by setting some 
environment variable.


chrome://gpu may provide more info.



Chromium oops: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

2024-01-13 Thread Charles Curley
I have just installed Bookworm on my ancient Lenovo T520 (2011),
replacing Bullseye. I suspect the problem is somewhere in the video
driver chain. Any thoughts on how to proceed further with this?

Upon trying to run chromium, I get:

charles@jhegaala:~$ chromium &
[2] 33609
charles@jhegaala:~$ libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

charles@jhegaala:~$ ps
PID TTY  TIME CMD
  32502 pts/800:00:00 bash
  32506 pts/800:00:04 emacs
  33609 pts/800:00:00 chromium
  33630 pts/800:00:00 chromium
  33631 pts/800:00:00 chromium
  33633 pts/800:00:00 chromium
  33656 pts/800:00:00 chromium
  33657 pts/800:00:00 chromium
  33688 pts/800:00:00 ps
charles@jhegaala:~$ killall -9 chromium
charles@jhegaala:~$ 
[2]+  Killed  chromium
charles@jhegaala:~$ ps
PID TTY  TIME CMD
  32502 pts/800:00:00 bash
  32506 pts/800:00:04 emacs
  33695 pts/800:00:00 ps
charles@jhegaala:~$ vainfo
libva info: VA-API version 1.17.0
libva info: Trying to open
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init
function __vaDriverInit_1_17 libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed libva info:
va_openDriver() returns 1 libva info: Trying to open
/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init
function __vaDriverInit_1_8 libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge
Mobile - 2.4.1 vainfo: Supported profile and entrypoints
  VAProfileMPEG2Simple: VAEntrypointVLD
  VAProfileMPEG2Main  : VAEntrypointVLD
  VAProfileH264ConstrainedBaseline: VAEntrypointVLD
  VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
  VAProfileH264Main   : VAEntrypointVLD
  VAProfileH264Main   : VAEntrypointEncSlice
  VAProfileH264High   : VAEntrypointVLD
  VAProfileH264High   : VAEntrypointEncSlice
  VAProfileH264StereoHigh : VAEntrypointVLD
  VAProfileVC1Simple  : VAEntrypointVLD
  VAProfileVC1Main: VAEntrypointVLD
  VAProfileVC1Advanced: VAEntrypointVLD
  VAProfileNone   : VAEntrypointVideoProc
charles@jhegaala:~$ 

Display is:

root@jhegaala:~# lspci -vs 2.0
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09) (prog-if
00 [VGA controller]) Subsystem: Lenovo ThinkPad T520 Flags: bus master,
fast devsel, latency 0, IRQ 28, IOMMU group 0 Memory at f000
(64-bit, non-prefetchable) [size=4M] Memory at e000 (64-bit,
prefetchable) [size=256M] I/O ports at 6000 [size=64]
Expansion ROM at 000c [virtual] [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915

root@jhegaala:~# grep 'model name' /proc/cpuinfo 
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
root@jhegaala:~# 



-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/