[mythtv-users] X question (also semi-OT)

backuppc at sundquist.imapmail.org backuppc at sundquist.imapmail.org
Thu Apr 10 02:56:58 UTC 2008


Before I sprung for the 1080p display, I wanted to make sure I could get
mythtv working well, so I started off with a spare small monitor running
1024x768.  Mythtv works great.  So I got one of these:
http://www.newegg.com/Product/Product.aspx?Item=N82E16824254026 and I
couldn't be more happy with it.  28 inches is plenty big enough for our
small house, especially considering what we were watching before.

My mythbox has no trouble driving this at full 1920x1200, either.  It
has a 8300GS (Dell OEM) card.  I run mythbuntu and dpkg-reconfigure
xserver-xorg generated a nice generic xorg.conf with no mode lines
(listed further below).

My problem is this:  I can't get it to boot into 1920x1200.  Mythbuntu
boots directly into the default user's desktop and starts the frontend. 
It seems like it starts out with 1920x1200 briefly based on a quick look
at a pointer arrow (from gdm?) before it jumps into my account.  If I
exit my account gdm comes back with a login screen at 1920x1200.

I can get it to go into 1920x1200 easily enough with nvidia-settings. 
However, I have to stop the front end (after I wait until it stops
prescaling the themes), switch resolutions, restart the front end, and
then wait while it prescales the themes again.  It wouldn't be a problem
if I just left it running, but my son likes this new monitor too much
and keeps rebooting into windows to run one of his games.

Any ideas why it still wants to go to the old 1024x768?  Is there
something set somewhere that I am overlooking? I should note that I have
installed kde-base and use the KDE desktop rather than the XFCE desktop
that comes with mythbuntu.  I know this isn't a myth-specific question,
but I couldn't find any good search terms to feed to google.com/linux
for help.

I won't post my Xorg log in entirety as most of it is uneventful, but
the tail end has this:

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "TwinView" "0"
(**) NVIDIA(0): Option "MetaModes" "DFP: 1920x1200 +0+0"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X
extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 8300 GS (G86) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 524288 kBytes
(--) NVIDIA(0): VideoBIOS: 60.86.49.00.19
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 8300 GS at
PCI:1:0:0:
(--) NVIDIA(0):     HSD Hanns.G HG281 (DFP-0)
(--) NVIDIA(0): HSD Hanns.G HG281 (DFP-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): HSD Hanns.G HG281 (DFP-0): Internal Single Link TMDS
(II) NVIDIA(0): Display Device found referenced in MetaMode: DFP-0
(II) NVIDIA(0): Assigned Display Device: DFP-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "DFP:1920x1200+0+0"
(II) NVIDIA(0): Virtual screen size determined to be 1920 x 1200
(++) NVIDIA(0): DPI set to (100, 100); computed from -dpi X commandline
option
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xf4000000 - 0xf5ffffff (0x2000000) MX[B]

  <<deletia>>

(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Setting mode "DFP:1920x1200+0+0"
(--) NVIDIA(0): No video decoder detected
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension XAccessControlExtension
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/psaux"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(**) Mouse0: Sensitivity: 1
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(--) Mouse0: PnP-detected protocol: "ExplorerPS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) NVIDIA(0): Setting mode "1024x768"
(--) NVIDIA(0): No video decoder detected

After I reset the resolution with nvidia-settings, this gets appended to
the log:

(II) NVIDIA(0): Setting mode "DFP:1920x1200+0+0"
(--) NVIDIA(0): No video decoder detected

Here is my xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HSD Hanns.G HG281"
    HorizSync       24.0 - 80.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8300 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

(note, I haven't yet added the "use events" option yet; I need to with X
peggig one core!)

Thanks.

J. S.


More information about the mythtv-users mailing list