FreeBSD, NetBSD, OpenBSD, DragonFly и т. д.
Модератор: arachnid
Человек в шапке
Сообщения: 65
Сообщение
Человек в шапке » 30.01.2005 17:39
Ну вообщем-то прочел РИДМИ, написал make install выполнилось достаточно быстро. После чего из этого РИДМИ скопировал строчки для XFree86.config вставил.. получилось вот что:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
#new Section "Module"
Section "Module"
Load "bitmap"
Load "extmod"
Load "dbe"
Load "type1"
Load "glx"
Load "freetype"
EndSection
#old Section "Module"
#Section "Module"
# Load "dbe"
# Load "dri"
# Load "extmod"
# Load "glx"
# Load "record"
# Load "xtrap"
# Load "speedo"
# Load "type1"
#EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
Section "Monitor"
#DisplaySize 280 210 # mm
Identifier "Monitor0"
VendorName "GSM"
ModelName "75E"
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
##################old######################
# Identifier "Card0"
# Driver "nv"
# VendorName "nVidia Corporation"
# BoardName "NV11 [GeForce2 MX/MX 400]"
# BusID "PCI:1:0:0"
####################new####################
Identifier "Device"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "GeForce2 Go"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
вот.. но он чего-то нехочет работать
в логе как я понял ругается на конфиг.. ХЗ.. мож я что-то пропустил?
Код: Выделить всё
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.2 i386 [ELF]
Build Date: 07 December 2003
Before reporting problems, check http://www.XFree86.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/XFree86.0.log", Time: Mon Dec 6 18:31:55 2004
(==) Using config file: "/usr/X11R6/lib/X11/XF86Config"
Data incomplete in file /usr/X11R6/lib/X11/XF86Config
Undefined Device "Card0" referenced by Screen "Screen0".
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()
Fatal server error:
no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.
from Russia with Love..
FreeNUX
Сообщения: 185
Статус: с сириуса
ОС: FreeBSD 6.2
Сообщение
FreeNUX » 30.01.2005 18:08
Код: Выделить всё
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
EndSection
Section "Module"
# Load "record"
Load "ddc"
Load "dri"
Load "dbe"
Load "extmod"
Load "glx"
Load "xtrap"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:ctrl_shift_toggle,ctrl:ctrl_aa,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# DefaultDepth 16
SubSection "Display"
Depth 1
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Monitor"
#DisplaySize 330 250 # mm
Identifier "Monitor0"
VendorName "GSM"
ModelName ""
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:2:0:0"
EndSection
Попробуй этот.
Аркона – лишь тихие воды,
Кровью варяжской янтарь в них застыл.
Аркона – там ветер со взморья
В трещинах скал своё сердце забыл.
Темнозорь - Аркона (Вольницей В Просинь Ночей - 2005)
Человек в шапке
Сообщения: 65
Сообщение
Человек в шапке » 30.01.2005 20:08
FreeNUX Спасибо!! помог!! переделал малость все запустилось
Только вот стартует мой гном в 800х600 и либо в 8бит, либо 4, немогу понять, один фиг все беспонтово видно..
Хмммм?????
Насколько я думал (просто никогда не приходилось копаться с Иксами, всегда все работало), перечисление разрешений идет от большего к меньшему.. чтобы поочереди запускать, то которое подходит (т.е. самое оптимальное).
А тут смотрю... в конфиге все наоборот.. от худшего к лучшему..
from Russia with Love..
VN_MAClover
Сообщения: 1233
Статус: Человек с бульвара Капуцинов
Сообщение
VN_MAClover » 30.01.2005 22:29
В конфиге первым должно идти разрешение по умолчанию, далее - в любой последовательности, хотя рекомендуется упорядочивать.
In RMS we trust.
Зачем нам Ваши окна, если LAMPочка даёт достаточно света?
Человек в шапке
Сообщения: 65
Сообщение
Человек в шапке » 31.01.2005 17:18
(VN_MAClover @ Воскресенье, 30 Января 2005, 22:29)
В конфиге первым должно идти разрешение по умолчанию, далее - в любой последовательности, хотя рекомендуется упорядочивать.
т.е. так?
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# DefaultDepth 16
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
from Russia with Love..
VN_MAClover
Сообщения: 1233
Статус: Человек с бульвара Капуцинов
Сообщение
VN_MAClover » 31.01.2005 17:56
По идее так.
Код: Выделить всё
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
Кстати, у тебя DefaultDepth почему-то закомментирован.
In RMS we trust.
Зачем нам Ваши окна, если LAMPочка даёт достаточно света?