Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Howto] Setup xorg / nvidia / Plasma TV
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
aussiemale
n00b
n00b


Joined: 21 Oct 2006
Posts: 32
Location: Melbourne, Australia

PostPosted: Sat Apr 18, 2009 1:45 am    Post subject: [Howto] Setup xorg / nvidia / Plasma TV Reply with quote

Recently setup my media centre to play HDTV content using the nVidia proprietary driver with XvMC. There is not a lot of documentation on how to do this so below is how I got the Xorg part working.

This HowTo assumes that you have installed all the required software including your xorg server (with evdev and hal enabled) Desktop Environment / Window Manager and Media Centre Software and necessary kernel modules to get your DVB card recognised in your chosen Media Centre Software and the correct nVidia proprietry driver for your graphics card. All that is left for you to do is get the correct xorg.conf file.

Below are the media centre specs.

CPU: AMD AthlonXP 2800+
Memory: 1GB DDR
Graphics: nVidia GeForce FX5200 AGP 128MB
HDD: WD 500GB
DVB Card: Leadtek WinFast DTV2000 H Type J
Plasma TV: Conia 760p
OS: Gentoo Linux
Kernel: gentoo-sources-2.6.27-r10
nvidia driver: 173.14.15
Xorg Server: 1.5.3-r5
Desktop: Gnome Light
Media Centre Software: MythTV 0.21_p18314-r1

It is quite difficult setting up the nvidia proprietary driver for use on certain Plasma TVs as there is not a lot of documentation on the web for it and a lot of older / cheaper plasma TVs run at a very low refresh rate. I did however find some help here http://en.gentoo-wiki.com/wiki/MythTV/MythTv/OldSetup and here http://www.mythtv.org/wiki/XvMC#NVIDIA_2. These combined with a little of my own tweaking got the xorg.conf file below to work. The new setup works an absolute treat! Enjoy!

/etc/X11/xorg.conf
Code:
Section "Monitor"
    Identifier  "ConiaTV"
    HorizSync       14 - 18.0 #kHz
    VertRefresh     45 - 65.0 #Hz
EndSection

Section "Device"
        Identifier      "GeForce FX5200 128MB"
        Driver          "nvidia"
        Option          "ModeValidation"        "AllowNon60HzDFPModes, NoMaxPClkCheck, NoEdidMaxPClkCheck, AllowInterlacedModes, NoMaxSizeCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoWidthAlignmentCheck, NoDFPNativeResolutionCheck, NoVirtualSizeCheck, NoVesaModes, NoEdidModes, NoXServerModes, NoPredefinedModes"
        Option          "NoLogo"                "True"
        Option          "DPMS"                  "False"
        Option          "XvmcUsesTextures"      "False"
        Option          "UseEvents"             "True"
        Option          "NVAGP" "2"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "GeForce FX5200 128MB"
        Monitor         "ConiaTV"
        SubSection      "Display"
                Modes   "702x576@25i" "704x576@25i" "720x576@25i" "768x576@25i" "768x576@50" "720x576@60" "720x576i"
                Depth   24
        EndSubSection
EndSection

Section "Extensions"
      Option "Composite" "Disabled"
EndSection


emerge --info
Code:
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r10-i686-AMD_Athlon-tm-_XP_2800+-with-glibc2.0
Timestamp of tree: Sun, 12 Apr 2009 21:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.iinet.net.au/pub/Gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa apic avahi berkdb bindist bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cli cmov cracklib crypt cups cx8 daap dbus de dga dri dvb dvd dvdr dvdread eds emboss encode esd evo exif fam fbcondecor ffmpeg firefox flac fortran fpu fxsr gdbm gif glitz gnome gpm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog java javascript jpeg ldap libnotify logrotate mad madwifi mca mce mdnsresponder-compat midi mikmod mmx mmxext mp mp2 mp3 mp4 mpeg mplayer msr mtrr mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pae pam pat pcre pdf perl pge png posix ppds pppd pse pse36 python qt3 qt3support qt4 quicktime readline reflection rss samba sdl sep session spell spl sqlite sse ssl startup-notification svg syscall sysfs tcpd tiff transcode truetype tsc unicode usb vcd vme vorbis wifi win32codecs wma x264 x86 xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="snd_intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hoo ks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Please feel free to add your own experiences with this type of setup so we can all learn :D
_________________
(IRC: weirdedout)
9 Gentoo Boxes & growing!
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1552
Location: Adelaide/Australia

PostPosted: Mon Feb 21, 2011 4:46 am    Post subject: Reply with quote

FYI: There is quite a bit of documentation in

Code:
/usr/share/doc/nvidia-drivers-260.19.36/README.bz2


where, the driver version varies.
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum