LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2012, 06:20 PM   #1
Emayesoen
LQ Newbie
 
Registered: Jan 2012
Posts: 7

Rep: Reputation: Disabled
ubuntu 11.10 Unknown monitor


Hello Everyone,
The other day I thought, "Hey. I want something new. Why not linux?" So I downloaded ubuntu 11.10 and installed. After installation I had to edit my grub file so boot would not leave me with a blank screen. It successfully worked.

But one MAJOR problem which is really irritating me is the display settings. Hopefully you guys and experts can guide me through the process of fixing this. Just for you to know: I'm not a big expert on drivers/hardware. All I know is that on windows (I dual Boot), my max screen res is 1366 x 768 pixels, which is 16:9.

My only two available options are:
1024 x 768 4:3
800 x 600 4:3

It also Says 'Monitor Unknown'
I tried finding out solutions to to fix this, and even threads that said, 'solved' I still didn't understand. That's why I am resorting to making my own thread, asking for guidance. Hopefully you can guide me through the process of fixing this problem.
Many Thanks
- Emayesoen
 
Old 01-13-2012, 10:16 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,595

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I have a monitor that is not properly detected by Xorg. My solution is to add a custom /etc/X11/xorg.conf file that contains everything needed for the proper utilization of my monitor.
You can start by executing, from a terminal window, as root, the command
Code:
Xorg -configure :1
This will create the file /root/xorg.conf.new which should be edited to conform to your monitor. If nothing else, you will need to specify the graphics mode (1366x768) via an appropriate modeline command in the Monitor section, and an appropriate mode in the Screen section. The command
Code:
gtf 1366 768
executed in a terminal window should give you the modeline you need. From my xorg.conf file (needed so I can get 1680x1050 on my monitor):
Code:
Section "Monitor"
	#UseModes     "Modes0" #monitor0usemodes
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	DisplaySize  432	270
	HorizSync    30.0 - 86.0
	VertRefresh  56.0 - 76.0
	ModeLine     "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
	Option	    "PreferredMode" "1680x1050"
EndSection

<snip>

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     24
        Option "IgnoreEDID" "TRUE"
		Modes    "1680x1050" "1280x1024"
	EndSubSection
EndSection
 
1 members found this post helpful.
Old 01-13-2012, 10:33 AM   #3
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
give the output to lsmod and lspci or if you know you have nvidia/intel/amd graphics you can go that route for the kernel modules/drivers. Also I believe ubuntu has something in there gui (not sure what it's called I don't use ubuntu) that is a 'click to install proprietary drivers' thing which may work.

As for setting the resolution you can use xrandr and set pretty much any resolution you want how you want to set it if you're not using nvidia proprietary. Hope that helps.
 
1 members found this post helpful.
Old 01-13-2012, 03:11 PM   #4
Emayesoen
LQ Newbie
 
Registered: Jan 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RockDoctor View Post
Code:
Xorg -configure :1
When I run this, this pops up:
Code:
sudo: nvidia-xconfig: command not found
mason@mason-PC:~$ clear

mason@mason-PC:~$ Xorg -configure :1

Fatal server error:
Cannot open log file "/var/log/Xorg.1.log"


Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 

 ddxSigGiveUp: Closing log
And when I run:
Code:
gtf 1366 768
This pops up:
Code:
usage: gtf x y refresh [-v|--verbose] [-f|--fbmode] [-x|--xorgmode]

            x : the desired horizontal resolution (required)
            y : the desired vertical resolution (required)
      refresh : the desired refresh rate (required)
 -v|--verbose : enable verbose printouts (traces each step of the computation)
  -f|--fbmode : output an fbset(8)-style mode description
 -x|--xorgmode : output an Xorg-style mode description (this is the default
                if no mode description is requested)
I am quite confused.
Quote:
Originally Posted by celthunder
give the output to lsmod and lspci
Here is what appears when I type in lsmod:
Code:
Module                  Size  Used by
parport_pc             32114  0 
ppdev                  12849  0 
vesafb                 13489  1 
bnep                   17923  2 
rfcomm                 38408  0 
bluetooth             148839  10 bnep,rfcomm
snd_hda_codec_realtek   254125  1 
snd_hda_intel          24262  2 
snd_hda_codec          91754  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13276  1 snd_hda_codec
snd_pcm                80435  2 snd_hda_intel,snd_hda_codec
joydev                 17393  0 
snd_seq_midi           13132  0 
arc4                   12473  2 
uvcvideo               67271  0 
snd_rawmidi            25241  1 snd_seq_midi
videodev               85626  1 uvcvideo
snd_seq_midi_event     14475  1 snd_seq_midi
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
ath9k                 112711  0 
mac80211              393459  1 ath9k
snd_timer              28932  2 snd_pcm,snd_seq
snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
psmouse                73673  0 
serio_raw              12990  0 
ath9k_common           13599  1 ath9k
ath9k_hw              293933  2 ath9k,ath9k_common
ath                    19387  2 ath9k,ath9k_hw
snd                    55902  13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
cfg80211              172392  3 ath9k,mac80211,ath
i915                  505159  0 
soundcore              12600  1 snd
drm_kms_helper         32889  1 i915
snd_page_alloc         14115  2 snd_hda_intel,snd_pcm
drm                   192194  2 i915,drm_kms_helper
i2c_algo_bit           13199  1 i915
binfmt_misc            17292  1 
acer_wmi               23302  0 
sparse_keymap          13658  1 acer_wmi
mxm_wmi                12859  0 
video                  18908  1 i915
wmi                    18744  2 acer_wmi,mxm_wmi
lp                     17455  0 
parport                40930  3 parport_pc,ppdev,lp
usbhid                 41905  0 
hid                    77367  1 usbhid
ahci                   21634  2 
libahci                25727  1 ahci
atl1c                  36638  0
And when I type in lspci:
Code:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
04:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
05:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)
I'm sorry for the amount of code (and length of this post) I'm just hoping to get this issue resolved.
When I run xrandr:
Code:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       61.0* 
   800x600        61.0
I think I can set any size I want, but limited to what the minimum and maximum are. I need a resolution above maximum. :/
 
Old 01-13-2012, 03:33 PM   #5
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
the two lines that are important (as far as I know) from lspci are these two

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)

lsmod shows you're using i915 and kms (I think)
drm_kms_helper 32889 1 i915
drm 192194 2 i915,drm_kms_helper
i2c_algo_bit 13199 1 i915
i915 505159 0
video 18908 1 i915

which looks right (i915 is for intel anyway).

not sure what the gtf command is

Xorg -configure run as root or use sudo.
 
1 members found this post helpful.
Old 01-13-2012, 03:50 PM   #6
Emayesoen
LQ Newbie
 
Registered: Jan 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by celthunder
Xorg -configure run as root or use sudo.
I'm sorry (mainly for being a complete noob). I do know what the xorg.conf file is. I acess it by:
Code:
gksudo gedit /etc/X11/xorg.conf
But what exactly are you telling me to do? Thanks
- Emayesoen

EDIT: Just to help you help me, this is the content of my xorg.conf file.
Code:
Section "Device"
	Identifier	"Configured Video Device"
	Driver		"vesa"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"

EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection
I have messed around with it (mainly trying to find a fix), but before I did that, I remember first following a tutorial that says to back it up, using this code
Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
I did this, made a back up, but don't know how to access it in gedit.

Last edited by Emayesoen; 01-13-2012 at 03:54 PM. Reason: To help the helper help me with my situation.
 
Old 01-13-2012, 03:54 PM   #7
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
you ran it as your user

mason@mason-PC:~$ Xorg -configure :1

run that as root or use sudo sorry the other info was just me thinking out loud.
 
1 members found this post helpful.
Old 01-13-2012, 04:05 PM   #8
Emayesoen
LQ Newbie
 
Registered: Jan 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by celthunder View Post
you ran it as your user

mason@mason-PC:~$ Xorg -configure :1

run that as root or use sudo sorry the other info was just me thinking out loud.
Here is what Came up after doing 'sudo su' ,which apeared when I googled how to run as root. I think it is correct because this is the code that appeared after typing 'Xorg -configure :1'
Code:
root@mason-PC:/home/mason# Xorg -configure :1

X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-29-server i686 Ubuntu
Current Operating System: Linux mason-PC 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=7597402f-906b-4173-9efd-395ede0da2ff ro quiet splash i915.modeset=0 xforcevesa vt.handoff=7
Build Date: 19 October 2011  05:09:41AM
xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.22.2
	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.1.log", Time: Fri Jan 13 17:03:12 2012
List of video drivers:
	qxl
	savage
	neomagic
	sis
	sisusb
	intel
	mga
	ztv
	geode
	mach64
	siliconmotion
	r128
	nouveau
	trident
	radeon
	tdfx
	s3
	cirrus
	ati
	vmwlegacy
	vmware
	openchrome
	fbdev
	vesa
(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
(EE) vmware: Unexpected failure while loading the "vmwlegacy" driver. Giving up.
(EE) Failed to load module "vmware" (a required submodule could not be loaded, 134912947)
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.
 ddxSigGiveUp: Closing log
 
Old 01-13-2012, 04:08 PM   #9
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
are you running this in vmware?
 
Old 01-13-2012, 04:11 PM   #10
Emayesoen
LQ Newbie
 
Registered: Jan 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by celthunder View Post
are you running this in vmware?
No. I downloaded ubuntu 11.10, then wrote to a CD. After a while of playing around, I took away 30 GB from my hard drive (windows side) and installed ubuntu. Vmware is a virtual OS runner, right?

I think you ask that because in the drivers in my post above it says VMWARE. I honestly don't know why that is there, but I don't really know much about drivers.

Last edited by Emayesoen; 01-13-2012 at 04:12 PM. Reason: Add on.
 
Old 01-13-2012, 04:18 PM   #11
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
hmm last idea from me blacklist the vmware module and tell xorg to use intel the real weird issue is

Number of created screens does not match number of detected devices.
Configuration failed.

which I'm not entirely sure how to fix.


Sorry mate hope someone else more informed can help you and we can both learn something.
 
Old 01-13-2012, 04:24 PM   #12
Emayesoen
LQ Newbie
 
Registered: Jan 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by celthunder View Post
hmm last idea from me blacklist the vmware module and tell xorg to use intel the real weird issue is

Number of created screens does not match number of detected devices.
Configuration failed.

which I'm not entirely sure how to fix.


Sorry mate hope someone else more informed can help you and we can both learn something.
Alright. Thanks for the help you've guided me through so far.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fresh ubuntu installation, unknown monitor varonbondumb Linux - Newbie 2 02-01-2011 12:15 AM
[SOLVED] How to detect Monitor (Ubuntu 9.10, It is showing unknown monitor ) kumarvikas_2009 Linux - Newbie 3 04-22-2010 12:00 AM
Ubuntu 9.10 Unknown Monitor basheer Ubuntu 4 12-03-2009 11:15 PM
Probing for monitor type: Unknown Monitor mlykam Linux - Software 1 03-17-2005 11:12 AM
Probing for monitor type: Unknown Monitor Greenman Linux - Distributions 1 07-28-2004 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration