LinuxForum.Fans
Тема

lenovo b560 и kubuntu 10.10

Автор: mak1s 9 сообщений 3705 просмотров
#138783

Приветствую всех!
Купил ноут, поставил linux. wifi, тачпад заработали сами; wimax, камерой, микрофоном пока не занимался.

До обновления не определился звук (смотрел по мануалу:

Настройка Intel HDA
дописывал конфиг как сказано здесь

После апгрейда ядра отвалилась видюха, но звуковая стала определяться. Вот выводы комманд

lspci

text
 
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
[b] 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) [/b]
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
[b]00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05) [/b]
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
03:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit Ethernet (rev c0)
04:00.0 Network controller: Intel Corporation WiMAX/WiFi Link 5150
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
  

xorg.conf

text
 
Section "Device"
    Identifier    "Configured Video Device"
    Driver        "vesa"
EndSection

Section "Monitor" Identifier "Configured Monitor" EndSection

Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection

Xorg log

text
 
[   561.494] 
X.Org X Server 1.9.0
Release Date: 2010-08-20
[   561.495] X Protocol Version 11, Revision 0
[   561.495] Build Operating System: Linux 2.6.24-28-server i686 Ubuntu
[   561.495] Current Operating System: Linux mak1 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011 i686
[b] [   561.495] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.35-27-generic root=UUID=8a96e488-f0c4-43e9-8844-0ebac142a408 ro quiet splash i915.modeset=1 [/b]
[   561.495] Build Date: 09 January 2011  12:14:58PM
[   561.495] xorg-server 2:1.9.0-0ubuntu7.3 (For technical support please see http://www.ubuntu.com/support) 
[   561.495] Current version of pixman: 0.18.4
[   561.495]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   561.495] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   561.495] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 10 22:54:44 2011
[   561.495] (==) Using config file: "/etc/X11/xorg.conf"
[   561.495] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   561.496] (==) No Layout section.  Using the first Screen section.
[   561.496] (**) |-->Screen "Default Screen" (0)
[   561.496] (**) |   |-->Monitor "Configured Monitor"
[   561.496] (**) |   |-->Device "Configured Video Device"
[   561.496] (==) Automatically adding devices
[   561.496] (==) Automatically enabling devices
[   561.497] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   561.497]     Entry deleted from font path.
[   561.497] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
    built-ins
[   561.497] (==) ModulePath set to "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[   561.497] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[   561.497] (II) Loader magic: 0x81f9b00
[   561.497] (II) Module ABI versions:
[   561.497]     X.Org ANSI C Emulation: 0.4
[   561.497]     X.Org Video Driver: 8.0
[   561.497]     X.Org XInput driver : 11.0
[   561.497]     X.Org Server Extension : 4.0
[   561.499] (--) PCI:*(0:0:2:0) 8086:0046:17aa:3920 rev 2, Mem @ 0xf2000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
[   561.499] (II) Open ACPI successful (/var/run/acpid.socket)
[   561.499] (II) LoadModule: "extmod"
[   561.499] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   561.500] (II) Module extmod: vendor="X.Org Foundation"
[   561.500]     compiled for 1.9.0, module version = 1.0.0
[   561.500]     Module class: X.Org Server Extension
[   561.500]     ABI class: X.Org Server Extension, version 4.0
[   561.500] (II) Loading extension MIT-SCREEN-SAVER
[   561.500] (II) Loading extension XFree86-VidModeExtension
[   561.500] (II) Loading extension XFree86-DGA
[   561.500] (II) Loading extension DPMS
[   561.500] (II) Loading extension XVideo
[   561.500] (II) Loading extension XVideo-MotionCompensation
[   561.500] (II) Loading extension X-Resource
[   561.500] (II) LoadModule: "dbe"
[   561.500] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   561.500] (II) Module dbe: vendor="X.Org Foundation"
[   561.500]     compiled for 1.9.0, module version = 1.0.0
[   561.500]     Module class: X.Org Server Extension
[   561.500]     ABI class: X.Org Server Extension, version 4.0
[   561.500] (II) Loading extension DOUBLE-BUFFER
[   561.500] (II) LoadModule: "glx"
[   561.501] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   561.501] (II) Module glx: vendor="X.Org Foundation"
[   561.501]     compiled for 1.9.0, module version = 1.0.0
[   561.501]     ABI class: X.Org Server Extension, version 4.0
[   561.501] (==) AIGLX enabled
[   561.501] (II) Loading extension GLX
[   561.501] (II) LoadModule: "record"
[   561.501] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   561.502] (II) Module record: vendor="X.Org Foundation"
[   561.502]     compiled for 1.9.0, module version = 1.13.0
[   561.502]     Module class: X.Org Server Extension
[   561.502]     ABI class: X.Org Server Extension, version 4.0
[   561.502] (II) Loading extension RECORD
[   561.502] (II) LoadModule: "dri"
[   561.502] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   561.502] (II) Module dri: vendor="X.Org Foundation"
[   561.502]     compiled for 1.9.0, module version = 1.0.0
[   561.502]     ABI class: X.Org Server Extension, version 4.0
[   561.502] (II) Loading extension XFree86-DRI
[   561.502] (II) LoadModule: "dri2"
[   561.503] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   561.503] (II) Module dri2: vendor="X.Org Foundation"
[   561.503]     compiled for 1.9.0, module version = 1.2.0
[   561.503]     ABI class: X.Org Server Extension, version 4.0
[   561.503] (II) Loading extension DRI2
[   561.503] (II) LoadModule: "vesa"
[   561.504] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   561.504] (II) Module vesa: vendor="X.Org Foundation"
[   561.504]     compiled for 1.8.99.905, module version = 2.3.0
[   561.504]     Module class: X.Org Video Driver
[   561.504]     ABI class: X.Org Video Driver, version 8.0
[   561.504] (II) VESA: driver for VESA chipsets: vesa
[   561.504] (++) using VT number 7

[ 561.513] (EE) VESA: Kernel modesetting driver in use, refusing to load [ 561.513] (WW) Falling back to old probe method for vesa [ 561.513] (EE) No devices detected. [ 561.513] Fatal server error: [ 561.513] no screens found [ 561.513] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 561.513] Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 561.513]

Кто в курсе прошу помочь настроить видео и звук.
ЗЫ: Характеристики ноута

Решение: добавить i915.modeset=0 к GRUB_CMDLINE_LINUX_DEFAULT в /etc/default/grub
Спасибо всем...

#139133
Wolfenberg написал:
mak1s, насколько я помню, Lenovo под Open Suse и Fedora (RHEL) затачиваются производителем изначально oO

Сказки-сказочки, ага.

#139151

papin-aziat, на драйвера для интеловского видео взгляни wink
Там ясно прописано: Linux*: Red Hat, Fedora, Open Suse, Red Flag. Какие сказки? smile

#139251

Я ничего не скачивал. Опции для видео я написал, для звука:

sudo nano /etc/modprobe.d/sound

text

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=lenovo-101e

Ещё по теме видео:
В win7 контра идет, а здесь тормозит.
Директ риндеринг есть:

text

glxinfo | grep rendering
direct rendering: Yes

В оконном режиме glxrears выдает

text

glxgears 
2062 frames in 5.0 seconds = 412.278 FPS
1988 frames in 5.0 seconds = 397.536 FPS
2089 frames in 5.0 seconds = 417.691 FPS
2146 frames in 5.0 seconds = 429.173 FPS
2264 frames in 5.0 seconds = 452.685 FPS

На полный экран

text

222 frames in 5.0 seconds = 44.285 FPS
223 frames in 5.0 seconds = 44.556 FPS

Такие показатели норма, или можно ускорить?

Камера заработала сама, даже париться не пришлось.

ЗЫ: да, у интела на сайте есть раздел с драйверами для линукс. Но по-моему они их давно не поддерживают (поправьте меня ссылкой на загрузку драйвера, если я не прав).

По настройке wimax смотрим сюда.

#139322
Wolfenberg написал:
papin-aziat, на драйвера для интеловского видео взгляни wink
Там ясно прописано: Linux*: Red Hat, Fedora, Open Suse, Red Flag. Какие сказки? smile

И где здесь Lenovo который затачивается под федору и сусю?

#139324

papin-aziat, хорошо. Замените видео (если сумеете) и ставьте свою ОСь wink
Во всяком случае, я Lenovo только с сусей на борту видел. С Ubuntu у нас в магазинах только Samsung стоят.

#139354
Wolfenberg написал:

Во всяком случае, я Lenovo только с сусей на борту видел. С Ubuntu у нас в магазинах только Samsung стоят.

Ну вы же понимаете что эти ОС ставят в целях демонстрации работоспособности оборудования как и FreeDOS например, ради экономии. Навскидку, даже если забить на неработающие хоткеи, то с ACPI-то что делать? Ну кому нужна ОС которая, кроме всего прочего, жрет батарею в два раза быстрее? Про Lenovo вообще молчу, Active Protection System драйвер реализован на уровне ОС, угадайте с трех раз какой?!
Я лишь хочу сказать, *nix для дома-для-семьи это всеж развлечение-увлечение, а не работающая тема, как то так.

#139594

Починил:
1. Открываем sudo nano /boot/grub/grub.cfg. В параметр ядра (vmlinuz далее по тексту) дописываем i915.modeset=1
2. конфиг xorg.conf

text

Section "Monitor"                                                                                                                     
        Identifier      "Configured Monitor"
EndSection

Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection

Section "ServerFlags" Option "AIGLX" "True" EndSection

Section "Device" Option "AccelMethod" "UXA" Option "Tiling" "true" Option "DRI" "true" Option "DRI2" "true" Option "XvMC" "true" Identifier "Card0" Driver "intel" EndSection

Section "Extensions" Option "Composite" "Enable" Option "RENDER" "Enable" EndSection

Section "DRI" Mode 0666 EndSection

Итого имеем:

text

glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile GEM 20100330 DEVELOPMENT x86/MMX/SSE2

В основе Вот эта статья

ЗЫ: уровень FPS всё равно низкий/одинаковый и в оконном, и в полноэкранном режиме (около 60), но с этими настройками можно играть.

Войдите или зарегистрируйтесь, чтобы ответить.