Bug #559
Sevice Menu Display Settings Broken for Nvidia
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% |
||
Category: | - | Spent time: | - | |
Target version: | - |
Description
Go to: Service Menu->LinHES Config->Display Settings:
Selecting the Connection: Auto, DVI, VGA, or TV has no effect on the produced xorg.config file. For instance if DVI is selected it should produce this line
Option "ConnectedMonitor" "DFP"
But this line is always produced instead
Option "ConnectedMonitor" ""
The argument for Connected Monitor is always blank.
The problem seems to be in the /usr/MythVantage/bin/xconfig.sh file.
There is a case statement starting on line 95
case $Xcardtype in
NVIDIA|nVidia|nvidia)
case $Xconnection in
DVI) ConnectedMonitor=DFP ;;
vga) ConnectedMonitor=CRT;;
Auto) ConnectedMonitor=Auto;;
TV) ConnectedMonitor=TV
echo "Option \"TVStandard\" \"$XTVstandard\"" >>/tmp/options
echo "Option \"TVOutFormat\" \"$XTVconnection\"" >> /tmp/options
;;
esac
It checks Xcardtype for NVIDIA|nVidia|nvidia but my Xcardtype is Nvidia (FX5200) so all cases are skipped. As a test, I edited the file to include Nvidia in the case statement, but there is also a second problem. The $Xconnection string should contain either DVI, vga, Auto or TV, but that string is always null. So somehow that field from the Service Menu’s Display Setting screen is not getting passed to this script correctly.
I don’t know if this is a LinHES problem or a MythVantage problem. I would pursue this further, but I can’t find any docs on how MythVantage works. Is MythVantage open source?
History
Updated by jams almost 13 years ago
- Status changed from In Progress to Closed
Removed most of these settings/options.