LINUX.ORG.RU

Разрешение экрана startx xinit

 , , ,


0

1

Доброго времени суток! Столкнулся с такой проблемой установлена Ubuntu 12.04 минимальная. На ней пакет xinit. Есть монитор 5:4 с разрешением 1280x1024. Когда стартую иксы то они автоматом запускаются с максимальным разрешением. Хочу поставить например 1024x768 что бы покрупнее было. Создал естественно xorg.conf что бы вручную всё выставить. Но как ни делал x-server'у на разрешение пофигу.

Проприетарный драйвер для видео мне не нужен. Хватит тех которые из набора x-server в стандарте.

Вот листинг xorg.conf:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	Screen      2  "Screen2" RightOf "Screen1"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "glx"
	Load  "dri"
	Load  "dri2"
	Load  "record"
	Load  "extmod"
	Load  "dbe"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
	HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 75.0
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
	HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 75.0
EndSection

Section "Monitor"
	Identifier   "Monitor2"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
	HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 75.0
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "vesa"
	BusID       "PCI:1:5:0"
EndSection

Section "Device"
	Identifier  "Card1"
	Driver      "vesa"
	BusID       "PCI:1:5:0"
EndSection

Section "Device"
	Identifier  "Card2"
	Driver      "vesa"
	BusID       "PCI:1:5:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth    24
	SubSection "Display"
		#Viewport   0 0
		Depth     24
		Modes	"1024x768_60.00"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	DefaultDepth    24
	SubSection "Display"
		#Viewport   0 0
		Depth     24
		Modes	"1024x768_60.00"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen2"
	Device     "Card2"
	Monitor    "Monitor2"
	DefaultDepth    24
	SubSection "Display"
		#Viewport   0 0
		Depth     24
		Modes	"1024x768_60.00"
	EndSubSection
EndSection

Знаю что у меня много карт, мониторов и экранов: card0 card1 и т.д. это стандартный Xorg -configure.

Подскажите как выставить нужноее разрешение что бы иксы всегда с ним стартовали.

1024x768_60.00

странная какая то запись, не припомню чтобы так писалось. Попробуй без _60.00 чтоли

irton ★★★★★
()
Ответ на: комментарий от anonymous

xrandr пробовал он пишет мне:

Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0* 

А при изменении: xrandr -s 1024x768

Size 1024x768 not found in available modes

yuryshestakov
() автор топика
Ответ на: комментарий от NeverLoved

Пробовал так:

startx -- -dpi 100 или startx -- -dpi 10


Разницы не увидел
yuryshestakov
() автор топика
Ответ на: комментарий от kostik87
SubSection "Display"
		#Viewport   0 0
		Depth     24
		Modes	"1280x1024_0.0"
	EndSubSection

Вот так?

yuryshestakov
() автор топика

кстати может modeline пока убрать из конфигов?

irton ★★★★★
()
Ответ на: комментарий от arson

это ужасно, неужели в 21 веке все по прежнему так плохо с этим.

irton ★★★★★
()

Причину нашел. fbdev драйвер не воспринимает указанное разрешение и пишет: not found.

Поменял на другой всё нормально.

yuryshestakov
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.