Сижу под FC4.
Проблема с установкой под иксами разрешения 1152х864 и герцовки выше 60Гц. В консоли все работает на ура...
Мать на чипсете К8М800
Видео - Unichrome S3
Иксы и встроенное видео
Модератор: Модераторы разделов
-
- Сообщения: 728
- Статус: хочешь пропатчить KDE под FreeBSD - спроси меня как!
- ОС: FreeBSD, Debian GNU\Linux
Re: Иксы и встроенное видео
охх... ну и попаришься же ты с этим unichrome, у меня был как-то он, настроить так и не удалось нормально, правда с VES A дровами работало, но тормоза были сильные при просмотре видео.
ГДе то на linuxcenter.ru был статья про это - поищи.
FreeBSD
Debian GNU\Linux
Компьютер позволяет решать все те проблемы, которые до изобретения компьютера не существовали.
Debian GNU\Linux
Компьютер позволяет решать все те проблемы, которые до изобретения компьютера не существовали.
-
- Сообщения: 153
Re: Иксы и встроенное видео
Заюзай gtf
$ gtf 1152 864 85
# 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
Modeline "1152x864_85.00" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync
И занеси в xorg.conf
-
- Сообщения: 2
Re: Иксы и встроенное видео
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "SAMTRON"
DisplaySize 320 240
HorizSync 30.0 - 71.0
VertRefresh 50.0 - 160.0
Modeline "1152x864_75.00" 104.99 1152 1224 1352 1552 864 865 868 902 -HSync +Vsync
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Вот мой xorg.conf
Так не пашет, при попытке вставить моделайна в секцию Screen иксы отваливаются напрочь...
Можно по подробнее о том, в какие места xorg.conf вставлять этот моделайн? (нубский вопрос, т.к. я с Пингвином работаю всего неделю)...
найти-то нашел, скачал все необходимое, поставил исходники ядра ...
начинаю делать все так, как написано, но DRI не ставятся, ругается на некоторые функции:
dri.log
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_acquire’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:114: error: too few arguments to function ‘agp_backend_acquire’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_release’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:159: error: too few arguments to function ‘agp_backend_release’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_enable’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:195: warning: passing argument 1 of ‘agp_enable’ makes pointer from integer without a cast
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:195: error: too few arguments to function ‘agp_enable’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_init’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:491: warning: passing argument 1 of ‘agp_copy_info’ from incompatible pointer type
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:491: error: too few arguments to function ‘agp_copy_info’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_allocate_memory’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:519: warning: passing argument 1 of ‘agp_allocate_memory’ makes pointer from integer without a cast
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:519: error: too few arguments to function ‘agp_allocate_memory’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:520: warning: control reaches end of non-void function
make[3]: *** [/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.o] Error 1
make[2]: *** [_module_/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core'
make: *** [via.o] Error 2
типа недостаточно параметров ...
???
По поводу помучицца - эт ты не ошибся !!!!
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "SAMTRON"
DisplaySize 320 240
HorizSync 30.0 - 71.0
VertRefresh 50.0 - 160.0
Modeline "1152x864_75.00" 104.99 1152 1224 1352 1552 864 865 868 902 -HSync +Vsync
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Вот мой xorg.conf
Так не пашет, при попытке вставить моделайна в секцию Screen иксы отваливаются напрочь...
Можно по подробнее о том, в какие места xorg.conf вставлять этот моделайн? (нубский вопрос, т.к. я с Пингвином работаю всего неделю)...
найти-то нашел, скачал все необходимое, поставил исходники ядра ...
начинаю делать все так, как написано, но DRI не ставятся, ругается на некоторые функции:
dri.log
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_acquire’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:114: error: too few arguments to function ‘agp_backend_acquire’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_release’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:159: error: too few arguments to function ‘agp_backend_release’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_enable’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:195: warning: passing argument 1 of ‘agp_enable’ makes pointer from integer without a cast
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:195: error: too few arguments to function ‘agp_enable’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_init’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:491: warning: passing argument 1 of ‘agp_copy_info’ from incompatible pointer type
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:491: error: too few arguments to function ‘agp_copy_info’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_allocate_memory’:
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:519: warning: passing argument 1 of ‘agp_allocate_memory’ makes pointer from integer without a cast
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:519: error: too few arguments to function ‘agp_allocate_memory’
/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.c:520: warning: control reaches end of non-void function
make[3]: *** [/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core/drm_agpsupport.o] Error 1
make[2]: *** [_module_/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/Desktop/Unichrome/via-20051211-linux.i386/drm/linux-core'
make: *** [via.o] Error 2
типа недостаточно параметров ...
???
По поводу помучицца - эт ты не ошибся !!!!
-
- Сообщения: 153
Re: Иксы и встроенное видео
Liohich писал(а): ↑12.12.2005 19:57# Xorg configuration created by system-config-display
..................
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "SAMTRON"
DisplaySize 320 240
HorizSync 30.0 - 71.0
VertRefresh 50.0 - 160.0
Modeline "1152x864" 104.99 1152 1224 1352 1552 864 865 868 902 -HSync +Vsync
................
Option "dpms"
EndSection
Вот мой xorg.conf
Так не пашет, при попытке вставить моделайна в секцию Screen иксы отваливаются напрочь...
Можно по подробнее о том, в какие места xorg.conf вставлять этот моделайн?
В строке (выделил) модлайн убери хвост "75"