Thursday, January 31, 2008

startx can't work "No core Pointer" "No Device Specified"

đây là hiện tượng vừa gặp sáng nay, làm mất cả buổi sáng không thể log vào KDE desktop được
-Tương Kernel mơi build hôm qua có vẫn đề -> thêm 1 số parameter cho kernel, build lại -> thất bại
- Kiếm file xorg.conf để chỉnh sữa mà kiếm miết không ra -> bó giò
-search tài liệu google + www.freebsd.org documents lần nữa, ra được cái này ->
--> kết luận: Hiểu thêm 1 chút về xorg nữa
Không hiểu vấn để là tại sao nhưng cuối cùng cũng giải quyết được

#startx

getconfig.pl: Weight of result is 500.
New driver is "i810"
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE) : Cannot find which device to use.
(EE) xf86OpenSerial: No Device specified.
(EE) : cannot open input device
(EE) PreInit failed for input device ""
No core pointer

Fatal server error:
failed to initialize core devices

Solution:
#Xorg -config xorg.conf.new
Ctrl + Bacspace ( exit test monitor )
#cp xorg.conf.new /etc/xorg.conf
#startx
-> successful -> change your Resolution

Những phần mềm sẽ được test thữ( consider for test)

Dọn phân mảnh ( defragment)
http://www.kessels.com/JkDefrag/

Wednesday, January 30, 2008

Ubuntu + resolution + NVIDIA GeForce 6100

đây là 1 trường hợp mình cũng mới gặp trong UBUNTU 7.10
From ubuntuforums.org

blue777 blue777 is offline
First Cup of Ubuntu

Question: ( this is the same with my problem)

Hello,

I am using Kubuntu 6.06.
Onboard graphics: NVIDIA GeForce 6100
I have used a resolution of 1024x768@85 for a few months without problems using "nvidia" driver. GLX worked great too.
One day when I booted my PC suddenly it only allowed one low resolution and refresh rate.
I tried dozens of xorg.conf configurations, removed and re-installed nvidia drivers using synaptic, using the .run executable from nvidia server and using automatix2. None of them worked.

xrandr will only output one line with 800 x 600 @ 60 resolution.

Right now I am using "nv" driver and it works, although it is only 1024x768@79 when it should be 85Hz.

This is my current xorg.conf that works with "nv" driver, but only at low resolution with "nvidia" driver:


Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA 6100"
Driver "nv"
BusID "PCI:0:5:0"
EndSection

Section "Monitor"
Identifier "Monitor"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-120
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA 6100"
Monitor "Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
Anyone an idea what else I could try?



Answers:( Source From
mand0's Avatar
mand0 mand0 is offline
A Carafe of Ubuntu
)

Re: NVIDIA GeForce 6100 / Resolution

Quote:
Originally Posted by mand0 View Post
Have you tried running this in terminal?

Code:
sudo dpkg-reconfigure xserver-xorg
I did, the current configuration I am using now was made this way.
I have a full list when I type xrandr and use "nv" driver, but as soon as I switch to "nvidia" driver, there is only one line.

Quote:
Originally Posted by mand0 View Post
Type in terminal:

Code:
glxinfo
It is enabled.
__________________