Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: The_ERROR 01 Ledna 2012, 15:33:00
-
Ahoj,
uz mi dosly vsechny napady a google vraci nerelevantni nebo nefungujici odkazy, tak to zkusim jeste touhle cestou, jestli nekdo nebudete vedet.
Zelezo:
Latitude E6510
Processors Intel® Core™ i5-560M (2.66GHz, 3M cache) with Turbo Boost Technology
Graphics Intel® HD Graphics
Processor Branding Intel Core i5 Vpro Label
Distro:
Jedna se o Ubuntu 10.04.3 LTS, s backportnutym kernelem 2.6.38-13-generic, kterym jsem resil nefungujici zvuk. Asi by bylo dobre doplnit, ze nemuzu prejit na nove ubuntu, protoze potrebuju zustat na LTS. :(
lspci -k|grep -A3 VGA
00:02.0 VGA compatible controller: Intel Corporation Device 0126 (rev 09)
Kernel driver in use: i915
Kernel modules: i915
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
glxinfo | grep direct
direct rendering: No (LIBGL_ALWAYS_INDIRECT set)
/etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
Load "record"
Load "dri2"
Load "dri"
Load "dbe"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Zvlastnost pri generovani xorg.conf.new:
X :1 -configure
X.Org X Server 1.9.0
Release Date: 2010-08-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
Current Operating System: Linux ul000632 2.6.38-13-generic #53~lucid1-Ubuntu SMP Tue Nov 29 12:52:46 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.38-13-generic root=/dev/mapper/system-root ro splash quiet acpi_backlight=vendor acpi_osi=Linux reboot=pci
Build Date: 20 October 2011 03:12:38PM
xorg-server 2:1.9.0-0ubuntu7.6 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.21.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sun Jan 1 15:24:17 2012
List of video drivers:
tdfx
neomagic
glint
mga
trident
vboxvideo
i740
r128
intel
s3virge
voodoo
vmwlegacy
chips
nouveau
mach64
savage
s3
displaylink
sis
rendition
siliconmotion
vmware
openchrome
ark
ati
radeon
apm
i128
cirrus
sisusb
nv
tseng
fbdev
vesa
(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) intel(0): No kernel modesetting driver detected.
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
Your xorg.conf file is /root/xorg.conf.new
To test the server, run 'X -config /root/xorg.conf.new'
ddxSigGiveUp: Closing log
cat /var/log/Xorg.0.log
http://pastebin.com/zhCiWRLv
dpkg -l | egrep "xserver*|intel|glx"
ii intel-gpu-tools 1.0.2+git20110124+afaf5ef-0ubuntu1~lucid tools for debugging the Intel graphics drive
ii libdrm-intel1 2.4.23+git20110119.550fe2ca-0ubuntu0sarvatt~lucid Userspace interface to intel-specific kernel
ii libgl1-mesa-glx 7.11.0+git20110219.91ea6039-0ubuntu0ricotz~lucid A free implementation of the OpenGL API -- G
ii libglitz-glx1 0.5.6-1build1 Glitz OpenGL library GLX backend
ii libxcb-glx0 1.6+git20100703.75ff427d-0ubuntu0sarvatt2~lucid X C Binding, glx extension
ii whois 5.0.0ubuntu3 an intelligent whois client
ii x11-xserver-utils 7.5+2ubuntu0sarvatt~lucid X server utilities
ii xserver-common 2:1.9.0-0ubuntu7.6 common files used by various X servers
ii xserver-xorg 1:7.5+6ubuntu3 the X.Org X server
ii xserver-xorg-core 2:1.9.0-0ubuntu7.6 Xorg X server - core server
ii xserver-xorg-input-all 1:7.5+6ubuntu3 the X.Org X server -- input driver metapacka
ii xserver-xorg-input-evdev 1:2.3.2-6ubuntu3.1 X.Org X server -- evdev input driver
ii xserver-xorg-input-mouse 1:1.5.0-2build1 X.Org X server -- mouse input driver
ii xserver-xorg-input-synaptics 1.2.2-2ubuntu5 Synaptics TouchPad driver for X.Org server
ii xserver-xorg-input-vmmouse 1:12.6.9-2build1 X.Org X server -- VMMouse input driver to us
ii xserver-xorg-input-wacom 1:0.10.8-0ubuntu1.1 X.Org X server -- Wacom input driver
ii xserver-xorg-video-apm 1:1.2.3-0ubuntu1 X.Org X server -- APM display driver
ii xserver-xorg-video-ark 1:0.7.2-2build2 X.Org X server -- ark display driver
ii xserver-xorg-video-ati 1:6.13.1-1ubuntu5 X.Org X server -- AMD/ATI display driver wra
ii xserver-xorg-video-chips 1:1.2.3-1 X.Org X server -- Chips display driver
ii xserver-xorg-video-cirrus 1:1.3.2-2ubuntu3 X.Org X server -- Cirrus display driver
ii xserver-xorg-video-displaylink 0.3-0ubuntu6 X driver for DisplayLink devices
ii xserver-xorg-video-fbdev 1:0.4.2-2ubuntu2 X.Org X server -- fbdev display driver
ii xserver-xorg-video-glint 1:1.2.4-2build2 X.Org X server -- Glint display driver
ii xserver-xorg-video-i128 1:1.3.3-2build2 X.Org X server -- i128 display driver
ii xserver-xorg-video-i740 1:1.3.2-2build1 X.Org X server -- i740 display driver
ii xserver-xorg-video-intel 2:2.12.0-1ubuntu5.2 X.Org X server -- Intel i8xx, i9xx display d
ii xserver-xorg-video-mach64 6.8.2-3build2 X.Org X server -- ATI Mach64 display driver
ii xserver-xorg-video-mga 1:1.4.11.dfsg-4build1 X.Org X server -- MGA display driver
ii xserver-xorg-video-neomagic 1:1.2.4-3build2 X.Org X server -- Neomagic display driver
ii xserver-xorg-video-nouveau 1:0.0.16+git20100805+b96170a-0ubuntu1 X.Org X server -- Nouveau display driver (ex
ii xserver-xorg-video-nv 1:2.1.17-3ubuntu3 X.Org X server -- NV display driver
ii xserver-xorg-video-openchrome 1:0.2.904+svn842-0ubuntu1 X.Org X server -- VIA display driver
ii xserver-xorg-video-r128 6.8.1-3build1 X.Org X server -- ATI r128 display driver
ii xserver-xorg-video-radeon 1:6.13.1-1ubuntu5 X.Org X server -- AMD/ATI Radeon display dri
ii xserver-xorg-video-rendition 1:4.2.4-0ubuntu1 X.Org X server -- Rendition display driver
ii xserver-xorg-video-s3 1:0.6.3-2build2 X.Org X server -- legacy S3 display driver
ii xserver-xorg-video-s3virge 1:1.10.4-2build2 X.Org X server -- S3 ViRGE display driver
ii xserver-xorg-video-savage 1:2.3.1-2ubuntu2.1 X.Org X server -- Savage display driver
ii xserver-xorg-video-siliconmotion 1:1.7.4-0ubuntu2 X.Org X server -- SiliconMotion display driv
ii xserver-xorg-video-sis 1:0.10.3-1build1 X.Org X server -- SiS display driver
ii xserver-xorg-video-sisusb 1:0.9.4-0ubuntu1 X.Org X server -- SiS USB display driver
ii xserver-xorg-video-tdfx 1:1.4.3-2build2 X.Org X server -- tdfx display driver
ii xserver-xorg-video-trident 1:1.3.4-0ubuntu1 X.Org X server -- Trident display driver
ii xserver-xorg-video-tseng 1:1.2.4-0ubuntu1 X.Org X server -- Tseng display driver
ii xserver-xorg-video-vesa 1:2.3.0-3build1 X.Org X server -- VESA display driver
ii xserver-xorg-video-vmware 1:11.0.1-2build1 X.Org X server -- VMware display driver
ii xserver-xorg-video-voodoo 1:1.2.4-0ubuntu1 X.Org X server -- Voodoo display driver
-
1. Je nějaký problém s odezvou systému? (pomalé vykreslování, pomalé hry,...)
2. Nestačilo by jen zapnout direct rendering?
http://ubuntuforums.org/showthread.php?t=1010344
http://phoronix.com/forums/showthread.php?21848-direct-rendering-no
-
acpi_backlight=vendor acpi_osi=Linux reboot=pci
to si si pridával sám ručne do grubu, alebo je to už v backportnutom kerneli? Skús pridať ešte do grubu "acpi=force"gedit /etc/default/grug # edituj ako root
GRUB_CMDLINE_LINUX="acpi_backlight=vendor" "acpi_osi=Linux" "reboot=pci" "acpi=force" # dopísať do tohoto riadku "acpi=force" viac https://bugs.launchpad.net/ubuntu/+source/linux/+bug/661645 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/661645)
-
1. Je nějaký problém s odezvou systému? (pomalé vykreslování, pomalé hry,...)
2. Nestačilo by jen zapnout direct rendering?
http://ubuntuforums.org/showthread.php?t=1010344
http://phoronix.com/forums/showthread.php?21848-direct-rendering-no
Mno, tak jo, pokud spustim cmd z menu, tak to pise yes. Ted jsem zkousel jeste livko posledniho ubuntu a tam to slape v pohode, akorat to dost hreje (nebo jen slape vetrak moc rychle), coz je ale vcelku znama vec...
Ohledne te rychlosti, mam problem se scrollovanim a trva to strasne dlouho a je to jako slide show, ale tedkom po tom restartu to jede normalne. V FF to je pak jeste lepsi, takze asi na tom ma svuj dil viny i chrom. Premyslim cim by to mohlo byt... Kazdopadne, pokud zkusim compiz, tak mi to vypise, ze mam jen SW acceleraci a pak prepne se do FailSave windoww managera a problem je ze nemuzu nic moc uz delat v gui, protoze okna prestanou reagovat. Po restartu gdm v TTY uz to pak pise jenom direct rendering no a to scrolovani v prohlizeci jde katastrofalne.
Ten LIBGL_ALWAYS_INDIRECT jsem uz nejakym zpusobem menil a to prave zaplo to glxinfo na yes ale jak kdy. Coz mohlo mit puvod v tom bugu s gnome-shelem.
Otazkou je jestli je tohle spravne, nebo ne.
$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Software Rasterizer
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program,
jestli to NV je nvidia, tak to jsme uplne vedle, ta tu vubec neni, nicmene tu nejake drivery byly, mozna nejaky pozustatek.... a ten compiz je z toho taky nesvuj. Klicova je otazka, jestli vubec ta intelovska grafika si to da. Ale mela by, kdyz mi unity z 11.10 ficelo v pohode.
acpi_backlight=vendor acpi_osi=Linux reboot=pci
to si si pridával sám ručne do grubu, alebo je to už v backportnutom kerneli? Skús pridať ešte do grubu "acpi=force"gedit /etc/default/grug # edituj ako root
GRUB_CMDLINE_LINUX="acpi_backlight=vendor" "acpi_osi=Linux" "reboot=pci" "acpi=force" # dopísať do tohoto riadku "acpi=force" viac https://bugs.launchpad.net/ubuntu/+source/linux/+bug/661645 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/661645)
Jo to je moje vlastni vyroba :) To acpi force jsem nasel ze by melo resit i problem s uspanim, ktery mam taky a jako workaround mam ze neuspavam :D Pokud by to ale melo pomoct te acceleraci.... nekde jsme ale cetl, ze to zase zakaze nejake jine acpi moznosti a o ty bych nerad prisel. Chod na baterku cas od casu potrebuju a zrovna ted to chodi obstojne.
-
acpi_backlight=vendor acpi_osi=Linux reboot=pci
to si si pridával sám ručne do grubu, alebo je to už v backportnutom kerneli? Skús pridať ešte do grubu "acpi=force"gedit /etc/default/grug # edituj ako root
GRUB_CMDLINE_LINUX="acpi_backlight=vendor" "acpi_osi=Linux" "reboot=pci" "acpi=force" # dopísať do tohoto riadku "acpi=force" viac https://bugs.launchpad.net/ubuntu/+source/linux/+bug/661645 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/661645)
Tak jo, smazat se do vzdycky. Akorat jsi jeste zapomnel na grub-mkconfig -o /boot/grub/grub.cfg a ja taky, tkze jsem musel restart 2x :)
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.38-13-generic root=/dev/mapper/system-root ro splash quiet acpi_backlight=vendor acpi_osi=Linux reboot=pci acpi=force i915.modeset=1
nicmene vysledek stejny....
/home/plevajan# X :1 -configure
X.Org X Server 1.9.0
Release Date: 2010-08-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
Current Operating System: Linux ul000632 2.6.38-13-generic #53~lucid1-Ubuntu SMP Tue Nov 29 12:52:46 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.38-13-generic root=/dev/mapper/system-root ro splash quiet acpi_backlight=vendor acpi_osi=Linux reboot=pci acpi=force i915.modeset=1
Build Date: 20 October 2011 03:12:38PM
xorg-server 2:1.9.0-0ubuntu7.6 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.21.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sun Jan 1 18:32:49 2012
List of video drivers:
tdfx
neomagic
glint
mga
trident
vboxvideo
i740
r128
intel
s3virge
voodoo
vmwlegacy
chips
nouveau
mach64
savage
s3
displaylink
sis
rendition
siliconmotion
vmware
openchrome
ark
ati
radeon
apm
i128
cirrus
sisusb
nv
tseng
fbdev
vesa
(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) intel(0): No kernel modesetting driver detected.
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
Your xorg.conf file is /root/xorg.conf.new
To test the server, run 'X -config /root/xorg.conf.new'
ddxSigGiveUp: Closing log
navic ten bug nebude asi mit primou souvislost. Lidem, kteri to pomohlo grafika totiz pak nejela vubec, me jede ok, jen pise tuhle divnou hlasku a reseni pro to jsem realne nenasel.
-
OK, dalsi mozne smery:
http://dri.freedesktop.org/wiki/glxinfo
LIBGL_DEBUG=verbose glxinfo
# LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method
...
...
ls -l /usr/lib/dri/tls/
ls: cannot access /usr/lib/dri/tls/: No such file or directory
/usr/lib/dri$ ls -l
total 54340
-rw-r--r-- 1 root root 3528072 2011-02-20 19:49 i915_dri.so
-rw-r--r-- 1 root root 3697864 2011-02-20 19:49 i965_dri.so
-rw-r--r-- 1 root root 3470440 2011-02-20 19:49 mga_dri.so
-rw-r--r-- 1 root root 3302040 2011-02-20 19:49 nouveau_vieux_dri.so
-rw-r--r-- 1 root root 3355656 2011-02-20 19:49 r128_dri.so
-rw-r--r-- 1 root root 3559528 2011-02-20 19:49 r200_dri.so
-rw-r--r-- 1 root root 3583120 2011-02-20 19:49 r300c_dri.so
-rw-r--r-- 1 root root 3656200 2011-02-20 19:49 r300_dri.so
-rw-r--r-- 1 root root 3594728 2011-02-20 19:49 r600_dri.so
-rw-r--r-- 1 root root 3571592 2011-02-20 19:49 r600g_dri.so
-rw-r--r-- 1 root root 3518416 2011-02-20 19:49 radeon_dri.so
-rw-r--r-- 1 root root 3409520 2011-02-20 19:49 savage_dri.so
-rw-r--r-- 1 root root 3445896 2011-02-20 19:49 sis_dri.so
-rw-r--r-- 1 root root 3150256 2011-02-20 19:49 swrast_dri.so
-rw-r--r-- 1 root root 3409000 2011-02-20 19:49 tdfx_dri.so
-rw-r--r-- 1 root root 3355728 2011-02-20 19:49 unichrome_dri.so
lrwxrwxrwx 1 root root 13 2011-12-27 15:38 vboxvideo_dri.so -> ../VBoxOGL.so