View previous topic :: View next topic |
Author |
Message |
chojny Apprentice
Joined: 26 Feb 2004 Posts: 166 Location: Poznan Poland
|
Posted: Fri Aug 04, 2006 11:27 am Post subject: [SOLVED] xorg - problem |
|
|
Wiatm
Mam silodny problem z Xorg.
Jaja zaczely sie po upgrade do 7.0 nic nie chcialo dzialac, cos solidnie namieszalem i jedynym wyjsciem jakie znalazlem bylo odemergowanie wszystkiego z /var/db/pkg/x11*
nastepnie
Code: | emerge xorg-x11 nvidia-kernel nvidia-glx |
po tym oczywiscie nie obylo sie bez problemow, w koncu przekompilowalem jadro (bez framebuffera) ponownie nvidia (tym razem najnowsza z ~x86) i oto co dostaje
Code: | startx
hostname: Unknown host
xauth: creating new authority file /root/.serverauth.20797
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.14-ck8-r2 i686
Current Operating System: Linux sunnet 2.6.17-gentoo-r4 #1 PREEMPT Fri Aug 4 09:13:50 CEST 2006 i686
Build Date: 02 August 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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.0.log", Time: Fri Aug 4 13:28:23 2006
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/local, removing from list!
Could not init font path element /usr/share/fonts/default, removing from list!
Fatal server error:
could not open default font 'fixed'
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
|
w logu xorg:
Code: | Could not init font path element /usr/share/fonts/local, removing from list!
Could not init font path element /usr/share/fonts/default, removing from list!
Fatal server error:
could not open default font 'fixed'
|
jajo: 2.6.17-gentoo-r4
xorg-x11-7.0-r1
xorg-server-1.0.2-r7
karta: GeForce 2 MX400 (probowalem stabilnych sterownikow, tych z ~x86, oraz nvidia-legacy-drivers wszystko bez rezultatow)
co jeszcze moge zrobic?
pozdrawiam _________________ Linux Registered User #344460
Last edited by chojny on Sun Aug 06, 2006 9:34 am; edited 1 time in total |
|
Back to top |
|
|
Jabolem n00b
Joined: 02 Aug 2006 Posts: 30
|
Posted: Fri Aug 04, 2006 12:18 pm Post subject: |
|
|
Czesc
Fajnie by bylo jakbys zamiescil xorg.conf. Wtedy bedzie mozna dochodzic gdzie i co jest zle. |
|
Back to top |
|
|
chojny Apprentice
Joined: 26 Feb 2004 Posts: 166 Location: Poznan Poland
|
Posted: Fri Aug 04, 2006 12:24 pm Post subject: |
|
|
Code: | Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "Files"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/ukr"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAXisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor[0]"
HorizSync 30-85
VertRefresh 50-160
EndSection
Section "Monitor"
Identifier "Monitor[1]" #TV
HorizSync 30-50
VertRefresh 60
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
EndSection
Section "Device"
Identifier "Device[0]"
Driver "nvidia"
VideoRam 65536
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
BusID "PCI:01:00:0" #adjust using 'lspci' or cat /proc/pci
Screen 0
EndSection
Section "Device"
Driver "nvidia"
Identifier "Device[1]"
Screen 1
Option "TVOutFormat" "SVIDEO" #or SVIDEO etc
Option "TVStandard" "PAL-B" #or NTSC, PAL-I for uk etc
Option "ConnectedMonitor" "TV"
BusID "PCI:01:00:0" #adjust using 'lspci' or cat /proc/pci
EndSection
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
# Identifier "Screen[1]"
# Monitor "Monitor[1]"
# DefaultDepth 24
# SubSection "Display"
# Depth 24
# Modes "800x600"
# EndSubSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen[0]"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
|
chwilolwo zakomentowalem wpis dotyczacy telewizora bo cos krzaczyl i nie to jest najwazniejsze;) _________________ Linux Registered User #344460 |
|
Back to top |
|
|
Jabolem n00b
Joined: 02 Aug 2006 Posts: 30
|
Posted: Fri Aug 04, 2006 12:33 pm Post subject: |
|
|
U mnie section "Files" wyglada tak (czywiscie wszystko dziala):
Quote: | Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/Type1"
# FontPath "/usr/share/fonts/TTF"
# FontPath "/usr/lib/X11/fonts/local/"
# FontPath "/usr/lib/X11/fonts/misc/"
# FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/Speedo/"
# FontPath "/usr/lib/X11/fonts/Type1/"
# FontPath "/usr/lib/X11/fonts/TrueType/"
# FontPath "/usr/lib/X11/fonts/freefont/"
# FontPath "/usr/lib/X11/fonts/75dpi/"
# FontPath "/usr/lib/X11/fonts/100dpi/"
EndSection |
Twoj Xorg chce zaladowac czcionki, ktorych nie ma.
Last edited by Jabolem on Fri Aug 04, 2006 12:48 pm; edited 2 times in total |
|
Back to top |
|
|
chojny Apprentice
Joined: 26 Feb 2004 Posts: 166 Location: Poznan Poland
|
Posted: Fri Aug 04, 2006 12:40 pm Post subject: |
|
|
po zmianie wg Twojej rady nadal jest dokladnie to samo. _________________ Linux Registered User #344460 |
|
Back to top |
|
|
martin.k Guru
Joined: 28 Nov 2004 Posts: 493 Location: Wylatowo, Polska
|
Posted: Fri Aug 04, 2006 12:56 pm Post subject: |
|
|
Coś mi ten twój config nie pasuje...
Polecam lekturę http://www.gentoo.org/doc/pl/xorg-config.xml _________________ linux-2.6.17 +ck +R4 +lockless +genetic-as +... więcej nie pamiętam
LRU #299256 |
|
Back to top |
|
|
Jabolem n00b
Joined: 02 Aug 2006 Posts: 30
|
|
Back to top |
|
|
bartmarian Guru
Joined: 28 Nov 2005 Posts: 557
|
Posted: Fri Aug 04, 2006 1:00 pm Post subject: |
|
|
zobacz co pokaze Code: | ls /usr/share/fonts | i doinstaluj, pozatym czepia sie tez klawiaturki |
|
Back to top |
|
|
chojny Apprentice
Joined: 26 Feb 2004 Posts: 166 Location: Poznan Poland
|
Posted: Fri Aug 04, 2006 1:10 pm Post subject: |
|
|
Postepujac wg tego przy kroku
Code: | emerge font-misc-misc |
dostaje:
Code: | /usr/bin/bdftopcf -t k14.bdf | gzip > k14.pcf.gz
/usr/bin/bdftopcf -t nil2.bdf | gzip > nil2.pcf.gz
4x6.bdf /usr/share/fonts/util/map-ISO8859-1 ISO8859-1
make: 4x6.bdf: Command not found
make: *** [4x6-ISO8859-1.bdf] Error 127
make: *** Waiting for unfinished jobs....
5x7.bdf /usr/share/fonts/util/map-ISO8859-1 ISO8859-1
make: 5x7.bdf: Command not found
make: *** [5x7-ISO8859-1.bdf] Error 127
!!! ERROR: media-fonts/font-misc-misc-1.0.0 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called x-modular_src_compile
x-modular.eclass, line 330: Called x-modular_src_make
x-modular.eclass, line 325: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
------
EDIT:
bartmarian wrote: | pozatym czepia sie tez klawiaturki |
to jest tylko warning wiec chwilowo sie nie przejmuje
ls pokazuje fonty ktore sa w configu
config dzialal bez problemow na wczesniejszym xorg _________________ Linux Registered User #344460 |
|
Back to top |
|
|
Jabolem n00b
Joined: 02 Aug 2006 Posts: 30
|
|
Back to top |
|
|
chojny Apprentice
Joined: 26 Feb 2004 Posts: 166 Location: Poznan Poland
|
Posted: Sun Aug 06, 2006 7:48 am Post subject: |
|
|
Ok, dzieki Xy startuja tylko, ze musztak nie dziala.... Probowalem roznych ustawieni, w /etc/make.conf mam oczywiscie wpis Code: | INPUT_DEVICES="keyboard mouse" | sterownik xf86-input-mouse jest skompilowany
odpowiedni wpis z xorg.conf:
Code: | Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAXisMapping" "4 5 6 7"
EndSection |
i Code: | Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen[0]"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection |
logi xorga nic ciekawego (przynajmniej dla mnie) nie mowia:
Code: | ...
(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Device: "/dev/input/mice"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse1: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse1: Buttons: 11
(**) Option "CoreKeyboard"
... |
Probowalem rowniez konfiguracji z wykorzystanie evdev z takim samym rezultatem badz zupelnym zawieszeniem Xow.
co moze byc przyczyna?
pozdrawiam _________________ Linux Registered User #344460 |
|
Back to top |
|
|
v7n Guru
Joined: 24 Jan 2006 Posts: 352
|
Posted: Sun Aug 06, 2006 8:43 am Post subject: |
|
|
Tak to wygląda u mnie Code: | Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/psaux"
# Option "Protocol" "Xqueue"
# Option "Resolution" "256"
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# Option "ChordMiddle"
EndSection |
//edit no i w jajku mam takie coś Code: | Input devices
<*> Mouse interface
[*] Provide legacy /dev/psaux device |
_________________ /~x86 /*-sources /oss /zsh /urxvt /vim /openbox /rox /xmms /Opera |
|
Back to top |
|
|
chojny Apprentice
Joined: 26 Feb 2004 Posts: 166 Location: Poznan Poland
|
Posted: Sun Aug 06, 2006 9:16 am Post subject: |
|
|
Mam dokladnie tak samo, problem polega na tym ze cat /dev/psaux czy tez /dev/input/mice nic nie wyswietla przy poruszaniu mysza... moze cos nie tak w opcjach kernela od usb?
mam zaznaczone takie opcje: Code: |
CONFIG_ARCH_USB_HAS_HCD=y
CONFIG_ARCH_USB_HAS_OHCI=y
CONFIG_ARCH_USB_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_STORAGE=y |
EDIT:
ok cos wczesniej solidnie namieszalem z HID teraz zaznaczylem opcje
Code: | CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y |
i wszystko smiga, dzieki wielkie za pomoc _________________ Linux Registered User #344460 |
|
Back to top |
|
|
|