PDA

View Full Version : [SOLVED] Need help configuring xorg for Intrepid mythbuntu


wilberfan
October 31st, 2008, 10:17 PM
I hope this makes sense:

I'm a BIG fan of mythbuntu, and have been enjoying the Hardy version for 6 months now.

I really liked my setup on Hardy: backend and frontend installed on my Dell Dimenstion 8200 with a nvidia 5200 card. The TV in the next room was hooked up to the s-video out on the 5200, and a LCD monitor (in the kitchen with the Dimension tower) was hooked up to the 5200 via the VGA connection.

Under Hardy, I could run the myth frontend on the TV while having a separate, "regular" desktop on the LCD--permitting someone to watch the myth frontend in the den, while I could browse the web, check e-mail in the kitchen via the LCD.

(The TV (a CRT) is configured for 1024x768 and the LCD at 1280x1024@60.)

Yesterday I added mythbuntu 8.10 on top of a fresh install of Intrepid on a separate partition. Gnome is running, and I start the frontend manually.

I really want to duplicate my Hardy setup, but I've hit a snag.

I'm too noob to have come up with the Hardy xorg.conf, but it worked brilliantly. So I copied it to the Intrepid Myth install. Once I commented out the "Input" sections for Intrepid, it almost works...

When I start the myth frontend on the TV side of things, the resolution is off--it extends off the right and bottom of the screen, and the taskbar at the top remains visible. I can Alt-click and drag the frontend window around the screen in any direction but up. [See attached photos]

If I start X with the LCD disconnected, the myth frontend is fine on the TV. If I start the myth frontend on the LCD, it looks fine on the LCD.
It's starting myth frontend on the TV with the LCD attached when things are off.

[edit] The resolution listed on the Screen Setup page of the myth frontend is 1280x1024. I think this needs to be 1024x768--but I'm not sure where it got that value. The CRT is configured for that, and in fact, the desktop on the CRT seems sized properly.

Here's the xorg.conf I'm using:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Wed Sep 12 14:30:30 PDT 2007

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
# InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "vnc"
EndSection

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

#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
#EndSection

#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons" "true"
#EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "TV-0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "HP f1905"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "DPI" "100x100"
Option "UseEvents" "1"
Option "AddARGBVisuals" "1"
Option "AddARGBGLXVisuals" "1"
Option "NoLogo" "1"
Option "UseDisplayDevice" "TV"
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "NTSC-M"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/root/.vnc/passwd"
SubSection "Display"
Depth 24
Modes "nvidia-auto-select" "1920x1080" "1280x720" "1024x768" "720x480" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "TV: nvidia-auto-select +0+0; TV: 1024x768 +0+0; TV: 720x480 +0+0; TV: 800x600 +0+0; TV: 640x480 +0+0"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT: 1280x1024_60 +0+0"
EndSection

I'd really love to get this solved; much thanks in advance to anyone who can help me with this...!

fenian
October 31st, 2008, 11:47 PM
Use the nvidia-settings tool to set up seperate x screens,open nvidia-settings with sudo (so changes are written to xorg.conf)....

sudo nvidia-settings

Click on X Server Display Settings
Click the TV Icon
Click the Configure button and choose Seperate X Screen
Click the Save to X Configuration button
Quit Nvidia settings and restar X (ctrl+alt+backspace)
You should have seperate X screens with proper resolutions.

wilberfan
November 1st, 2008, 01:40 AM
Use the nvidia-settings tool to set up seperate x screens,open nvidia-settings with sudo (so changes are written to xorg.conf)....



Click on X Server Display Settings
Click the TV Icon
Click the Configure button and choose Seperate X Screen
Click the Save to X Configuration button
Quit Nvidia settings and restar X (ctrl+alt+backspace)
You should have seperate X screens with proper resolutions.

Appreciate the suggestion, but I've done that at least twice now...

Just to make sure we're on the same page: I do have 2 X screens, and they're both properly rezzed...(LCD=1280x1024, CRT=1024x768) The frontend is opening on the CRT at 1280x1024 for some reason. I need it to open at the lesser 1024x768. (Which it does if I unplug the LCD from the video card.)

fenian
November 1st, 2008, 12:48 PM
In mythtv go to Utilities/Settings > Settings > Appearance
On the second page make sure Use GUI size fo TV playback is checked.

wilberfan
November 1st, 2008, 07:34 PM
In mythtv go to Utilities/Settings > Settings > Appearance
On the second page make sure Use GUI size fo TV playback is checked.

That was already checked.

I ended up manually entering the px dimensions in the "GUI Width" (1024) and "GUI Height" (768 ) fields on that same config screen.

Now it's aaaaaaallll better! :guitar:

Thanks for your help!