Skip to main content

Asus AT37N7A-I Nvidia ION Linux Configuration

I've been using this excellent motherboard for about 2 years, it has now been disassembled as I had less of a need for a silent PC in the living room after retiring my use of MythTV.

 I had Ubuntu installed on this PC and during its lifetime was subjected to many performance tweaks. Rather than delete this work, I've decided to put the files online for other people to use.

Sound

I wanted digital sound over the HDMI cable so it can be played by either my TV or AV amp; I've played back DTS HD with this configuration, my TV had issues with some sample rates which is why the rate is configured explicitly.

asoundrc

pcm.!default front

pcm.analog-hw {
  type hw
  card 0
  device 0
}

pcm.analog-hw-formatted {
  type plug
  slave {
    pcm analog-hw
    rate 48000
  }
}

pcm.digital-hw {
  type hw
  card 0
  device 3
}

pcm.digital-hw-formatted {
  type plug 
  slave {
    pcm digital-hw
    rate 48000
  }
}

pcm.hdmi_softvol {
  type softvol
  slave.pcm digital-hw-formatted
  control.name hdmi_volume
  control.card 0
}

Video 

These are my xorg.conf settings for use with my Sharp Aquos 32" TV, this has been optimised for use with MythTV specifically playback of 1080p playback at 50Hz, 60Hz and 24Hz.

xorg.conf

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
EndSection

Section "Monitor"
    #Sharp AQUOS Screen Dimension: 701mm x 394mm
    Identifier     "Television"
    VendorName     "Sharp"
    ModelName      "LC32LE600E"
    DisplaySize     701    394
EndSection

Section "Device"
    Identifier     "ION-HDMI"
    Driver         "nvidia"
    Option         "NoLogo"                    "true"
    # If not disabled I can't select 24Hz or 60Hz refresh rates
    Option         "DynamicTwinView"           "false"
    Option         "NoFlip"                    "false"
    Option         "FlatPanelProperties"       "Scaling = Native"
    Option         "ModeValidation"            "NoVesaModes, NoXServerModes, NoPredefinedModes"
    Option         "ModeDebug"                 "true"
    # Options for MythTV performance
    Option         "TripleBuffer"              "True"
    Option         "UseEvents"                 "True"
    Option         "HWCursor"                  "False"
    # Removes non selected modes
    Option         "IncludeImplicitMetaModes"  "false"
    Option         "ExactModeTimingsDVI"       "True"
    Option         "DPI"                       "100 x 100"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "ION-HDMI"
    Monitor        "Television"
    DefaultDepth   24
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1920x1080_50" "1920x1080_24_0" "1920x1080_60_0"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite"                 "Disable"
EndSection

nvidia-settings 

On startup, nvidia-settings is called with the following parameters:

nvidia-settings -a "SyncToVBlank=1" -a "AllowFlipping=1" -a "FSAAAppControlled=1" -a "OpenGLImageSettings=3" -a "LogAniso=0" -a "GPUScaling[DFP-0]=1,1"; nvidia-settings -r

Mplayer

Here are the mplayer-config settings for smooth playback using the GPU:

fs="1"
ao=alsa:device=hdmi
vo=vdpau
vc=ffmpeg12vdpau,ffh264vdpau,xvid

MythTV

There is extensive documentation on the MythTV wiki so I won't repeat that here, for reference though:

http://www.mythtv.org/wiki/Frame_display_timing
http://www.mythtv.org/wiki/Vdpau
http://www.mythtv.org/wiki/User_Manual:JudderFree

Comments

Popular posts from this blog

Howto: Ubuntu 8.10, Dell 5530, 3G/WWan and GPS

There is an updated howto on the Dell 5530 using my own python based monitoring tool at http://blog.bjw.me.uk/2009/03/dell-5530ericsson-f3507g-on-linux.html Introduction Here is a Howto document for getting the Dell 5530 wwan card working along with the onboard GPS under Ubuntu 8.10. This card does not work conveniently with the bundled Network Manager software, but replacing NetworkManager with other utilities will give the ability to get online using a pretty GUI and not have to resort to using wvdial and the command line... It should also work with the Ericsson f3507g as I believe the Dell 5530 is a rebadged version of this module. Check Hardware First you need to check the modem is detected correctly. On my computer, the modem is detected out of the box by the cdc_acm module and exposes three serial ports (/dev/ttyACM[0,1,2]) for communication. Check by running: dmesg | grep ACM Mine shows the following: [ 34.385302] cdc_acm 1-6:1.1: ttyACM0: USB ACM device [

Howto: Node-RED Change Hue Lights Temporarily On Door Open

We fitted a LightwaveRF magnetic sensor to a door to detect whether it is open or closed. The main driver behind this was to increase the level of the hallway lights for a predetermined period of time whenever the door was opened. Since we’re using coloured lights it makes sense to put the light back to how it was once the time period as elapsed.  Node-RED does not offer a node as a means of storing state between, but it does offer functions which have access to a context object which can be used to store state between flows.  I’ve created a flow which listens to the `domoticz/out` MQTT topic filters messages based on their Domoticz IDX value and furthers filters on the door switches `nvalue` where 1 indicates door open and 0 indicates door closed.  https://dl.dropboxusercontent.com/u/174818/FrontDoorLight.json On Door Open: Retrieve state of current light and if nothing already stored, store the current bulb state in the context.  Change the state of the bulb t

Dell 5530/Ericsson f3507g on Linux

A few months back I posted a howto guide on getting this mobile broadband card working with Linux, what I failed to mention was I continued to work on these scripts. I feel it is appropriate to post a status update on what I use now especially given there appears to be no further updates on the NetworkManager front. I no longer use UMTSMon as I found it relied on AT+CSQ for the signal quality and during UMTS and HSPA connections, the f3507g/dell 5530 returns either the previous GPRS value or 99,99 which UMTSMon considers as no connection available. I've used a simplified wvdial.conf scripts and now do the rest of the radio work using python. wvdial.conf # Author: Barry John Williams # Creative Commons Attribute-Share Alike 2.5 UK:Scotland Licence [Dialer defaults] New PPPD = yes Stupid Mode = 1 Modem Type = ACM Modem Modem = /dev/ttyACM1 Init1 = AT Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = AT+CGDCONT=1,"ip","internet" Baud = 460800 I