Estou usando o Ubuntu 14.04.5 com drivers da Intel Graphics. Com versões do kernel até 3.13.0-142
, tudo funciona bem. Quando eu inicializo no 3.13.0-143
, no entanto, as seguintes coisas acontecem:
Redshift não consegue fazer nada:
Gamma ramp size too small: 0
Failed to start adjustment method randr.
Trying next method...
Using method 'vidmode'.
… e nenhuma alteração acontece no visor. O Xflux também não tem nenhum efeito.
sudo lshw -c video
parece mostrar claramente que o driver normal não está sendo usado quando eu inicializo no kernel mais recente. Aqui estão as saídas para as versões 142
e 143
:
3.13.0-142 ↓
*-display
description: VGA compatible controller
product: Haswell-ULT Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0b
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:62 memory:f6c00000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64)
3.13.0-143 ↓
*-display UNCLAIMED
description: VGA compatible controller
product: Haswell-ULT Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0b
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:f6c00000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64)
(A parte “UNCLAIMED” e a ausência de “driver = i915” são particularmente preocupantes.)
Além disso, durante a inicialização (sob a versão defeituosa), notei isso:
[ 13.802629] drm: version magic '3.13.0-143-generic SMP mod_unload modversions ' should be '3.13.0-143-generic SMP mod_unload modversions retpoline '
[ 13.862854] input: Dell WMI hotkeys as /devices/virtual/input/input8
[ 13.893180] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[ 13.948828] snd_hda_intel 0000:00:1b.0: irq 62 for MSI/MSI-X
[ 14.010001] drm: version magic '3.13.0-143-generic SMP mod_unload modversions ' should be '3.13.0-143-generic SMP mod_unload modversions retpoline '
[ 14.011629] hda-i915: get_power symbol get fail
[ 14.011631] hda-intel Error request power-well from i915
enquanto em 142
, é mais como:
$ zgrep i915 /var/log/dmesg.1.gz
[ 13.764493] i915 0000:00:02.0: irq 62 for MSI/MSI-X
[ 14.911889] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 14.911891] i915 0000:00:02.0: registered panic notifier
[ 15.124065] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 15.180576] HDA driver get symbol successfully from i915 module
Eu também dei uma olhada nos logs do Xorg, e notei muito mais erros durante as inicializações do kernel defeituoso. Em particular, as seguintes linhas só podem ser encontradas para 143
:
[ 19.291] (EE) open /dev/dri/card0: No such file or directory
[ 19.291] (EE) open /dev/dri/card0: No such file or directory
[ 19.291] (EE) Screen 0 deleted because of no matching config section.
[ 19.342] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[ 19.348] (EE) AIGLX: reverting to software rendering
[ 19.925] (EE) FBDEV(0): FBIOBLANK: Invalid argument
Então, bem, se você tiver alguma coisa não muito arriscada ou exagerada para sugerir, terei prazer em tentar. Você acha que é algo que será resolvido por atualizações futuras? Pode estar relacionado com isto .
Detalhes apenas no caso:
$ uname
3.13.0-143-generic #192-Ubuntu SMP Tue Feb 27 10:45:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Lançamento: Ubuntu 14.04.5 LTS (instalado como Xubuntu)
Computador: Laptop Dell Latitude E5540
Aqui está a saída do modinfo:
$ modinfo i915
filename: /lib/modules/3.13.0-143-generic/updates/dkms/i915.ko
license: GPL and additional rights
description: Intel Graphics
author: Tungsten Graphics, Inc.
srcversion: 5E23E4034358B57C037D509
alias: pci:v00008086d000022B3sv*sd*bc03sc*i*
... [Boatloads of lines like this] ...
alias: pci:v00008086d00003577sv*sd*bc03sc*i*
depends: drm_kms_helper,drm,video,i2c-algo-bit
vermagic: 3.13.0-143-generic SMP mod_unload modversions
parm: modeset:Use kernel modesetting [KMS] (0=DRM_I915_KMS from .config, 1=on, -1=force vga console preference [default]) (int)
parm: panel_ignore_lid:Override lid status (0=autodetect, 1=autodetect disabled [default], -1=force lid closed, -2=force lid open) (int)
parm: powersave:Enable powersavings, fbc, downclocking, etc. (default: true) (int)
parm: semaphores:Use semaphores for inter-ring sync (default: -1 (use per-chip defaults)) (int)
parm: enable_rc6:Enable power-saving render C-state 6. Different stages can be selected via bitmask values (0 = disable; 1 = enable rc6; 2 = enable deep rc6; 4 = enable deepest rc6). For example, 3 would enable rc6 and deep rc6, and 7 would enable everything. default: -1 (use per-chip default) (int)
parm: enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
parm: lvds_downclock:Use panel (LVDS/eDP) downclocking for power savings (default: false) (int)
parm: lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
parm: lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm: vbt_sdvo_panel_type:Override/Ignore selection of SDVO panel mode in the VBT (-2=ignore, -1=auto [default], index in VBT BIOS table) (int)
parm: reset:Attempt GPU resets (default: true) (bool)
parm: enable_hangcheck:Periodically check GPU activity for detecting hangs. WARNING: Disabling this can cause system wide hangs. (default: true) (bool)
parm: enable_ppgtt:Override PPGTT usage. (-1=auto [default], 0=disabled, 1=aliasing, 2=full) (int)
parm: enable_psr:Enable PSR (default: false) (int)
parm: preliminary_hw_support:Enable preliminary hardware support. (int)
parm: disable_power_well:Disable the power well when possible (default: true) (int)
parm: enable_ips:Enable IPS (default: true) (int)
parm: fastboot:Try to skip unnecessary mode sets at boot time (default: false) (bool)
parm: prefault_disable:Disable page prefaulting for pread/pwrite/reloc (default:false). For developers only. (bool)
parm: invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to [email protected], if your machine needs it. It will then be included in an upcoming module version. (int)
parm: disable_display:Disable display (default: false) (bool)
parm: disable_vtd_wa:Disable all VT-d workarounds (default: false) (bool)
parm: enable_cmd_parser:Enable command parsing (1=enabled [default], 0=disabled) (int)
Obrigado.