YouTube Sound & Video

131 views
Skip to first unread message

Pmonf

unread,
Jul 12, 2020, 11:10:34 PM7/12/20
to qubes-users
I recently installed Qubes 4.0.3 on a new Thinkpad E15 with an Intel i-5-10210U with 16GB ram with a 512SSD.I have two problems I have not yet resolved:

     1. There is no sound on, for instance, youtube videos and the framerate is very slow. It doesn't matter what template I use to access the browser.

     2. The touchpad and mouse pointer movement is not smooth and "hops" across the screen in all domains.

I have played with the Pulse Audio controls without success. If anyone knows of a fix for either problem, please let me know.

Thanks!

Pmonf

unread,
Jul 20, 2020, 4:29:55 PM7/20/20
to qubes-users
An update: I found this which appeared to describe my problem: https://www.qubes-os.org/doc/intel-igfx-troubleshooting/

I checked /var/log/Xorg.0.log and found  the "reverting to software rendering" line. I then followed the recommended fix for EFI by adding "i915.preliminary_hw_support=1" to the xen.cfg file. I then rebooted but the boot failed. Since the drive was encrypted I could see no way to get back to change xen.cfg back to the original. So I used a live LM 19.2 stick to see if I could access the file from it. It did ask for my encrypt password but would not access the drive. I finally had to re-install the Qubes OS. No loss, except the time involved. But I can still not watch videos.

awokd

unread,
Jul 24, 2020, 3:19:35 PM7/24/20
to Pmonf, qubes-users
Pmonf:
> An update: I found this which appeared to describe my problem:
> https://www.qubes-os.org/doc/intel-igfx-troubleshooting/
>
> I checked /var/log/Xorg.0.log and found the "reverting to software
> rendering" line. I then followed the recommended fix for EFI by adding "
> i915.preliminary_hw_support=1" to the xen.cfg file. I then rebooted but the
> boot failed. Since the drive was encrypted I could see no way to get back
> to change xen.cfg back to the original. So I used a live LM 19.2 stick to
> see if I could access the file from it. It did ask for my encrypt password
> but would not access the drive. I finally had to re-install the Qubes OS.
> No loss, except the time involved. But I can still not watch videos.

Good troubleshooting steps. That i915 is a bit dated though, so I
suspect you have some other Intel video driver related issue. Further
review the Xorg.0.log file prior to the line about software rendering,
and see if you can locate a reason for it being unable to use hardware
acceleration. There may also be clues in dom0's "sudo journalctl -b" log.

PS You should have been able to edit xen.cfg using your method, but
without decrypting. For future reference at least, it's located under
/boot/efi/EFI/qubes.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Pmonf

unread,
Jul 24, 2020, 6:39:09 PM7/24/20
to qubes-users
Thanks for the help. I don't know what I am looking at but here is the whole ball of wax down to the software rendering line: cat Xorg.0.log
[   159.890]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[   159.890] X Protocol Version 11, Revision 0
[   159.890] Build Operating System:  4.9.3-200.fc25.x86_64
[   159.890] Current Operating System: Linux dom0 4.19.128-1.pvops.qubes.x86_64 #1 SMP Sun Jun 28 06:19:18 UTC 2020 x86_64
[   159.890] Kernel command line: root=/dev/mapper/qubes_dom0-root rd.luks.uuid=luks-cc9a361d-df73-48c7-bccb-e6f389932480 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.alpha_support=1 rhgb quiet rd.qubes.hide_all_usb plymouth.ignore-serial-consoles
[   159.890] Build Date: 15 March 2017  06:37:12PM
[   159.890] Build ID: xorg-x11-server 1.19.3-1.fc25
[   159.890] Current version of pixman: 0.34.0
[   159.890]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   159.890] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   159.890] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 24 15:40:39 2020
[   159.891] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   159.891] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   159.893] (==) No Layout section.  Using the first Screen section.
[   159.893] (==) No screen section available. Using defaults.
[   159.893] (**) |-->Screen "Default Screen Section" (0)
[   159.893] (**) |   |-->Monitor "<default monitor>"
[   159.893] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[   159.893] (==) Automatically adding devices
[   159.893] (==) Automatically enabling devices
[   159.893] (==) Automatically adding GPU devices
[   159.894] (==) Automatically binding GPU devices
[   159.894] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   159.894] (==) FontPath set to:
    catalogue:/etc/X11/fontpath.d,
    built-ins
[   159.894] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   159.894] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[   159.894] (II) Loader magic: 0x825e00
[   159.894] (II) Module ABI versions:
[   159.894]     X.Org ANSI C Emulation: 0.4
[   159.894]     X.Org Video Driver: 23.0
[   159.894]     X.Org XInput driver : 24.1
[   159.894]     X.Org Server Extension : 10.0
[   159.895] (++) using VT number 1

[   159.895] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   159.897] (--) PCI:*(0:0:2:0) 8086:9b41:17aa:5079 rev 2, Mem @ 0xb0000000/16777216, 0xa0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[   159.898] (II) LoadModule: "glx"
[   159.898] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   159.911] (II) Module glx: vendor="X.Org Foundation"
[   159.911]     compiled for 1.19.3, module version = 1.0.0
[   159.911]     ABI class: X.Org Server Extension, version 10.0
[   159.911] (==) Matched intel as autoconfigured driver 0
[   159.911] (==) Matched modesetting as autoconfigured driver 1
[   159.911] (==) Matched fbdev as autoconfigured driver 2
[   159.911] (==) Matched vesa as autoconfigured driver 3
[   159.911] (==) Assigned the driver to the xf86ConfigLayout
[   159.911] (II) LoadModule: "intel"
[   159.911] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   159.914] (II) Module intel: vendor="X.Org Foundation"
[   159.914]     compiled for 1.19.3, module version = 2.99.917
[   159.914]     Module class: X.Org Video Driver
[   159.914]     ABI class: X.Org Video Driver, version 23.0
[   159.914] (II) LoadModule: "modesetting"
[   159.914] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   159.915] (II) Module modesetting: vendor="X.Org Foundation"
[   159.915]     compiled for 1.19.3, module version = 1.19.3
[   159.915]     Module class: X.Org Video Driver
[   159.915]     ABI class: X.Org Video Driver, version 23.0
[   159.915] (II) LoadModule: "fbdev"
[   159.915] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[   159.917] (II) Module fbdev: vendor="X.Org Foundation"
[   159.917]     compiled for 1.18.99.901, module version = 0.4.3
[   159.917]     Module class: X.Org Video Driver
[   159.917]     ABI class: X.Org Video Driver, version 23.0
[   159.917] (II) LoadModule: "vesa"
[   159.917] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[   159.917] (II) Module vesa: vendor="X.Org Foundation"
[   159.917]     compiled for 1.18.99.901, module version = 2.3.2
[   159.917]     Module class: X.Org Video Driver
[   159.917]     ABI class: X.Org Video Driver, version 23.0
[   159.917] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   159.918] (II) intel: Driver for Intel(R) HD Graphics
[   159.918] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   159.918] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   159.918] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   159.918] (II) FBDEV: driver for framebuffer: fbdev
[   159.918] (II) VESA: driver for VESA chipsets: vesa
[   162.057] intel: waited 2020 ms for i915.ko driver to load
[   162.060] (EE) open /dev/dri/card0: No such file or directory
[   162.060] (WW) Falling back to old probe method for modesetting
[   162.060] (EE) open /dev/dri/card0: No such file or directory
[   162.060] (II) Loading sub module "fbdevhw"
[   162.060] (II) LoadModule: "fbdevhw"
[   162.060] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[   162.061] (II) Module fbdevhw: vendor="X.Org Foundation"
[   162.061]     compiled for 1.19.3, module version = 0.0.2
[   162.061]     ABI class: X.Org Video Driver, version 23.0
[   162.061] (**) FBDEV(1): claimed PCI slot 0@0:2:0
[   162.061] (II) FBDEV(1): using default device
[   162.061] (WW) Falling back to old probe method for vesa
[   162.061] (EE) Screen 0 deleted because of no matching config section.
[   162.061] (II) UnloadModule: "modesetting"
[   162.061] (II) FBDEV(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[   162.061] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[   162.061] (==) FBDEV(0): RGB weight 888
[   162.061] (==) FBDEV(0): Default visual is TrueColor
[   162.061] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[   162.061] (II) FBDEV(0): hardware: EFI VGA (video memory: 8100kB)
[   162.061] (II) FBDEV(0): checking modes against framebuffer device...
[   162.061] (II) FBDEV(0): checking modes against monitor...
[   162.061] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[   162.061] (**) FBDEV(0):  Built-in mode "current": 207.4 MHz, 85.3 kHz, 77.2 Hz
[   162.061] (II) FBDEV(0): Modeline "current"x0.0  207.38  1920 1952 2192 2432  1080 1084 1088 1104 -hsync -vsync -csync (85.3 kHz b)
[   162.061] (==) FBDEV(0): DPI set to (96, 96)
[   162.061] (II) Loading sub module "fb"
[   162.061] (II) LoadModule: "fb"
[   162.061] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   162.062] (II) Module fb: vendor="X.Org Foundation"
[   162.062]     compiled for 1.19.3, module version = 1.0.0
[   162.062]     ABI class: X.Org ANSI C Emulation, version 0.4
[   162.062] (**) FBDEV(0): using shadow framebuffer
[   162.062] (II) Loading sub module "shadow"
[   162.062] (II) LoadModule: "shadow"
[   162.062] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[   162.063] (II) Module shadow: vendor="X.Org Foundation"
[   162.063]     compiled for 1.19.3, module version = 1.1.0
[   162.063]     ABI class: X.Org ANSI C Emulation, version 0.4
[   162.063] (II) UnloadModule: "vesa"
[   162.063] (II) Unloading vesa
[   162.063] (==) Depth 24 pixmap format is 32 bpp
[   162.063] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[   162.065] (==) FBDEV(0): Backing store enabled
[   162.066] (==) FBDEV(0): DPMS enabled
[   162.066] (==) RandR enabled
[   162.069] (II) SELinux: Disabled on system
[   162.070] (II) AIGLX: Screen 0 is not DRI2 capable
[   162.070] (EE) AIGLX: reverting to software rendering

awokd

unread,
Jul 24, 2020, 10:33:03 PM7/24/20
to qubes...@googlegroups.com
Pmonf:
[ 162.057] intel: waited 2020 ms for i915.ko driver to load
[ 162.060] (EE) open /dev/dri/card0: No such file or directory
[ 162.060] (WW) Falling back to old probe method for modesetting
[ 162.060] (EE) open /dev/dri/card0: No such file or directory

Looks like the problem. Check journalctl for errors.

Pmonf

unread,
Jul 27, 2020, 4:34:28 PM7/27/20
to qubes-users
Thanks for the tip on /boo/efi/EFI/qubes. I will remember that.  I am still reading logs and have not found anything blatantly relevant yet. Still looking!

Rafael Reis

unread,
Jul 29, 2020, 7:57:55 AM7/29/20
to qubes-users
My 2 cents here: on such a new system, you should probably install kernel-latest and also latest vm kernel right away. It is well documented on qubes doc.

Pmonf

unread,
Feb 17, 2021, 9:39:58 PM2/17/21
to qubes-users
Sorry for my absence. I have been lost in Factorio for many months! Not on this laptop however. Anyway I no longer have cursor lag or sound and video problems, but I have no idea why. It must have been an update.  I consider this SOLVED.
Reply all
Reply to author
Forward
0 new messages