Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-25-09, 05:40 AM   #1
IndyUK
Registered User
 
Join Date: Aug 2009
Posts: 8
Default I could really use some help...

Hi All,

Could someone please help me out with regards to setting up nVidia and Linux. I'm running Ubuntu 64 9.04 and everything has installed perfectly. The problem is that when I install the nvidia driver the display is slightly too big for my 42 plasma TV. When I say slightly, it's about half the height of the Gnome task bar. I connect using a DVI-HDMI cable which means that I'm not able to access the screen setup on my TV.

I read lots of articles on Modes and Modelines but either what I try doesn't work or I don't quite understand what to do. What really frustrates me is that everything works pretty well in Windows but I don't want to use Windows, besides it's a HTPC using XBMC and I want to use the hardware decoding engine.

Could somebody please help me out so I can get my system setup? I've spent so long on this that I'm beginning to lose patience.

Thanks for reading.
IndyUK is offline   Reply With Quote
Old 08-26-09, 02:51 PM   #2
IndyUK
Registered User
 
Join Date: Aug 2009
Posts: 8
Default Re: I could really use some help...

So no one has any idea what the problem is or how to fix it? Or is my description of the problem not explicit enough? I can't really describe it any more than what I've already done.

Please tell me if you need more info.
IndyUK is offline   Reply With Quote
Old 08-26-09, 03:27 PM   #3
mooninite
Registered User
 
Join Date: May 2006
Posts: 477
Default Re: I could really use some help...

From what you describe it sounds like you are experiencing overscan, but you shouldn't be seeing it on a DVI interface.

When you say "everything works pretty well in Windows" do you mean your screen is 1:1 and you do not have any parts of the screen chopped off or is it the same?
mooninite is offline   Reply With Quote
Old 08-26-09, 03:31 PM   #4
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: I could really use some help...

Quote:
Originally Posted by IndyUK View Post
[...]the display is slightly too big for my 42 plasma TV. When I say slightly, it's about half the height of the Gnome task bar.
???

Maybe you can provide a photo?

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 08-26-09, 04:17 PM   #5
IndyUK
Registered User
 
Join Date: Aug 2009
Posts: 8
Default Re: I could really use some help...

Quote:
Originally Posted by JaXXoN View Post
???

Maybe you can provide a photo?

regards

Bernhard
The first pic shows how much smaller the mode is without the nvidia driver. The second shows the screen stretched but missing half the task-bar. The Windows version of the driver allows custom resizing which means I can use slider-bars to get the screen to fit. Once I've done this I end with a resolution 1224x694_59. However, if I put this in my xorg.conf file it gets ignored at boot-up because it's regarded as "incompatible".

I really want to use Linux because XBMC allows the use of the VDPAU, which means better performance and besides I'm sick of Windows crashing XBMC almost everyday.

Thanks guys for coming back to me.
Attached Thumbnails
Click image for larger version

Name:	IMG_0121.jpg
Views:	71
Size:	157.3 KB
ID:	38031  Click image for larger version

Name:	IMG_0122.JPG
Views:	84
Size:	277.5 KB
ID:	38032  
IndyUK is offline   Reply With Quote
Old 08-26-09, 04:36 PM   #6
mooninite
Registered User
 
Join Date: May 2006
Posts: 477
Default Re: I could really use some help...

Quote:
Originally Posted by IndyUK View Post
Once I've done this I end with a resolution 1224x694_59. However, if I put this in my xorg.conf file it gets ignored at boot-up because it's regarded as "incompatible".
This was an important piece of information. Yes, you'll need to find the right modeline to fit exactly on your screen.

Having the screen slightly cut off won't prevent you from playing videos though.
mooninite is offline   Reply With Quote
Old 08-26-09, 05:57 PM   #7
Lost Dog
Registered User
 
Join Date: Aug 2007
Posts: 151
Default Re: I could really use some help...

I thought with the modern drivers modelines were not needed. It looks like standard overscan.

Can you set your TV to a 1:1 mode or "native" mode?

Here is the screen section of my xorg.conf:

Code:
Section "Screen"

    Identifier     "Screen0"
    Device         "Device0"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/55SV670u.edid"
    Option         "ModeValidation" "NoVertRefreshCheck,NoHorizSyncCheck"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "DPI" "100 x 100"
    Option         "NoLogo" "True"
    Option         "UseEvents" "False"
    SubSection     "Display"
        Modes      "nvidia-auto-select"
        Depth       24
    EndSubSection
EndSection
My display runs 1080p and using "native" (Toshiba TV) I get no overscan.

Edit:

That amount of overscan looks perfectly acceptable. Most TV's give more than that. Running 1:1 you'll sometimes see the audio track information at the top of the picture.
Lost Dog is offline   Reply With Quote
Old 08-26-09, 06:07 PM   #8
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: I could really use some help...

What's the native resolution of the panel? 1224x694 sound pretty unusual!

As mooninite pointed out you probably need to create a modeline
specific to your TV and add it to the monitor section of your xorg.conf.

There does exist a modeline generation tool, i.e. you may try this
on a command line:

Code:
gtf 1224 694 60
which will show

Code:
# 1224x694 @ 60.00 Hz (GTF) hsync: 43.14 kHz; pclk: 68.68 MHz
Modeline "1224x694_60.00"  68.68  1224 1280 1408 1592  694 695 698 719  -HSync +Vsync
However, modelines generated with gtf will not always do the trick - in order
to get the very exact timing as used on Windows, please execute the
nvidia configuration tools (on Windows) and post (a screenshot of) the
timings to be found at "Custom Resolutions". I can then easily create
the modeline out of that.

BTW.: it would be very helpful if you would provide a full "nvidia-bug-report.log".
(run nvidia-bug-report.sh as root, then zip and post the resulting log file).

regards

Bernhard
JaXXoN is offline   Reply With Quote

Old 08-26-09, 06:09 PM   #9
IndyUK
Registered User
 
Join Date: Aug 2009
Posts: 8
Default Re: I could really use some help...

Quote:
Originally Posted by Lost Dog View Post
Can you set your TV to a 1:1 mode or "native" mode?
Sorry, but I don't know what you mean. Are you referring to whether my TV can be set to native HDMI mode?

With regards to your xorg.conf file, how much of that is specific to your Toshiba? Here's a copy of my xorg.0.log at bootup (only the TV part). Maybe this might give some clues as to what my TV is capable of displaying.

Code:
X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux iserver-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Build Date: 09 April 2009  02:10:02AM
xorg-server 2:1.6.0-0ubuntu14 (buildd@rothera.buildd) 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 21 00:32:53 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x3bc0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 5.0
	X.Org XInput driver : 4.0
	X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0@1:0:0) nVidia Corporation unknown chipset (0x065b) rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/524288
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[b]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[b]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[b]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[b]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[b]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[b]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  185.18.14  Wed May 27 03:09:07 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  185.18.14  Wed May 27 02:32:54 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[b]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[b]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[b]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[b]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[b]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[b]
(**) 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" "1280x720_60 +0+0; 1024x768_60 +0+0; nvidia-auto-select +0+0; 1280x720 +0+0; 800x600 +0+0; 720x480 +0+0; 320x240 +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 9400 GT (G96) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 524288 kBytes
(--) NVIDIA(0): VideoBIOS: 62.94.64.00.00
(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 9400 GT at PCI:1:0:0:
(--) NVIDIA(0):     PANASONIC-TV (DFP-0)
(--) NVIDIA(0): PANASONIC-TV (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): PANASONIC-TV (DFP-0): Internal Dual Link TMDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1024x768_60+0+0"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x720_60+0+0"
(II) NVIDIA(0):     "nvidia-auto-select+0+0"
(II) NVIDIA(0):     "1280x720+0+0"
(II) NVIDIA(0):     "800x600+0+0"
(II) NVIDIA(0):     "720x480+0+0"
(II) NVIDIA(0):     "320x240+0+0"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 720
(WW) NVIDIA(0): PANASONIC-TV (DFP-0)'s EDID does not contain a maximum image
(WW) NVIDIA(0):     size; cannot compute DPI from PANASONIC-TV (DFP-0)'s
(WW) NVIDIA(0):     EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(==) 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] -1	0	0xffffffff - 0xffffffff (0x1) MX[b]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[b]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[b]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[b]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[b]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[b]
(II) NVIDIA(0): Initialized GPU GART.
(II) NVIDIA(0): Setting mode "1280x720_60+0+0"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(==) NVIDIA(0): Disabling shared memory pixmaps
(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
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(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 extension GLX
(II) config/hal: Adding input device Logitech Logitech USB Keyboard
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.6.0, module version = 2.1.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 4.0
IndyUK is offline   Reply With Quote
Old 08-26-09, 08:55 PM   #10
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: I could really use some help...

Out of curiosity, I googled for "1224x694" and according to this one:
http://www.avforums.com/forums/hdmi-...asma-hdmi.html
it seems that you in fact need a modeline for that strange resolution.

In the linked thread, somebody extracted the custom resolutions with a windows
tool called "powerstrip" that also provide modeline information
(that goes into the monitor section):

Code:
Modeline "1224x694" 74.250 1224 1372 1412 1648 694 721 726 750 -hsync -vsync
In order to get then nvidia driver accepting the custom modeline,
you may need to add the following options to the screen section:

Code:
Option  "UseEDID" "False"
Option  "ExactModeTimingsDVI"  "True"
If doing so, then for the above given modeline, you also need to
add the following entries to the monitor section of your xorg.conf:

Code:
HorizSync      50-60
VertRefresh    55-65
regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 08-27-09, 11:58 AM   #11
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: I could really use some help...

Correction:

Code:
HorizSync      40-50
VertRefresh    55-65
regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 08-27-09, 12:24 PM   #12
petohl
Registered User
 
Join Date: Aug 2009
Posts: 5
Default Re: I could really use some help...

this problem have I too, see http://www.nvnews.net/vbulletin/showthread.php?t=137851

LCD TV accept fullHD resolution, but native resolution is 1360x768 (and picture is not in full screen - is large). When I set native resolution in Windows 7, picture is prefect (stretched to full screen)
petohl is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:13 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.