LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-30-2005, 05:58 AM   #1
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
Apple Cinema 23" HD only works with NV driver


Hello

I've got a problem getting my new Apple Cinema 23" HD (Alu) Display working in 1920x1200 res. The display will only work in the full 1920 x 1200 resolution when using the generic NV driver.

If I try and use the NVidia driver the monitor blanks out and the warning light comes on.

I know the NVidia drivers do work OK and I can bodge the xorg file to make them work at 1650x1050 by commenting out a lot of the file and letting Ubuntu autodetect a resolution, but it seems that 1650x1050 is the max that the NVidia drivers will display.

I've tried adding all sorts of modelines but I always get a blank monitor with warning light, For example:
#Modeline "1920x1200" 153.970 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync

I also tried to install the official drivers from the NVidia website instead of Ubuntu's package but the installer seems to fail after compiling for some reason.

Anyone had any sucess with this display and Nvidia drivers?
 
Old 05-31-2005, 05:56 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Post XF86Config or xorg.conf. These files can be found in /etc/X11.

You can try to add Option "IgnoreEDID" in the driver section. This will force the X Window System to use the modeline that you specify without detecting the min and max ratings of the monitor. Option "NoDDC" is the same as Option "IgnoreEDID". Adding Option "ConnectedMonitor" will also help too. You can also add Option "IgnoreDisplayDevices".

Read the README.txt that comes with nVidia drivers. In runlevel 3, run X Window System by doing "startx -- -logverbose 5" and check the logs in /var/log. Use http://xtiming.sourceforge.net/cgi-bin/xtiming.pl to help you make the modelines without using a calculator.

I never had problems installing nVidia modules (drivers) in Mandrake and Slackware. Soon I need to install them in Gentoo.

I do not have this display because it is too dam expensive. I go for Dell's 20 inch LCD monitor because it is better than Apple's display and it supports several resolutions.
 
Old 06-01-2005, 03:48 AM   #3
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks for the reply. I'll try some of those flags in xorg.conf. A few things though:

1. I can't use the modeline calculator as it is not possible to find out some of the settings (for example dot clock) as Apple don't list them. I've used a utility under windows which generates the required modeline.

2. The majority of the xorg.conf file seems to be ignored as some kind of autodection is talking place. Like I said the same xorg.conf file works fine at 1920x1200 with NV drivers (without a modeline, not tried with) but not with NVidia drivers. I thought it might be the version of the Nvidia drivers I had so I was trying to use the ones from the NVidia website rather than Ubuntus packaged ones. I don't normally have a problems with Nvidia drivers, I'll look into why this is failing, I think it's when the module has been compiled and is trying to be inserted.

Can't post xorg.conf at the moment as I'm not at my PC.

Thanks.
 
Old 06-07-2005, 05:44 PM   #4
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
I got it working.

To recap: I could only get the full 1920x1200 resolution when using the NV drivers. If I tried the NVidia drivers the monitor wouldn't work or I only get 1650x1050 resolution maximum. No amount of modelines or options in xorg.conf would sort it.

I upgraded the graphics card from a (Leadtek) NVidia 5600FX to a (Gigabyte) Nvidia 6600 and the display now works perfectly using the Nvidia drivers at full 1920x1200 resolution WITHOUT any modelines or obscure options (xorg file attached below). As an aside, lots of other resolutions also work fine including text mode.

Maybe the Nvidia drivers have a bug or maybe they're designed not to provide above 1680x1050 on older/lower end cards?

For the record here is my working 1920x1200 nvidia enabled xorg.conf for the Apple Cinema 23" HD display:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

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

Section "Device"
Identifier "NVIDIA GeForce 6600"
Driver "nvidia"
#Driver "nv"
#BusID "PCI:3:0:0"
VideoRam 256
#Option "NoLogo"
EndSection

Section "Monitor"
Identifier "AppleHD23"
Option "DPMS"
HorizSync 30-75
VertRefresh 30-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA GeForce 6600"
Monitor "AppleHD23"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1200" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Linux onto an "oldworld" PPC Apple? Thymox Linux - General 11 03-23-2006 12:23 PM
Apple Cinema Display linux-rulz Linux - Hardware 5 09-04-2005 11:31 PM
Apple ipod Shuffle works! crxssi Linux - Hardware 5 05-07-2005 07:07 PM
Where can I find Apple like "dock"? coopns Linux - Newbie 2 06-25-2004 09:14 PM
NVIDIA driver error: "Card0" isn't valid for this driver" drenal Linux - Hardware 1 01-28-2004 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration