View previous topic :: View next topic |
Author |
Message |
m_abs n00b

Joined: 29 Oct 2008 Posts: 13
|
Posted: Sun Nov 30, 2008 1:04 pm Post subject: DisplaySize not respected with Intel 945GM onboard videocard |
|
|
I've a problem on my mediacenter, I can't get X to respect my settings for DisplaySize so all videos are played with the wrong aspect ratio on my 16:9 TV.
I've set DisplaySize to 900 500 and the resolution is 1024x768@60
But then I run xrandr in X, display size is shown to be 0x0 mm. I've also tried setting it manually with xrandr --fbmm not this has no effect and prints no error.
I have xorg-server 7.4 and xf86-video-intel-2.5.1. I use the driver "intel" not the "i810".
What can I do to fix this?
This is my xorg.conf
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/util"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "GLcore"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
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"
DisplaySize 900 500
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "XvMC" "on"
Option "DRI" "on"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
Virtual 1280 1024
EndSection |
Output from lspci:
Code: |
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
03:01.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
03:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)
|
|
|
Back to top |
|
 |
astaecker Guru

Joined: 28 Apr 2003 Posts: 403 Location: Hamburg / Germany
|
Posted: Sun Nov 30, 2008 2:14 pm Post subject: |
|
|
You have to reference the monitor section in the device section to apply it, see Gentoo Wiki. This means you have to add:
Code: | Option "Monitor-LVDS" "Monitor0"
|
to your xorg.conf. "Monitor-LVDS" may be wrong. Set it acourdingly to your connection type. |
|
Back to top |
|
 |
m_abs n00b

Joined: 29 Oct 2008 Posts: 13
|
Posted: Sun Nov 30, 2008 10:06 pm Post subject: |
|
|
Thanks it helped a little. The Font sizes are now better, but mplayer still shows the wrong aspect ratio.
That was fixed then I switched cable from the VGA-cable to a DVI->HDMI cable, but this gives another problem (the reason I haven't used it until now).
I'm now able to have the resolution of 1920x1080 which is nice but I'm missing parts of the picture on all sides of the screen. Mostly top and bottom is missing.
Are there some way I can fix this new problem?
Virtual is the size as the resolution is.
For some reason xrandr reports that physiscal size is now 160mm x 90mm, which isn't what I told it but it seems to work any way both font size and aspect ratio in mplayer looks fine. |
|
Back to top |
|
 |
|