Автор Тема: Игры в в Linux? Игровые сервера и общие вопросы game. (шахматы)  (Прочитано 84381 раз)

Оффлайн Саша

  • Участник
  • *
  • Сообщений: 92
Re: настройка монитора в играх
« Ответ #120 : 16.12.2008 19:44:42 »
У меня в virtualbox(в windows) стоит linux и разрешение стоит 800х600. Наверно из за этого когда я выставляю в настройках виртуальной машины на весь экран то само окошко альта линукса маленько остается. В центре управления KDE изменть разрешение не получается как стоит 800х600 так и не изменить больше. Файл /usr/share/doc/kernel-doc-std-2.6.25/fb/vesafb.txt про который было написано в одной из тем на форуме я не нашел. Как же мне на весь экран на большее разрешение вывести альт?

Alexei_VM

  • Гость
Re: настройка монитора в играх
« Ответ #121 : 16.12.2008 20:12:25 »
Как же мне на весь экран на большее разрешение вывести альт?

Поставьте пакет xorg-x11-drv-vboxvideo, потом в файле /etc/X11/xorg.conf впишите в секцию "Device", посвященную монитору, новый драйвер
Driver "vboxvideo"

Сохраните файл, перезапустите виртуальную машину. И разрешение должно меняться вслед за изменением окна виртуальной машины.


Вдогонку:
есть подозрение, что если вы ставили АЛЬТ прям под виртуальной машиной, то "из коробки" уже все драйвера стоят. Так что следует прежде всего изучить первые 4 пункта меню "Машина" окна VirtualBox.
« Последнее редактирование: 17.12.2008 00:12:07 от Alexei_VM »

Оффлайн Саша

  • Участник
  • *
  • Сообщений: 92
Re: настройка монитора в играх
« Ответ #122 : 17.12.2008 23:33:34 »
Пакет уже стоял он видимо поставился вмести с альтом. Это ведь означает когда пишет is already the newest version?
Там есть Section Monitor ,Device ставил туда и туда Driver "vboxvideo" но не помогло. Просто перестала загружаться иксы. Есть еще Screen может туда надо вписать?

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: настройка монитора в играх
« Ответ #123 : 18.12.2008 00:04:14 »
Там есть Section Monitor ,Device ставил туда и туда Driver "vboxvideo" но не помогло. Просто перестала загружаться иксы. Есть еще Screen может туда надо вписать?
А где логи ?

Оффлайн Саша

  • Участник
  • *
  • Сообщений: 92
Re: настройка монитора в играх
« Ответ #124 : 18.12.2008 02:19:36 »
Ну теперь когда я освоил unix2dos магу выложить сюда. :) И покажите мне куда вставить этот Driver "vboxvideo"? Я пометил куда я вставлял.
# With libXiconfig we don't need configuration for
# ps and usb mice.
# For serial mice we will set up all serial devices.
#
# Composite is not yet stable on even major drivers;
# uncomment to enable
#Section "Extensions"
# Option      "RENDER" "Enable"
# Option      "Composite" "Enable"
#EndSection

Section "ServerLayout"
Identifier     "Minimal layout"
Screen         "Screen0" 0 0
EndSection

Section "Module"
Load  "freetype"
Load  "glx"
Load  "dri"
Load  "dbe"
SubSection "extmod"
Option     "omit xfree86-dga"
EndSubSection
EndSection

Section "ServerFlags"
Option     "AutoAddDevices" "true"
Option     "AllowMouseOpenFail" "true"
EndSection

Section "Monitor"
Identifier   "Monitor0|0"
Driver "vboxvideo" СЮДА ПРОБОВАЛ
EndSection

Section "Device"
Identifier  "Card0|0"
Driver      "fbdev"
Driver "vboxvideo" И СЮДА
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0|0"
Monitor    "Monitor0|0"
DefaultDepth     16
SubSection "Display"
Depth     8
Modes    ""
EndSubSection
SubSection "Display"
Depth     15
Modes    ""
EndSubSection
SubSection "Display"
Depth     16
Modes    ""
EndSubSection
SubSection "Display"
Depth     24
Modes    ""
EndSubSection
SubSection "Display"
Depth     32
Modes    ""
EndSubSection
EndSection

Section "DRI"
Group        "xgrp"
Mode         0660
EndSection
Кстати это делаю вот так unix2dos -n xorg.txt xorg1.txt Правильно или может лучше как то еще? Как все делают?
В какой момент их и от куда брать эти логи?

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: настройка монитора в играх
« Ответ #125 : 18.12.2008 08:46:13 »
Цитировать
Section "Monitor"
        Identifier   "Monitor0|0"
Driver "vboxvideo" # СЮДА ПРОБОВАЛ
EndSection
А при чём тут монитор :)

Цитировать
Section "Device"
        Identifier  "Card0|0"
        Driver      "fbdev"
Driver "vboxvideo" # И СЮДА
EndSection
Почти правильно, но тут два драйвера для одной видеокарты - не находите?
Вопрос - вам стало яснее куда прописывать ?

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: настройка монитора в играх
« Ответ #126 : 18.12.2008 18:33:12 »
Цитировать
и откуда брать эти логи
как известно, вселоги лежат в /var/log :)

Оффлайн Саша

  • Участник
  • *
  • Сообщений: 92
Re: настройка монитора в играх
« Ответ #127 : 18.12.2008 21:58:38 »
Да сделал вот так:
Section "Device"
        Identifier  "Card0|0"
        Driver "vboxvideo"
EndSection
Но загружается все равно просто командная строка.
Какой лог показать? Где он находится?
« Последнее редактирование: 19.12.2008 00:11:56 от Саша »

Alexei_VM

  • Гость
Re: настройка монитора в играх
« Ответ #128 : 18.12.2008 22:02:42 »
Какой лог показать? Где он находится?

/var/log/Xorg.0.log

Оффлайн Саша

  • Участник
  • *
  • Сообщений: 92
Re: настройка монитора в играх
« Ответ #129 : 19.12.2008 00:11:34 »
Вот загрузился с
Section "Device"
        Identifier  "Card0|0"
        Driver "vboxvideo"
EndSection

конвертировал лог файл вот он:
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: ALT Linux 4.0 Terminal (OldSchool) i686
Current Operating System: Linux localhost.localdomain 2.6.25-std-def-alt8.M41.1 #1 SMP Thu Sep 11 01:14:41 MSD 2008 i686
Build Date: 27 September 2008  10:35:44AM
 
Before reporting problems, check https://bugzilla.altlinux.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: Thu Dec 18 23:17:08 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Minimal layout"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0|0"
(**) |   |-->Device "Card0|0"
(**) Option "AllowMouseOpenFail" "true"
(**) Option "AutoAddDevices" "true"
(**) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(==) FontPath set to:
catalogue:/etc/X11/fontpath.d
(==) RgbPath set to "/usr/share/X11/rgb"
(==) ModulePath set to "/usr/lib/X11/modules"
(II) Loader magic: 0x81ca7c0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/X11/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,1237 card 0000,0000 rev 02 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7000 card 0000,0000 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,8a hdr 00
(II) PCI: 00:02:0: chip 80ee,beef card 0000,0000 rev 00 class 03,00,00 hdr 00
(II) PCI: 00:04:0: chip 80ee,cafe card 0000,0000 rev 00 class 08,80,00 hdr 00
(II) PCI: 00:06:0: chip 106b,003f card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 00:07:0: chip 8086,7113 card 0000,0000 rev 08 class 06,80,00 hdr 80
(II) PCI: 00:08:0: chip 1022,2000 card 1022,2000 rev 40 class 02,00,00 hdr 00
(II) PCI: 00:0b:0: chip 8086,265c card 0000,0000 rev 00 class 0c,03,20 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(0:2:0) unknown vendor (0x80ee) unknown chipset (0xbeef) rev 0, Mem @ 0xe0000000/23
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0xf0500000 - 0xf0500fff (0x1000) MX[B]
[1] -1 0 0xf0480000 - 0xf04fffff (0x80000) MX[B]
[2] -1 0 0xf0401000 - 0xf0401fff (0x1000) MX[B]
[3] -1 0 0xf0400000 - 0xf0400fff (0x1000) MX[B]
[4] -1 0 0xf0000000 - 0xf03fffff (0x400000) MX[B]
[5] -1 0 0xe0000000 - 0xe07fffff (0x800000) MX[B](B)
[6] -1 0 0x0000c040 - 0x0000c05f (0x20) IX[B]
[7] -1 0 0x0000c020 - 0x0000c03f (0x20) IX[B]
[8] -1 0 0x0000c000 - 0x0000c00f (0x10) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xf0500000 - 0xf0500fff (0x1000) MX[B]
[1] -1 0 0xf0480000 - 0xf04fffff (0x80000) MX[B]
[2] -1 0 0xf0401000 - 0xf0401fff (0x1000) MX[B]
[3] -1 0 0xf0400000 - 0xf0400fff (0x1000) MX[B]
[4] -1 0 0xf0000000 - 0xf03fffff (0x400000) MX[B]
[5] -1 0 0xe0000000 - 0xe07fffff (0x800000) MX[B](B)
[6] -1 0 0x0000c040 - 0x0000c05f (0x20) IX[B]
[7] -1 0 0x0000c020 - 0x0000c03f (0x20) IX[B]
[8] -1 0 0x0000c000 - 0x0000c00f (0x10) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xf0500000 - 0xf0500fff (0x1000) MX[B]
[5] -1 0 0xf0480000 - 0xf04fffff (0x80000) MX[B]
[6] -1 0 0xf0401000 - 0xf0401fff (0x1000) MX[B]
[7] -1 0 0xf0400000 - 0xf0400fff (0x1000) MX[B]
[8] -1 0 0xf0000000 - 0xf03fffff (0x400000) MX[B]
[9] -1 0 0xe0000000 - 0xe07fffff (0x800000) MX[B](B)
[10] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[11] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[12] -1 0 0x0000c040 - 0x0000c05f (0x20) IX[B]
[13] -1 0 0x0000c020 - 0x0000c03f (0x20) IX[B]
[14] -1 0 0x0000c000 - 0x0000c00f (0x10) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "freetype"
(II) Loading /usr/lib/X11/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 1.4.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/lib/X11/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(==) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib/X11/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "dbe"
(II) Loading /usr/lib/X11/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/X11/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "vboxvideo"
(II) Loading /usr/lib/X11/modules/drivers//vboxvideo_drv.so
(II) Module vboxvideo: vendor="innotek GmbH"
compiled for 7.1.0, module version = 1.0.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.0
(EE) module ABI major version (1) doesn't match the server's version (2)
(II) UnloadModule: "vboxvideo"
(II) Unloading /usr/lib/X11/modules/drivers//vboxvideo_drv.so
(EE) Failed to load module "vboxvideo" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found
Ну вот как я понимаю в конце что то с драйвером?

Alexei_VM

  • Гость
Re: настройка монитора в играх
« Ответ #130 : 19.12.2008 00:52:12 »
Ну вот как я понимаю в конце что то с драйвером?

А что у вас говорят команды
rpm -qa | grep vbox
и
rpm -q xorg-server


Оффлайн Саша

  • Участник
  • *
  • Сообщений: 92
Re: настройка монитора в играх
« Ответ #131 : 19.12.2008 01:21:29 »
Вот:
[root@localhost ~]# rpm -qa | grep vbox
xorg-x11-drv-vboxmouse-1.5.6-alt2
xorg-x11-drv-vboxvideo-1.5.6-alt2
[root@localhost ~]# rpm -q xorg-server
xorg-server-1.4.2-alt8.M41.1
[root@localhost ~]#

Alexei_VM

  • Гость
Re: настройка монитора в играх
« Ответ #132 : 19.12.2008 01:34:29 »
У меня
[alexei@localhost ~]$ rpm -qa | grep xorg-server
xorg-server-common-1.4.2-alt6.M41.1
xorg-server-control-1.3-alt1
xorg-server-1.4.2-alt6.M41.1

И все работает:
(II) Module vboxvideo: vendor="Sun Microsystems, Inc."
        compiled for 1.4.0, module version = 1.0.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 2.0

Я думаю, вам надо повесить багу на пакеты с драйверами vbox, чтобы их пересобрали с новой сборкой XOrg.

Alexei_VM

  • Гость
Re: настройка монитора в играх
« Ответ #133 : 19.12.2008 01:42:25 »
У меня

Стоп! У меня работает, потому что я видимо пересобрал драйвера с диска с "дополнениями гостевой ОС". Сейчас разберемся, что к чему!

Оффлайн Саша

  • Участник
  • *
  • Сообщений: 92
Re: настройка монитора в играх
« Ответ #134 : 19.12.2008 02:22:25 »
Это пакет kernel-headers-modules-std-def что находится на apt-cache search kernel-headers-modules?
Или те три пакета которые находятся на apt-cache search kernel-modules-virtualbox? Я правда честно говоря еще из этой темы http://forum.altlinux.org/index.php/topic,917.60.html (так и не решенной) не понял какая между kernel-headers-modules и kernel-modules-virtualbox разница? Хотя все пакеты поставил.
« Последнее редактирование: 19.12.2008 02:26:33 от Саша »