Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VESA VGA : stuck on 640x480 mode (Solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 701
Location: Close to Annecy (France)

PostPosted: Tue Aug 23, 2011 9:38 am    Post subject: VESA VGA : stuck on 640x480 mode (Solved) Reply with quote

Hello,

I'm installing Gentoo a DELL SX260 running an Intel (i915 driver).

Unfortunately, i915 driver is totally instable, so based on "Kernel Seed" advices, I switched to VESA VGA mode.
Providing
Code:
video=vesafb:mtrr:3,ywrap vga=0x305
options to my kernel, I got a nice 1024x768 console but when I launch startx (without any X configuration), I got only a standard SVA screen : 640x480.

Can someone teach me how to got an hi-res screen for X ?

Thanks

Laurent


Last edited by destroyedlolo on Thu Aug 25, 2011 9:35 am; edited 1 time in total
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Tue Aug 23, 2011 2:06 pm    Post subject: Reply with quote

With an Intel video card, you should disable vesafb from your kernel configuration, and delete the vga= and video= parameters. (Actually I don't think you need to take vesafb out of your kernel, but it wouldn't be doing anything if you remove the vga= and video= parameters.)

For the i915 driver, make sure you have enabled the option CONFIG_DRM_I915_KMS, which will turn on kernel mode setting. If you have build i915 into the kernel it will load up a framebuffer almost immediately. If you have built it as a module, it will start the framebuffer part way through the boot. It should start with ideal video settings.

X video drivers are separate from the frambuffer drivers, but ever since the introduction of KMS, if things are misconfigured, you will end up with a very unstable X.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 701
Location: Close to Annecy (France)

PostPosted: Tue Aug 23, 2011 3:38 pm    Post subject: Reply with quote

mikegpitt wrote:
For the i915 driver, make sure you have enabled the option CONFIG_DRM_I915_KMS, which will turn on kernel mode setting. If you have build i915 into the kernel it will load up a framebuffer almost immediately. If you have built it as a module, it will start the framebuffer part way through the boot. It should start with ideal video settings.


With i915 enabled, I didn't succeeded to make X working for more than 10'. Sooner or later, I got some screen corruption and finally a big system hangs. Doing some search, I found lot of reports/discuss about the instability of intel driver for the gfx card embedded in my Dell ... and I experienced the same wihile booting Ubuntu on this machine.

mikegpitt wrote:
X video drivers are separate from the frambuffer drivers, but ever since the introduction of KMS, if things are misconfigured, you will end up with a very unstable X.


I'm easy with Unix as I'm working on HP-UX, Solaris or NetBSD or Ubuntu for long time. But I'm a nOOb on regarding Linux kernel and X config so I'm very open to improve my knowledge :D

Which information can I provide to find out potential mis-configuration ?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Tue Aug 23, 2011 3:58 pm    Post subject: Reply with quote

destroyedlolo wrote:
Which information can I provide to find out potential mis-configuration ?
The misconfiguration I was referring to running a different framebuffer (e.g. vesafb, uvesafb) with KMS. This will always lead to the type of graphics distortions and instability you are mentioning. It could be that the instability is caused by something else, but it was my 1st guess.

Can you post your video card details from lspci?

What version xf86-video-intel drivers and xorg-server versions are you using? I would also try to start X without an xorg.conf, to see if it can auto-configure everything for you.

If the intel drivers really aren't panning out, install the xf86-video-vesa drivers for X (different from vesafb).

If you choose the intel drivers or the vesa drivers for X, 1st try seeing if you can get proper resolution without the vga= and video= parameters, to see if the problem is related to X or your framebuffer.

So to summarize, I would 1st try with the Intel X drivers with KMS enabled, and without vga= video=. If that doesn't work do the same with the vesa drivers, and then see if you can get it to work with a framebuffer.

(BTW - X requires KMS for the intel drivers these days -- it will work in some cases without KMS, but it isn't recommended.)
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Wed Aug 24, 2011 9:27 am    Post subject: Reply with quote

Also, what kernel version are you using?
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 701
Location: Close to Annecy (France)

PostPosted: Wed Aug 24, 2011 3:23 pm    Post subject: Reply with quote

DirtyHairy wrote:
Also, what kernel version are you using?

2.6.39-gentoo-r3

mikegpitt wrote:

Can you post your video card details from lspci?

00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)

mikegpitt wrote:

What version xf86-video-intel drivers and xorg-server versions are you using? I would also try to start X without an xorg.conf, to see if it can auto-configure everything for you

Code:
ebuild   R    ] x11-drivers/xf86-video-intel-2.14.0  USE="dri" 0 kB
[ebuild   R    ] x11-drivers/xf86-video-fbdev-0.4.2  0 kB
[ebuild   R    ] x11-drivers/xf86-video-vesa-2.3.0  USE="-debug" 0 kB
[ebuild   R    ] x11-drivers/xf86-input-evdev-2.6.0  0 kB
[ebuild   R    ] x11-base/xorg-server-1.10.2  USE="ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib -xnest -xvfb" 0 kB

I don't have any xorg.conf

mikegpitt wrote:

If the intel drivers really aren't panning out, install the xf86-video-vesa drivers for X (different from vesafb).

As per the output above, xf86-video-vesa is already installed. Not explicitely by me but perhasp automatically when I emerged X.

mikegpitt wrote:

If you choose the intel drivers or the vesa drivers for X, 1st try seeing if you can get proper resolution without the vga= and video= parameters, to see if the problem is related to X or your framebuffer.

The problem seems related to X because in both cases, I got an hi-res console (with a cool tux on top :D ).

mikegpitt wrote:

So to summarize, I would 1st try with the Intel X drivers with KMS enabled, and without vga= video=.

I got an hi res screen for both the console and X, but X is not stable.

mikegpitt wrote:

If that doesn't work do the same with the vesa drivers, and then see if you can get it to work with a framebuffer.

Here I got

  • an hi-res console; thanks to vga= parmeter. Without vga=, I got a stuck low res text only console.
  • a 640x480 X


In this situation, I got the following Xorg.0.log
Quote:
[ 1741.910]
X.Org X Server 1.10.2
Release Date: 2011-05-28
[ 1741.911] X Protocol Version 11, Revision 0
[ 1741.911] Build Operating System: Linux 2.6.38-gentoo-r6 i686 Gentoo
[ 1741.912] Current Operating System: Linux dell 2.6.39-gentoo-r3 #1 PREEMPT
Fri Aug 19 16:47:00 CEST 2011 i686
[ 1741.913] Kernel command line: root=/dev/sda3 video=vesafb:mtrr:3,ywrap vga
=0x0305
[ 1741.914] Build Date: 03 August 2011 02:58:26PM
[ 1741.915]
[ 1741.916] Current version of pixman: 0.22.0
[ 1741.917] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1741.918] Markers: (--) probed, (**) from config file, (==) default setting
,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1741.921] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 24 17:08:25 2
011
[ 1742.018] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1742.043] (==) No Layout section. Using the first Screen section.
[ 1742.043] (==) No screen section available. Using defaults.

[ 1742.043] (**) |-->Screen "Default Screen Section" (0)
[ 1742.043] (**) | |-->Monitor "<default monitor>"
[ 1742.043] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1742.043] (==) Automatically adding devices
[ 1742.043] (==) Automatically enabling devices
[ 1742.105] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 1742.105] Entry deleted from font path.
[...]

[ 1742.124] (==) FontPath set to:
/usr/share/fonts/misc/
[ 1742.124] (==) ModulePath set to "/usr/lib/xorg/modules"

[ 1742.124] (II) The server relies on udev to provide the list of input devic
es.
If no devices become available, reconfigure udev or disable AutoAddDev
ices.
[ 1742.124] (II) Loader magic: 0x81f5d80
[ 1742.124] (II) Module ABI versions:
[ 1742.124] X.Org ANSI C Emulation: 0.4
[ 1742.124] X.Org Video Driver: 10.0
[ 1742.124] X.Org XInput driver : 12.2
[ 1742.124] X.Org Server Extension : 5.0
[ 1742.124] (--) PCI:*(0:0:2:0) 8086:2562:1028:0138 rev 1, Mem @ 0xf0000000/1
34217728, 0xff680000/524288
[ 1742.125] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or di
rectory)
[ 1742.125] (II) LoadModule: "extmod"
[ 1742.149] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 1742.173] (II) Module extmod: vendor="X.Org Foundation"
[ 1742.173] compiled for 1.10.2, module version = 1.0.0
[ 1742.173] Module class: X.Org Server Extension
[ 1742.173] ABI class: X.Org Server Extension, version 5.0
[ 1742.173] (II) Loading extension MIT-SCREEN-SAVER
[ 1742.173] (II) Loading extension XFree86-VidModeExtension
[ 1742.173] (II) Loading extension XFree86-DGA

[ 1742.173] (II) Loading extension DPMS
[ 1742.173] (II) Loading extension XVideo
[ 1742.173] (II) Loading extension XVideo-MotionCompensation
[ 1742.173] (II) Loading extension X-Resource
[ 1742.173] (II) LoadModule: "dbe"
[ 1742.173] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 1742.188] (II) Module dbe: vendor="X.Org Foundation"
[ 1742.188] compiled for 1.10.2, module version = 1.0.0
[ 1742.188] Module class: X.Org Server Extension
[ 1742.188] ABI class: X.Org Server Extension, version 5.0
[ 1742.188] (II) Loading extension DOUBLE-BUFFER
[ 1742.188] (II) LoadModule: "glx"
[ 1742.216] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1742.247] (II) Module glx: vendor="X.Org Foundation"
[ 1742.247] compiled for 1.10.2, module version = 1.0.0
[ 1742.247] ABI class: X.Org Server Extension, version 5.0
[ 1742.249] (==) AIGLX enabled
[ 1742.249] (II) Loading extension GLX
[ 1742.249] (II) LoadModule: "record"
[ 1742.249] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 1742.257] (II) Module record: vendor="X.Org Foundation"
[ 1742.257] compiled for 1.10.2, module version = 1.13.0
[ 1742.257] Module class: X.Org Server Extension

[ 1742.257] ABI class: X.Org Server Extension, version 5.0
[ 1742.257] (II) Loading extension RECORD
[ 1742.257] (II) LoadModule: "dri"
[ 1742.257] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 1742.300] (II) Module dri: vendor="X.Org Foundation"
[ 1742.300] compiled for 1.10.2, module version = 1.0.0
[ 1742.300] ABI class: X.Org Server Extension, version 5.0
[ 1742.300] (II) Loading extension XFree86-DRI
[ 1742.300] (II) LoadModule: "dri2"
[ 1742.300] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 1742.318] (II) Module dri2: vendor="X.Org Foundation"
[ 1742.318] compiled for 1.10.2, module version = 1.2.0
[ 1742.318] ABI class: X.Org Server Extension, version 5.0
[ 1742.318] (II) Loading extension DRI2
[ 1742.318] (==) Matched intel as autoconfigured driver 0
[ 1742.318] (==) Matched vesa as autoconfigured driver 1
[ 1742.318] (==) Matched fbdev as autoconfigured driver 2
[ 1742.318] (==) Assigned the driver to the xf86ConfigLayout
[ 1742.318] (II) LoadModule: "intel"
[ 1742.354] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 1742.402] (II) Module intel: vendor="X.Org Foundation"
[ 1742.402] compiled for 1.10.2, module version = 2.14.0
[ 1742.402] Module class: X.Org Video Driver

[ 1742.402] ABI class: X.Org Video Driver, version 10.0
[ 1742.402] (II) LoadModule: "vesa"
[ 1742.412] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 1742.427] (II) Module vesa: vendor="X.Org Foundation"
[ 1742.427] compiled for 1.10.2, module version = 2.3.0
[ 1742.427] Module class: X.Org Video Driver
[ 1742.427] ABI class: X.Org Video Driver, version 10.0
[ 1742.427] (II) LoadModule: "fbdev"
[ 1742.427] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 1742.443] (II) Module fbdev: vendor="X.Org Foundation"
[ 1742.443] compiled for 1.10.2, module version = 0.4.2
[ 1742.443] ABI class: X.Org Video Driver, version 10.0
[ 1742.443] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
Sandybridge, Sandybridge
[ 1742.443] (II) VESA: driver for VESA chipsets: vesa
[ 1742.443] (II) FBDEV: driver for framebuffer: fbdev
[ 1742.443] (--) using VT number 7
[ 1742.447] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 1742.447] (WW) Falling back to old probe method for fbdev
[ 1742.447] (II) Loading sub module "fbdevhw"
[ 1742.447] (II) LoadModule: "fbdevhw"
[ 1742.468] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1742.483] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1742.483] compiled for 1.10.2, module version = 0.0.2
[ 1742.483] ABI class: X.Org Video Driver, version 10.0
[ 1742.483] (II) Loading sub module "vbe"
[ 1742.483] (II) LoadModule: "vbe"
[ 1742.483] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 1742.484] (II) Module vbe: vendor="X.Org Foundation"
[ 1742.484] compiled for 1.10.2, module version = 1.1.0
[ 1742.484] ABI class: X.Org Video Driver, version 10.0
[ 1742.484] (II) Loading sub module "int10"
[ 1742.484] (II) LoadModule: "int10"
[ 1742.484] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 1742.516] (II) Module int10: vendor="X.Org Foundation"
[ 1742.516] compiled for 1.10.2, module version = 1.0.0
[ 1742.516] ABI class: X.Org Video Driver, version 10.0
[ 1742.516] (II) VESA(0): initializing int10
[ 1742.516] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[ 1742.516] (II) VESA(0): VESA BIOS detected
[ 1742.516] (II) VESA(0): VESA VBE Version 3.0
[ 1742.516] (II) VESA(0): VESA VBE Total Mem: 832 kB
[ 1742.516] (II) VESA(0): VESA VBE OEM: Intel(r)845G/845GL/845GE/845GV Graphi
cs Chip Accelerated VGA BIOS
[ 1742.516] (II) VESA(0): VESA VBE OEM Software Rev: 1.0
[ 1742.516] (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation
[ 1742.517] (II) VESA(0): VESA VBE OEM Product: Intel(r)845G/845GL/845GE/845G
V Graphics Controller
[ 1742.517] (II) VESA(0): VESA VBE OEM Product Rev: Hardware Version 0.0
[ 1742.535] (II) VESA(0): Creating default Display subsection in Screen secti
on
"Default Screen Section" for depth/fbbpp 16/16
[ 1742.535] (==) VESA(0): Depth 16, (--) framebuffer bpp 16
[ 1742.535] (==) VESA(0): RGB weight 565
[ 1742.535] (==) VESA(0): Default visual is TrueColor
[ 1742.535] (==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1742.535] (II) Loading sub module "ddc"
[ 1742.535] (II) LoadModule: "ddc"
[ 1742.535] (II) Module "ddc" already built-in
[ 1742.543] (II) VESA(0): VESA VBE DDC supported
[ 1742.543] (II) VESA(0): VESA VBE DDC Level 2
[ 1742.543] (II) VESA(0): VESA VBE DDC transfer in appr. 1 sec.
[ 1742.556] (II) VESA(0): VESA VBE DDC read successfully

[ 1742.556] (II) VESA(0): Manufacturer: AVO Model: 0 Serial#: 0
[ 1742.556] (II) VESA(0): Year: 2003 Week: 0
[ 1742.556] (II) VESA(0): EDID Version: 1.3
[ 1742.556] (II) VESA(0): Analog Display Input, Input Voltage Level: 0.700/0
.700 V
[ 1742.556] (II) VESA(0): Sync: Separate Composite SyncOnGreen
[ 1742.556] (II) VESA(0): Indeterminate output size
[ 1742.556] (II) VESA(0): Gamma: 2.50
[ 1742.556] (II) VESA(0): No DPMS capabilities specified; RGB/Color Display
[ 1742.556] (II) VESA(0): Default color space is primary color space
[ 1742.556] (II) VESA(0): First detailed timing is preferred mode
[ 1742.556] (II) VESA(0): redX: 0.640 redY: 0.330 greenX: 0.300 greenY: 0.6
00
[ 1742.556] (II) VESA(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0
.329
[ 1742.556] (II) VESA(0): Supported established timings:
[ 1742.556] (II) VESA(0): 720x400@70Hz
[ 1742.556] (II) VESA(0): 720x400@88Hz
[ 1742.556] (II) VESA(0): 640x480@60Hz
[ 1742.556] (II) VESA(0): 640x480@67Hz
[ 1742.556] (II) VESA(0): 640x480@72Hz
[ 1742.556] (II) VESA(0): 640x480@75Hz
[ 1742.556] (II) VESA(0): 800x600@56Hz

1742.556] (II) VESA(0): 800x600@60Hz
[ 1742.556] (II) VESA(0): 800x600@72Hz
[ 1742.556] (II) VESA(0): 800x600@75Hz
[ 1742.556] (II) VESA(0): 832x624@75Hz
[ 1742.556] (II) VESA(0): 1024x768@87Hz (interlaced)
[ 1742.556] (II) VESA(0): 1024x768@60Hz
[ 1742.556] (II) VESA(0): 1024x768@70Hz
[ 1742.556] (II) VESA(0): 1024x768@75Hz
[ 1742.556] (II) VESA(0): 1280x1024@75Hz
[ 1742.556] (II) VESA(0): Manufacturer's mask: 0
[ 1742.556] (II) VESA(0): Supported standard timings:
[ 1742.556] (II) VESA(0): #0: hsize: 1280 vsize 1024 refresh: 60 vid: 3289
7
[ 1742.556] (II) VESA(0): #1: hsize: 1280 vsize 960 refresh: 75 vid: 20353
[ 1742.556] (II) VESA(0): #2: hsize: 1280 vsize 960 refresh: 60 vid: 16513
[ 1742.556] (II) VESA(0): #3: hsize: 1152 vsize 864 refresh: 75 vid: 20337
[ 1742.556] (II) VESA(0): #4: hsize: 1152 vsize 864 refresh: 70 vid: 19057
[ 1742.557] (II) VESA(0): #5: hsize: 1152 vsize 864 refresh: 60 vid: 16497
[ 1742.557] (II) VESA(0): Supported detailed timing:
[ 1742.557] (II) VESA(0): clock: 65.0 MHz Image Size: 0 x 0 mm
[ 1742.557] (II) VESA(0): h_active: 1024 h_sync: 1048 h_sync_end 1184 h_bla
nk_end 1344 h_border: 0
[ 1742.557] (II) VESA(0): v_active: 768 v_sync: 771 v_sync_end 777 v_blanki

ng: 806 v_border: 0
[ 1742.557] (II) VESA(0): Supported detailed timing:
[ 1742.557] (II) VESA(0): clock: 135.0 MHz Image Size: 0 x 0 mm
[ 1742.557] (II) VESA(0): h_active: 1280 h_sync: 1296 h_sync_end 1440 h_bla
nk_end 1688 h_border: 0
[ 1742.557] (II) VESA(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_bla
nking: 1066 v_border: 0
[ 1742.557] (II) VESA(0): Ranges: V min: 40 V max: 100 Hz, H min: 30 H max: 9
5 kHz, PixClock max 215 MHz
[ 1742.557] (II) VESA(0): Monitor name: Smart Cable
[ 1742.557] (II) VESA(0): EDID (in hex):
[ 1742.557] (II) VESA(0): 00ffffffffffff0006cf000000000000
[ 1742.557] (II) VESA(0): 000d01036e0000960eee91a3544c9926
[ 1742.557] (II) VESA(0): 0f5054ffff008180814f8140714f714a
[ 1742.557] (II) VESA(0): 71400101010164190040410026301888
[ 1742.557] (II) VESA(0): 3600000000000018bc34009851002a40
[ 1742.557] (II) VESA(0): 10901300000000000018000000fd0028
[ 1742.557] (II) VESA(0): 641e5f15000a202020202020000000fc
[ 1742.557] (II) VESA(0): 00536d617274204361626c650a2000c1
[ 1742.557] (II) VESA(0): EDID vendor "AVO", prod id 0
[ 1742.557] (II) VESA(0): Using EDID range info for horizontal sync
[ 1742.557] (II) VESA(0): Using EDID range info for vertical refresh
[ 1742.557] (II) VESA(0): Printing DDC gathered Modelines:
[ 1742.557] (II) VESA(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 134
4 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 1742.557] (II) VESA(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 16
88 1024 1025 1028 1066 -hsync -vsync (80.0 kHz)
[ 1742.557] (II) VESA(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 6
00 601 605 628 +hsync +vsync (37.9 kHz)
[ 1742.557] (II) VESA(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 6
00 601 603 625 +hsync +vsync (35.2 kHz)
[ 1742.557] (II) VESA(0): Modeline "640x480"x0.0 31.50 640 656 720 840 48
0 481 484 500 -hsync -vsync (37.5 kHz)
[ 1742.557] (II) VESA(0): Modeline "640x480"x0.0 31.50 640 664 704 832 48
0 489 492 520 -hsync -vsync (37.9 kHz)
[ 1742.557] (II) VESA(0): Modeline "640x480"x0.0 30.24 640 704 768 864 48
0 483 486 525 -hsync -vsync (35.0 kHz)
[ 1742.557] (II) VESA(0): Modeline "640x480"x0.0 25.18 640 656 752 800 48
0 490 492 525 -hsync -vsync (31.5 kHz)
[ 1742.557] (II) VESA(0): Modeline "720x400"x0.0 35.50 720 738 846 900 40
0 421 423 449 -hsync -vsync (39.4 kHz)
[ 1742.557] (II) VESA(0): Modeline "720x400"x0.0 28.32 720 738 846 900 40
0 412 414 449 -hsync +vsync (31.5 kHz)
[ 1742.557] (II) VESA(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 16
88 1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[ 1742.557] (II) VESA(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 131

2 768 769 772 800 +hsync +vsync (60.0 kHz)
[ 1742.557] (II) VESA(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 132
8 768 771 777 806 -hsync -vsync (56.5 kHz)
[ 1742.557] (II) VESA(0): Modeline "1024x768i"x0.0 44.90 1024 1032 1208 12
64 768 768 772 817 interlace +hsync +vsync (35.5 kHz)
[ 1742.557] (II) VESA(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 6
24 625 628 667 -hsync -vsync (49.7 kHz)
[ 1742.557] (II) VESA(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 6
00 601 604 625 +hsync +vsync (46.9 kHz)
[ 1742.557] (II) VESA(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 6
00 637 643 666 +hsync +vsync (48.1 kHz)
[ 1742.557] (II) VESA(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 16
88 1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[ 1742.557] (II) VESA(0): Modeline "1280x960"x75.0 129.86 1280 1368 1504 17
28 960 961 964 1002 -hsync +vsync (75.2 kHz)
[ 1742.557] (II) VESA(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 180
0 960 961 964 1000 +hsync +vsync (60.0 kHz)
[ 1742.557] (II) VESA(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 160
0 864 865 868 900 +hsync +vsync (67.5 kHz)
[ 1742.558] (II) VESA(0): Modeline "1152x864"x70.0 96.77 1152 1224 1344 15
36 864 865 868 900 -hsync +vsync (63.0 kHz)
[ 1742.558] (II) VESA(0): Modeline "1152x864"x60.0 81.62 1152 1216 1336 15
20 864 865 868 895 -hsync +vsync (53.7 kHz)

[ 1742.558] (II) VESA(0): Searching for matching VESA mode(s):
[ 1742.558] Mode: 13c (1920x1440)
[... I striped details ]
[ 1742.560] Mode: 14d (1920x1440)
[ 1742.561] Mode: 15c (1920x1440)
[ 1742.563] Mode: 13a (1600x1200)
[ 1742.564] Mode: 14b (1600x1200)
[ 1742.566] Mode: 15a (1600x1200)
[ 1742.567] Mode: 107 (1280x1024)
[ 1742.569] Mode: 11a (1280x1024)
[ 1742.570] Mode: 11b (1280x1024)
[ 1742.572] Mode: 105 (1024x768)
[ 1742.573] Mode: 117 (1024x768)
[ 1742.575] Mode: 118 (1024x768)
[ 1742.576] Mode: 112 (640x480)
[ 1742.578] Mode: 114 (800x600)
[ 1742.579] Mode: 115 (800x600)
[ 1742.580] Mode: 109 (132x25)
[ 1742.581] Mode: 10a (132x43)
[ 1742.582] Mode: 10b (132x50)
[ 1742.582] Mode: 10c (132x60)
[ 1742.584] Mode: 101 (640x480)
[ 1742.585] Mode: 103 (800x600)

[ 1742.587] (II) VESA(0): Total Memory: 13 64KB banks (832kB)
[ 1742.587] (II) VESA(0): <default monitor>: Using hsync range of 30.00-95.00
kHz
[ 1742.587] (II) VESA(0): <default monitor>: Using vrefresh range of 40.00-10
0.00 Hz
[ 1742.587] (II) VESA(0): <default monitor>: Using maximum pixel clock of 215
.00 MHz
[ 1742.587] (WW) VESA(0): Unable to estimate virtual size
[ 1742.601] (--) VESA(0): Virtual size is 640x480 (pitch 640)
[ 1742.601] (**) VESA(0): *Built-in mode "640x480"
[ 1742.601] (==) VESA(0): DPI set to (96, 96)
[ 1742.602] (**) VESA(0): Using "Shadow Framebuffer"
[ 1742.602] (II) Loading sub module "shadow"
[ 1742.602] (II) LoadModule: "shadow"
[ 1742.602] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 1742.611] (II) Module shadow: vendor="X.Org Foundation"
[ 1742.611] compiled for 1.10.2, module version = 1.1.0

[ 1742.611] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1742.611] (II) Loading sub module "fb"
[ 1742.611] (II) LoadModule: "fb"
[ 1742.611] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 1742.619] (II) Module fb: vendor="X.Org Foundation"
[ 1742.619] compiled for 1.10.2, module version = 1.0.0
[ 1742.619] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1742.619] (II) UnloadModule: "fbdev"
[ 1742.619] (II) Unloading fbdev
[ 1742.619] (II) UnloadModule: "fbdevhw"
[ 1742.619] (II) Unloading fbdevhw
[ 1742.619] (II) Loading sub module "int10"
[ 1742.619] (II) LoadModule: "int10"
[ 1742.619] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 1742.619] (II) Module int10: vendor="X.Org Foundation"
[ 1742.619] compiled for 1.10.2, module version = 1.0.0
[ 1742.619] ABI class: X.Org Video Driver, version 10.0
[ 1742.619] (II) VESA(0): initializing int10
[ 1742.619] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[ 1742.620] (II) VESA(0): VESA BIOS detected
[ 1742.620] (II) VESA(0): VESA VBE Version 3.0
[ 1742.620] (II) VESA(0): VESA VBE Total Mem: 832 kB
[ 1742.620] (II) VESA(0): VESA VBE OEM: Intel(r)845G/845GL/845GE/845GV Graphi

cs Chip Accelerated VGA BIOS
[ 1742.620] (II) VESA(0): VESA VBE OEM Software Rev: 1.0
[ 1742.620] (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation
[ 1742.620] (II) VESA(0): VESA VBE OEM Product: Intel(r)845G/845GL/845GE/845G
V Graphics Controller
[ 1742.620] (II) VESA(0): VESA VBE OEM Product Rev: Hardware Version 0.0
[ 1742.620] (II) VESA(0): virtual address = 0xb70c9000,
physical address = 0xf0000000, size = 851968
[ 1742.632] (II) VESA(0): Setting up VESA Mode 0x111 (640x480)
[ 1742.833] (==) VESA(0): Default visual is TrueColor
[ 1742.909] (==) VESA(0): Backing store disabled
[ 1742.909] (==) VESA(0): DPMS enabled
[ 1742.909] (==) RandR enabled
[ 1742.909] (II) Initializing built-in extension Generic Event Extension
[ 1742.909] (II) Initializing built-in extension SHAPE
[ 1742.909] (II) Initializing built-in extension MIT-SHM
[ 1742.909] (II) Initializing built-in extension XInputExtension
[ 1742.909] (II) Initializing built-in extension XTEST
[ 1742.909] (II) Initializing built-in extension BIG-REQUESTS
[ 1742.909] (II) Initializing built-in extension SYNC
[ 1742.909] (II) Initializing built-in extension XKEYBOARD
[ 1742.909] (II) Initializing built-in extension XC-MISC
[ 1742.909] (II) Initializing built-in extension XINERAMA

[ 1742.909] (II) Initializing built-in extension XFIXES
[ 1742.909] (II) Initializing built-in extension RENDER
[ 1742.909] (II) Initializing built-in extension RANDR
[ 1742.909] (II) Initializing built-in extension COMPOSITE
[ 1742.909] (II) Initializing built-in extension DAMAGE
[ 1742.937] (II) AIGLX: Screen 0 is not DRI2 capable
[ 1742.937] (II) AIGLX: Screen 0 is not DRI capable
[ 1743.247] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[ 1743.248] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 1743.846] (II) config/udev: Adding input device Power Button (/dev/input/ev
ent1)
[ 1743.846] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 1743.846] (II) LoadModule: "evdev"
[ 1743.847] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1743.859] (II) Module evdev: vendor="X.Org Foundation"
[ 1743.859] compiled for 1.10.2, module version = 2.6.0
[ 1743.859] Module class: X.Org XInput Driver
[ 1743.859] ABI class: X.Org XInput driver, version 12.2
[ 1743.859] (II) Using input driver 'evdev' for 'Power Button'
[ 1743.859] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1743.859] (**) Power Button: always reports core events
[ 1743.859] (**) Power Button: Device: "/dev/input/event1"
[ 1743.861] (--) Power Button: Found keys

[ 1743.861] (II) Power Button: Configuring as keyboard
[ 1743.861] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN
:00/input/input1/event1"
[ 1743.861] (II) XINPUT: Adding extended input device "Power Button" (type: K
EYBOARD)
[ 1743.861] (**) Option "xkb_rules" "evdev"
[ 1743.861] (**) Option "xkb_model" "evdev"
[ 1743.861] (**) Option "xkb_layout" "us"
[ 1743.898] (II) config/udev: Adding input device Power Button (/dev/input/ev
ent0)
[ 1743.898] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 1743.898] (II) Using input driver 'evdev' for 'Power Button'
[ 1743.898] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1743.899] (**) Power Button: always reports core events
[ 1743.899] (**) Power Button: Device: "/dev/input/event0"
[ 1743.901] (--) Power Button: Found keys
[ 1743.901] (II) Power Button: Configuring as keyboard
[ 1743.901] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:0
0/PNP0C0C:00/input/input0/event0"
[ 1743.901] (II) XINPUT: Adding extended input device "Power Button" (type: K
EYBOARD)
[ 1743.901] (**) Option "xkb_rules" "evdev"
[ 1743.901] (**) Option "xkb_model" "evdev"

[ 1743.901] (**) Option "xkb_layout" "us"
[ 1743.907] (II) config/udev: Adding input device AT Translated Set 2 keyboar
d (/dev/input/event2)
[ 1743.908] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev key
board catchall"
[ 1743.908] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard
'
[ 1743.908] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1743.908] (**) AT Translated Set 2 keyboard: always reports core events
[ 1743.908] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event2"
[ 1743.910] (--) AT Translated Set 2 keyboard: Found keys
[ 1743.910] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[ 1743.910] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio
0/input/input2/event2"
[ 1743.910] (II) XINPUT: Adding extended input device "AT Translated Set 2 ke
yboard" (type: KEYBOARD)
[ 1743.910] (**) Option "xkb_rules" "evdev"
[ 1743.910] (**) Option "xkb_model" "evdev"
[ 1743.910] (**) Option "xkb_layout" "us"
[ 1743.910] (II) config/udev: Adding input device ImExPS/2 Generic Explorer M
ouse (/dev/input/event3)
[ 1743.910] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev
pointer catchall"

[ 1743.910] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mo
use'
[ 1743.910] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1743.911] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[ 1743.911] (**) ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event3"
[ 1743.913] (--) ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
[ 1743.913] (--) ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
[ 1743.913] (--) ImExPS/2 Generic Explorer Mouse: Found relative axes
[ 1743.913] (--) ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
[ 1743.913] (II) ImExPS/2 Generic Explorer Mouse: Configuring as mouse
[ 1743.913] (II) ImExPS/2 Generic Explorer Mouse: Adding scrollwheel support
[ 1743.913] (**) ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and
5
[ 1743.913] (**) ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, Emul
ateWheelInertia: 10, EmulateWheelTimeout: 200
[ 1743.913] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio
1/input/input3/event3"
[ 1743.913] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explo
rer Mouse" (type: MOUSE)
[ 1743.913] (II) ImExPS/2 Generic Explorer Mouse: initialized for relative ax
es.
[ 1743.913] (**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleratio
n scheme 1

[ 1743.913] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profil
e 0
[ 1743.913] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor
: 2.000
[ 1743.913] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration thresh
old: 4
[ 1743.913] (II) config/udev: Adding input device ImExPS/2 Generic Explorer M
ouse (/dev/input/mouse0)
[ 1743.913] (II) No input driver/identifier specified (ignoring)
[ 1743.914] (II) config/udev: Adding input device PC Speaker (/dev/input/even
t4)
[ 1743.914] (II) No input driver/identifier specified (ignoring)
[ 1751.047] (II) Power Button: Close
[ 1751.047] (II) UnloadModule: "evdev"
[ 1751.047] (II) Unloading evdev
[ 1751.051] (II) Power Button: Close
[ 1751.051] (II) UnloadModule: "evdev"
[ 1751.051] (II) Unloading evdev
[ 1751.055] (II) AT Translated Set 2 keyboard: Close
[ 1751.055] (II) UnloadModule: "evdev"
[ 1751.055] (II) Unloading evdev
[ 1751.059] (II) ImExPS/2 Generic Explorer Mouse: Close
[ 1751.059] (II) UnloadModule: "evdev"
[ 1751.059] (II) Unloading evdev


So it has lot of matching b/w the Gfx card and my monitor ... until :
Code:

[  1742.587] (WW) VESA(0): Unable to estimate virtual size
[  1742.601] (--) VESA(0): Virtual size is 640x480 (pitch 640)
[  1742.601] (**) VESA(0): *Built-in mode "640x480"
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Aug 24, 2011 3:35 pm    Post subject: Reply with quote

Intel 8xx, ugh.

Ok, activate KMS in the kernel, remove any vga= or video= lines, also remove xf86-video-vesa and install xf86-video-intel. Then create an xorg.conf
Code:
Section "Device"
    Identifier  "old intel stuff"
    Driver      "intel"
    Option      "shadow"   "true"
EndSection

And voila, stable X at high resolution.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Wed Aug 24, 2011 3:43 pm    Post subject: Reply with quote

Gusar wrote:
And voila, stable X at high resolution.

So I take it that things are working now? It might be difficult to get a framebuffer and X working with this card. Intel 82845G/GL support has been notoriously broken for years, and I doubt Intel will ever get around to fixing the driver since the card is so old. I don't know what is inside the silicon of these cards but they absolutely suck to configure.

Usually what happens is that once you probe for settings the screen goes black and it never returns. I guess in the latest version of the drivers the screen goes into a 640x480 :roll:

You are probably having luck with the minimal xorg.conf because the system doesn't need to probe to start up the display.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 701
Location: Close to Annecy (France)

PostPosted: Wed Aug 24, 2011 4:05 pm    Post subject: Reply with quote

ok, I'll try Gusar's solution.

But it it's not working, Is a way thru the configuration file to tell X to use other thing than 640x480 (with VESA as it seems it is stable ...).

SX260 is a dell "use then drop" machine that doesn't have an extention capability ... including no PCI ports :evil:
So no way to use another gfx card but the embedded one.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Aug 24, 2011 6:24 pm    Post subject: Reply with quote

mikegpitt wrote:
and I doubt Intel will ever get around to fixing the driver since the card is so old.

They did fix it. Well, "fix". Using a shadow framebuffer was their fix. Cos you're right, these things are a pain to configure, every manufacturer wired them differently. It would take a huge effort to properly fix, an effort that's not worth it for such old tech. So shadow framebuffer it is.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 701
Location: Close to Annecy (France)

PostPosted: Wed Aug 24, 2011 9:00 pm    Post subject: Reply with quote

destroyedlolo wrote:
ok, I'll try Gusar's solution.


So far so good and I found out some reference about this "fix" (i.e. here). Despite all my try, I wasn't able to find it out ... highlighting limits of search engine :P

X.0.log now contains :
Quote:
[ 277.154] (**) intel(0): Option "Shadow" "true"
[ 277.154] (II) intel(0): Integrated Graphics Chipset: Intel(R) 845G
[ 277.154] (--) intel(0): Chipset: "845G"
[ 277.154] (**) intel(0): Shadow buffer enabled, 2D GPU acceleration disabled.

So I'm missing now GPU ... but it's really better than the previous situation where nothing worked.

Thanks Gusar :D
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7254
Location: Saint Amant, Acadiana

PostPosted: Wed Aug 24, 2011 9:36 pm    Post subject: Reply with quote

May it be your user is not in video group?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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