Sony Laptop, Linux Mint and Intel 830MG

Soldato
Joined
9 Jan 2003
Posts
21,106
Location
Cornwall
ok my old sony Vaio PCG R600HFPD (with onboard Intel 830MG) will only display at 800x600 but the screens native is 1024x768!
there isn't any option for 1024x768!
any idea what I'm doing wrong?
also the wireless doesn't work but I think thats really broke as I can get that working with another card.
Code:
-PCI Devices-
Host bridge		: Intel Corporation 82830 830 Chipset Host Bridge 
VGA compatible controller		: Intel Corporation 82830 CGC [Chipset Graphics Controller] 
Display controller		: Intel Corporation 82830 CGC [Chipset Graphics Controller]
USB Controller		: Intel Corporation 82801CA/CAM USB Controller #1 
USB Controller		: Intel Corporation 82801CA/CAM USB Controller #2 
USB Controller		: Intel Corporation 82801CA/CAM USB Controller #3 
PCI bridge		: Intel Corporation 82801 Mobile PCI Bridge 
ISA bridge		: Intel Corporation 82801CAM ISA Bridge 
IDE interface		: Intel Corporation 82801CAM IDE U100 Controller 
SMBus		: Intel Corporation 82801CA/CAM SMBus Controller 
Multimedia audio controller		: Intel Corporation 82801CA/CAM AC'97 Audio Controller 
FireWire (IEEE 1394)		: Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller 
CardBus bridge		: Ricoh Co Ltd RL5c475 
Ethernet controller		: Intel Corporation 82801CAM 
CardBus bridge		: Texas Instruments PCI1410 PC card Cardbus Controller 
Network controller		: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
 
Last edited:
no-one?
can't even find xorg.conf to edit! would have thought it would be in etc/x11/xorg.conf but no joy!
 
Last edited:
no-one?
can't even find xorg.conf to edit! would have thought it would be in etc/x11/xorg.conf but no joy!

Try 'sudo X -configure' to generate one. You might find yourself needing to install the Intel graphics driver, though. I'm not sure what the package name is, but you can probably find it in Synaptic. :)
 
ahhhh

Code:
Fatal server error:
Server is already active for display 0
	If this server is no longer running, remove /tmp/.X0-lock
	and start again.


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

 ddxSigGiveUp: Closing log
damnit!

someone sugested doing that in command line only would work, brb
 
Last edited:
ahhhh

Code:
Fatal server error:
Server is already active for display 0
	If this server is no longer running, remove /tmp/.X0-lock
	and start again.


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

 ddxSigGiveUp: Closing log
damnit!

someone sugested doing that in command line only would work, brb

Sorry, yes, I should have specified that. >.<

If that fails, the next thing to do (if you haven't already) is look for the relevant driver. :)
 
seems to have the right driver already running!

Try generating a config from runlevel 3, where X is not running.

as root (or sudo): telinit 3

that will drop you down to a command prompt with no X windows.

Login as root (or sudo) and do as JHeaton said: X -configure

This 'should' generate a config file in ~/root, you will need to move it to /etc/X11/xorg.conf, and possibly edit it further if your desired res isnt auto added by the config generator. Reboot to return to X.

Basically as said, when there is no config file X provides basic defaults hence the 800x600. Hopefully dropping to runlevel 3 will bypass the errors you've been getting.

Jack
 
Last edited:
in a way that tried to force it to 1024x768 when booting but I think I messed up
sudo telinit 3 does nothing
I'll upload a pic of the issue in a second
 
Try:

sudo service gdm stop to drop down to a console with no X or loaded video drivers. Then X -configure should work.

Apparently mint runs everything in runlevel 2, I have no idea why.
 
:) Least you have one now, hopefully it will be trivial to get to the correct res now.

my fear is that even if I have the correct res in the options it will not display. I get the feeling it's messing up because of the dual head setup (laptop has VGA out) so maybe it's picking that up :S
have to see, rebooting atm.
 
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "dri2"
	Load  "extmod"
	Load  "dri"
	Load  "dbe"
	Load  "glx"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "82830 CGC [Chipset Graphics Controller]"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card1"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "82830 CGC [Chipset Graphics Controller]"
	BusID       "PCI:0:2:1"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1024x768" "800x600" "640x480"
	EndSubSection
EndSection
doesn't show up as an option in the menu! AHHHHHHHHHHH
 
Hmm might be worth having a read of this site: http://intellinuxgraphics.org/dualhead.html It discusses 2 methods one with xorg.conf and one with xrandr.

If you can, xrandr is probably the best road to go down.

Sorry I cant be much more help, I know dual screen manual Xorg'ing is a nightmare! Thankfully the Nvidia autoconfig for dual screens does a good job. Looks like you will have to manually work it out though :(

Also, monitor /var/log/Xorg.0.log there may be some helpful pointers in there.
 
xrandr says
Code:
andrew@andrew-laptop ~ $ xrandr -q
Screen 0: minimum 320 x 200, current 800 x 600, maximum 2048 x 2048
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x600        85.1     72.2     75.0*    60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1
any idea where it gets this from as this is the options I get in the menu.

found this thread and followed it
http://ubuntuforums.org/showthread.php?t=945465&page=1
Code:
andrew@andrew-laptop ~ $ sudo xrandr --addmode LVDS1 laptopX Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  23
  Current serial number in output stream:  24
and get that :(
further delving says that error 18 is about the hardware/driver not supporting the res you want?
 
Last edited:
Back
Top Bottom