Trisquel lags when playing videos and video games, sometimes freezes

27 respuestas [Último envío]
spyfall
Desconectado/a
se unió: 09/05/2013

Recently Trisquel starts lagging when I play videos and video games. Sometimes Trisquel freezes completely. When Trisquel freezes, the video pauses but the audio loops over and over again. I have to manually restart the computer whenever this happens.

How can I fix this problem? Do I need to change my video card or other hardware? Do I need to upgrade anything?

quiliro@congresolibre.org
Desconectado/a
se unió: 10/28/2010

El 27/12/13 23:45, name at domain escribió:
> Recently Trisquel starts lagging when I play videos and video games.
> Sometimes Trisquel freezes completely. When Trisquel freezes, the
> video pauses but the audio loops over and over again. I have to
> manually restart the computer whenever this happens.

lspci | grep VGA

>
> How can I fix this problem? Do I need to change my video card or other
> hardware? Do I need to upgrade anything?
>

Have you updated you installation?

lsb_release -a
uname -a

spyfall
Desconectado/a
se unió: 09/05/2013

lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]

lsb_release -a
No LSB modules are available.
Distributor ID: Trisquel
Description: Trisquel 6.0
Release: 6.0
Codename: toutatis

uname -a
Linux user-Satellite-L645 3.2.0-56-generic #0trisquel1 SMP Sun Nov 10 13:34:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Linux-libre's radeon driver is far from being complete. In particular, there is no 3D acceleration. Do you have an AMD CPU too? If it is Intel, you had better remove the video card and use Intel's integrated graphical chipset: better support and performances; less memory consumption!

ivaylo
Desconectado/a
se unió: 07/26/2010

В 16:06 +0100 на 28.12.2013 (сб), name at domain написа:
> Linux-libre's radeon driver is far from being complete. In particular, there
> is no 3D acceleration.

In addition, your hardware might not be able to reproduce
high-definition videos and games at high resolution. My laptop has Intel
GPU and 3d support, but still it is not able to playback above 720x
videos. My last desktop computer had an AMD video card without 3D
acceleration and also unable to reproduce clips above 720x.

spyfall
Desconectado/a
se unió: 09/05/2013

Normally my computer can run 720p and 1080p videos quite well. I have never had this problem with Trisquel before. The symptoms have appeared only recently. Do you think this problem is caused by old hardware?

ivaylo
Desconectado/a
se unió: 07/26/2010

В 17:07 +0100 на 29.12.2013 (нд), [nospam] написа:
> Normally my computer can run 720p and 1080p videos smoothly. I have never had
> this problem with Trisquel before. The symptoms have appeared only recently.

Test another player? For example mplayer, vlc, totem, xine. Are those
videos local or accessed over a network? Slow network connection can
cause the problem you describe.

> My computer has an Intel CPU.

The assumption is that you have Intel GPU as well which should have
free software 3D support.

> Do you think this problem is caused by old hardware?

Shouldn't be if you were able to reproduce 720p and 1080p.

spyfall
Desconectado/a
se unió: 09/05/2013

The videos are local.

The computer freezes sometimes when I use Totem and SMplayer. I haven't tested other players though.

Dave_Hunt

I am a member!

Desconectado/a
se unió: 09/19/2011

I find vlc player most suitable for video playback.

lembas
Desconectado/a
se unió: 05/13/2010

>The symptoms have appeared only recently.
Check the updates you've lately installed, especially look for kernel (linux-image) and xserver related.

You can find the logs in /var/log/dpkg.something

spyfall
Desconectado/a
se unió: 09/05/2013

The software that I've installed recently, as far as I can remember, are i2p and VirtualBox. I don't think they have anything to do with this problem.

I read /var/log/dpkg.log. I found this line, but I don't think it's relevant to the problem.

2013-12-01 13:47:41 status installed linux-generic 3.2.0.56.66+6.0trisquel2

I didn't find anything related to 'xserver' or 'linux-image'.

lembas
Desconectado/a
se unió: 05/13/2010

That's a new kernel and could be related. You could try the new Linux-libre kernels from e.g. http://jxself.org/linux-libre/

uname -r will show you what kernel you're running now. Holding shift at boot should show you the grub menu where you can select which kernel you want to boot. I believe the latest is the default. (or perhaps whichever latest installed)

ps. virtualbox is going away in Trisquel 7 so you might want to look at the alternatives.

spyfall
Desconectado/a
se unió: 09/05/2013

uname -r
3.2.0-57-generic

spyfall
Desconectado/a
se unió: 09/05/2013

My computer has an Intel CPU.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

When that happens, try Ctrl+Alt+F1. If that switches to a terminal session (where you can log in), then the kernel is not panicking. From the terminal session you can kill the problematic processes or even the whole graphical session with 'sudo service gdm restart'.

To fix the actual problem, you should first understand it: read the logs (in /var/log) of what happened just before a crash.

It may also be a hardware issue: I would check the RAM with memtest86+ (in Trisquel's repository and to run from GRUB's menu).

Darksoul71
Desconectado/a
se unió: 01/04/2012

I suspect you do not have 3D acceleration.

Could you post the output of
glxinfo | grep OpenGL

spyfall
Desconectado/a
se unió: 09/05/2013

glxinfo | grep OpenGL
bash: glxinfo: command not found

ivaylo
Desconectado/a
se unió: 07/26/2010

В 17:08 +0100 на 29.12.2013 (нд), [nospam] написа:
> glxinfo | grep OpenGL
> bash: glxinfo: command not found

The glxinfo command is provided by the mesa-utils package.

spyfall
Desconectado/a
se unió: 09/05/2013

glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x300)
OpenGL version string: 2.1 Mesa 8.0.4
OpenGL shading language version string: 1.20
OpenGL extensions:

Darksoul71
Desconectado/a
se unió: 01/04/2012

You are currently running the Mesa Software Renderer for 3D which makes playing games with 3D (like Tux Racer, Open Arena, etc) very slow.

I can not comment on your desktop experience but for 3D you will most likely not be able to play any 3D games on Trisquel. Pure software based renderer and video playback on the other hand rely on good acceleration extensions of your x-Server.

If you are running pure Vesa things turn out to be slow. You can check your Xorg.0.log to find out which Xserver you are running.

Running a desktop on pure Vesa really sucks. I had the same experience with the Atom-based PC I build for my daughter which had the cumbersome PowerVR-based GPU integrated. Even very small resolution videos could not play back without visual corruption :(

ivaylo
Desconectado/a
se unió: 07/26/2010

В 12:45 +0100 на 30.12.2013 (пн), name at domain написа:
> You are currently running the Mesa Software Renderer for 3D

Also the vendor string (VMWare Inc.) suggests that this is a virtual
machine, which means that your video card is emulated in
software. Running in a virtual machine will explain why you are having
problems. Probably there are not enough resources (RAM, CPU) to
emulate the virtual machine and playback the video at the same time.

VMWare is not free software. The free software vitalization programs
VirtualBox and Qemu are really good and you can use them
instead. VirtualBox has the ability to provide 3d acceleration to the
guest OS, but I've never used it. I think you can even run VMWare
images inside VirtualBox and Qemu.

Michał Masłowski

I am a member!

I am a translator!

Desconectado/a
se unió: 05/15/2010
ivaylo
Desconectado/a
se unió: 07/26/2010

В 13:16 +0100 на 30.12.2013 (пн), Michał Masłowski написа:

> Running "LIBGL_ALWAYS_SOFTWARE=t glxinfo | grep OpenGL" should output
> the same vendor string on real hardware.

Good to know. Thanks!

Darksoul71
Desconectado/a
se unió: 01/04/2012

The vendor string itself does not indicate that he is running a VM and his video card is emulated but that lvmpipe (= the software OpenGL implementation of Mesa) is running.

See here:
http://www.mesa3d.org/llvmpipe.html

I do not remember the exact details but AFAIK VMWare provided some code to the Mesa project as part of the guest 3D extension for Linux VMs.

spyfall
Desconectado/a
se unió: 09/05/2013

I am not running Trisquel on a virtual machine.

ivaylo
Desconectado/a
se unió: 07/26/2010

В 17:01 +0100 на 30.12.2013 (пн), [nospam] написа:
> I am not running Trisquel on a virtual machine.

Sorry, my mistake. The VMWare vendor string fooled me. As others have
pointed out, that string does not (necessary) mean an emulated card as
I expected.

Darksoul71
Desconectado/a
se unió: 01/04/2012

@spyfall: It might be useful if you post your system specs in order to nail the your source of problem.

For lacking 3D support the issue is simple: All ATI/AMD based cards rely on non-free ucode / BIOS files to enable 3D via radeon driver. This is not supported by Trisquel.

spyfall
Desconectado/a
se unió: 09/05/2013

lshw

user-satellite-l645
description: Notebook
product: Satellite L645 (PSK0NL-00H001)
vendor: TOSHIBA
version: PSK0NL-00H001
serial: 7A224986W
width: 64 bits
capabilities: smbios-2.6 dmi-2.6 vsyscall32
configuration: boot=normal chassis=notebook family=Intel_Mobile sku=PSK0NL-00H001 uuid=E040D3B7-8B96-DF11-9A52-60EB6900DA97
*-core
description: Motherboard
product: Base Board Product Name
vendor: Intel Corp.
physical id: 0
version: Base Board Version
serial: Base Board Serial Number
slot: Base Board Chassis Location
*-firmware
description: BIOS
vendor: INSYDE
physical id: 0
version: 1.50
date: 07/06/2010
size: 1MiB
capacity: 1472KiB
capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification
*-memory
description: System Memory
physical id: 19
slot: System board or motherboard
size: 4GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1067 MHz (0.9 ns)
product: M471B5673FH0-CF8
physical id: 0
serial: 843D5507
slot: DIMM0
size: 2GiB
width: 64 bits
clock: 1067MHz (0.9ns)
*-bank:1
description: DIMM DDR3 Synchronous 1067 MHz (0.9 ns) [empty]
physical id: 1
serial: 00000000
slot: DIMM1
width: 8 bits
clock: 1067MHz (0.9ns)
*-bank:2
description: SODIMM DDR3 Synchronous 1067 MHz (0.9 ns)
product: 9905428-026.A01LF
physical id: 2
serial: 672ED38A
slot: DIMM1
size: 2GiB
width: 64 bits
clock: 1067MHz (0.9ns)
*-bank:3
description: DIMM DDR3 Synchronous 1067 MHz (0.9 ns) [empty]
physical id: 3
serial: 00000000
slot: DIMM3
width: 8 bits
clock: 1067MHz (0.9ns)
*-cpu
description: CPU
product: Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz
vendor: Intel Corp.
physical id: 2b
bus info: cpu@0
version: Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz
slot: CPU
size: 933MHz
capacity: 2266MHz
width: 64 bits
clock: 1066MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dtherm tpr_shadow vnmi flexpriority ept vpid cpufreq
configuration: cores=2 enabledcores=2 threads=4
*-cache:0
description: L3 cache
physical id: 2c
slot: L3 Cache
size: 3MiB
capacity: 3MiB
capabilities: synchronous internal write-through unified
*-cache:1
description: L2 cache
physical id: 2e
slot: L2 Cache
size: 256KiB
capacity: 256KiB
capabilities: synchronous internal write-through unified
*-cache:2
description: L1 cache
physical id: 2f
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: synchronous internal write-through instruction
*-cache
description: L1 cache
physical id: 2d
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: synchronous internal write-through data
*-pci:0
description: Host bridge
product: Core Processor DRAM Controller
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 02
width: 32 bits
clock: 33MHz
*-pci:0
description: PCI bridge
product: Core Processor PCI Express x16 Root Port
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 ioport:5000(size=4096) memory:d6000000-d60fffff ioport:c0000000(size=268435456)
*-display
description: VGA compatible controller
product: RV710/M92 [Mobility Radeon HD 4530/4570/545v]
vendor: Hynix Semiconductor (Hyundai Electronics)
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:16 memory:c0000000-cfffffff ioport:5000(size=256) memory:d6000000-d600ffff memory:d6020000-d603ffff
*-multimedia
description: Audio device
product: RV710/730 HDMI Audio [Radeon HD 4000 series]
vendor: Hynix Semiconductor (Hyundai Electronics)
physical id: 0.1
bus info: pci@0000:01:00.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:44 memory:d6010000-d6013fff
*-communication
description: Communication controller
product: 5 Series/3400 Series Chipset HECI Controller
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei latency=0
resources: irq:42 memory:d6106100-d610610f
*-usb:0
description: USB controller
product: 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0
resources: irq:16 memory:d6105c00-d6105fff
*-multimedia
description: Audio device
product: 5 Series/3400 Series Chipset High Definition Audio
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:43 memory:d6100000-d6103fff
*-pci:1
description: PCI bridge
product: 5 Series/3400 Series Chipset PCI Express Root Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:17 ioport:4000(size=4096) memory:d5000000-d5ffffff ioport:d0000000(size=16777216)
*-pci:2
description: PCI bridge
product: 5 Series/3400 Series Chipset PCI Express Root Port 5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: 05
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:17 ioport:3000(size=4096) memory:d4000000-d4ffffff ioport:d1000000(size=16777216)
*-network
description: Network controller
product: BCM4313 802.11bgn Wireless Network Adapter
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=bcma-pci-bridge latency=0
resources: irq:16 memory:d4000000-d4003fff
*-pci:3
description: PCI bridge
product: 5 Series/3400 Series Chipset PCI Express Root Port 6
vendor: Intel Corporation
physical id: 1c.5
bus info: pci@0000:00:1c.5
version: 05
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:16 ioport:2000(size=4096) memory:d3000000-d3ffffff ioport:d2000000(size=16777216)
*-network
description: Ethernet interface
product: AR8152 v1.1 Fast Ethernet
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: c1
serial: 60:eb:69:00:da:97
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.0-NAPI duplex=full firmware=N/A ip=192.168.1.2 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:45 memory:d3000000-d303ffff ioport:2000(size=128)
*-usb:1
description: USB controller
product: 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0
resources: irq:23 memory:d6105800-d6105bff
*-pci:4
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: a5
width: 32 bits
clock: 33MHz
capabilities: pci subtractive_decode bus_master cap_list
*-isa
description: ISA bridge
product: Mobile 5 Series Chipset LPC Interface Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: latency=0
*-storage
description: SATA controller
product: 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi0
logical name: scsi1
version: 05
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list emulated
configuration: driver=ahci latency=0
resources: irq:41 ioport:6048(size=8) ioport:6054(size=4) ioport:6040(size=8) ioport:6050(size=4) ioport:6020(size=32) memory:d6105000-d61057ff
*-disk
description: ATA Disk
product: Hitachi HTS54505
vendor: Hitachi
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: PB4O
serial: 100530PBN40017DJ03XE
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=f0ea410e
*-volume:0
description: Extended partition
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
size: 109GiB
capacity: 109GiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume:0
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 4767MiB
capabilities: nofs
*-logicalvolume:1
description: Linux filesystem partition
physical id: 6
logical name: /dev/sda6
logical name: /home
capacity: 55GiB
configuration: mount.fstype=ext4 mount.options=rw,relatime,user_xattr,barrier=1,data=ordered state=mounted
*-logicalvolume:2
description: Linux filesystem partition
physical id: 7
logical name: /dev/sda7
logical name: /
capacity: 49GiB
configuration: mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered state=mounted
*-volume:1
description: HPFS/NTFS partition
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
capacity: 355GiB
capabilities: primary
*-cdrom
description: DVD-RAM writer
product: DVD-RAM UJ890AS
vendor: MATSHITA
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: 1.40
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
*-serial UNCLAIMED
description: SMBus
product: 5 Series/3400 Series Chipset SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 05
width: 64 bits
clock: 33MHz
configuration: latency=0
resources: memory:d6106000-d61060ff ioport:6000(size=32)
*-pci:1
description: Host bridge
product: Core Processor QuickPath Architecture Generic Non-core Registers
vendor: Intel Corporation
physical id: 101
bus info: pci@0000:ff:00.0
version: 02
width: 32 bits
clock: 33MHz
*-pci:2
description: Host bridge
product: Core Processor QuickPath Architecture System Address Decoder
vendor: Intel Corporation
physical id: 102
bus info: pci@0000:ff:00.1
version: 02
width: 32 bits
clock: 33MHz
*-pci:3
description: Host bridge
product: Core Processor QPI Link 0
vendor: Intel Corporation
physical id: 103
bus info: pci@0000:ff:02.0
version: 02
width: 32 bits
clock: 33MHz
*-pci:4
description: Host bridge
product: Core Processor QPI Physical 0
vendor: Intel Corporation
physical id: 104
bus info: pci@0000:ff:02.1
version: 02
width: 32 bits
clock: 33MHz
*-pci:5
description: Host bridge
product: Core Processor Reserved
vendor: Intel Corporation
physical id: 105
bus info: pci@0000:ff:02.2
version: 02
width: 32 bits
clock: 33MHz
*-pci:6
description: Host bridge
product: Core Processor Reserved
vendor: Intel Corporation
physical id: 106
bus info: pci@0000:ff:02.3
version: 02
width: 32 bits
clock: 33MHz
*-power UNCLAIMED
description: OEM_Define1
product: OEM_Define5
vendor: OEM_Define2
physical id: 1
version: OEM_Define6
serial: OEM_Define3
capacity: 75mWh
*-battery
description: Lithium Ion Battery
product: CRB Battery 0
vendor: -Virtual Battery 0-
physical id: 2
version: 10/12/2007
serial: Battery 0
slot: Fake