You are not logged in.

#1 2011-03-21 21:25:56

RufusD
Member
Registered: 2010-03-21
Posts: 86

[SOLVED] virtual tty covering only part of screen; 2nd graphics chip?

Hi there!
I'm running Arch (KDE 4.6.1) on an intel Essential D510mo mobo. Now I'm seeing some graphics issues, which seem interrelated to me:
1. on the tty the output extends only over part of the screen: the right (estimated) quarter and the bottom (estimated) quarter stay black
2. plasma device notifications pop up roughly at the same spot where my tty ends. The rest of KDE 'looks normally', extending to the physical borders of my screen
3. KDE's splash screen (set to Standard, 'Air and Horos Splash Screen') shows two wallpapers: one covering the whole screen, underneath a smaller copy of itself in the same reduced size as seen in 1 and 2
4. sometimes (mainly when the screen gets driven by my other PC on its DVI-D input) kdm comes up in a lower *resolution*. This lower resolution *might* correspond to the same size as seen in 1 to 3, but it's hard to tell

Some details regarding my setup:
- The board is connected to a 1680x1050 TFT via its VGA input.
- I *think* I'm running KMS (at least switching between TTY's and X works instantly).
- krandrtray talks of my mobo having two connectors: one is called LVDS1, allowing a resolution of up to 1280x800, the other is called VGA1 allowing a resolution of up to 1680x1050. The ratio of these resolutions roughly corresponds to the two screen sizes I've spoken about in 1-3 above. When clicking krandrtray's 'identify screens', both 'LVDS1' and 'VGA1' are shown on my one physical TFT, slightly shifted (I assume they both are shown in the 'center' of their respective screens). So my mobo seem to think it can drive two screen simultaneously. I don't think so, but I may be wrong.
- Some time ago, when kdm almost always came up in the wrong resolution, I created a /etc/X11/xorg.conf.d/15-edid.conf to try to force the graphics driver to run at 1680x1050:

Section "Screen"
   Identifier    "Default Screen"
   Device        "Intel Corporation "
   Monitor       "Generic Monitor"
   DefaultDepth    24
   SubSection "Display"
       Depth            24
       Modes            "1680x1050"
       EndSubSection
EndSection

I know I'm being terribly vague, sorry for that. If there's any further information you need, I'll be glad to provide it, but at the moment I don't know what to look for. Still, I'd be grateful for any help offered. I'm pretty sure the solution is embarassingly simple.

Kind regards,
Rufus

P.S.: Here go the relevant parts of Xorg.0.log. To my untrained eye, Xorg seems to see two graphics chips:

[  8064.638] (II) LoadModule: "glx"
[  8064.639] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  8064.680] (II) Module glx: vendor="X.Org Foundation"
[  8064.681]    compiled for 1.9.4.901, module version = 1.0.0
[  8064.681]    ABI class: X.Org Server Extension, version 4.0
[  8064.681] (==) AIGLX enabled
[  8064.681] (II) Loading extension GLX
[  8064.681] (II) LoadModule: "record"
[  8064.681] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  8064.682] (II) Module record: vendor="X.Org Foundation"
[  8064.682]    compiled for 1.9.4.901, module version = 1.13.0
[  8064.682]    Module class: X.Org Server Extension
[  8064.682]    ABI class: X.Org Server Extension, version 4.0
[  8064.682] (II) Loading extension RECORD
[  8064.682] (II) LoadModule: "dri"
[  8064.682] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  8064.683] (II) Module dri: vendor="X.Org Foundation"
[  8064.683]    compiled for 1.9.4.901, module version = 1.0.0
[  8064.683]    ABI class: X.Org Server Extension, version 4.0
[  8064.683] (II) Loading extension XFree86-DRI
[  8064.683] (II) LoadModule: "dri2"
[  8064.683] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  8064.684] (II) Module dri2: vendor="X.Org Foundation"
[  8064.684]    compiled for 1.9.4.901, module version = 1.2.0
[  8064.685]    ABI class: X.Org Server Extension, version 4.0
[  8064.685] (II) Loading extension DRI2
[  8064.685] (==) Matched intel as autoconfigured driver 0
[  8064.685] (==) Matched vesa as autoconfigured driver 1
[  8064.685] (==) Matched fbdev as autoconfigured driver 2
[  8064.685] (==) Assigned the driver to the xf86ConfigLayout
[  8064.685] (II) LoadModule: "intel"
[  8064.686] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  8064.688] (II) Module intel: vendor="X.Org Foundation"
[  8064.688]    compiled for 1.9.4, module version = 2.14.0
[  8064.688]    Module class: X.Org Video Driver
[  8064.688]    ABI class: X.Org Video Driver, version 8.0
[  8064.688] (II) LoadModule: "vesa"
[  8064.690] (WW) Warning, couldn't open module vesa
[  8064.690] (II) UnloadModule: "vesa"
[  8064.690] (EE) Failed to load module "vesa" (module does not exist, 0)
[  8064.690] (II) LoadModule: "fbdev"
[  8064.691] (WW) Warning, couldn't open module fbdev
[  8064.691] (II) UnloadModule: "fbdev"
[  8064.691] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  8064.691] (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
[  8064.693] (++) using VT number 7

[  8064.729] drmOpenDevice: node name is /dev/dri/card0
[  8064.729] drmOpenDevice: open result is 8, (OK)
[  8064.729] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[  8064.729] drmOpenDevice: node name is /dev/dri/card0
[  8064.729] drmOpenDevice: open result is 8, (OK)
[  8064.729] drmOpenByBusid: drmOpenMinor returns 8
[  8064.730] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[  8064.730] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[  8064.730] (==) intel(0): RGB weight 888
[  8064.730] (==) intel(0): Default visual is TrueColor
[  8064.730] (II) intel(0): Integrated Graphics Chipset: Intel(R) Pineview G
[  8064.730] (--) intel(0): Chipset: "Pineview G"
[  8064.730] (**) intel(0): Tiling enabled
[  8064.730] (**) intel(0): SwapBuffers wait enabled
[  8064.730] (==) intel(0): video overlay key set to 0x101fe
[  8064.731] (II) intel(0): Output LVDS1 has no monitor section
[  8064.811] (II) intel(0): Output VGA1 has no monitor section
[  8064.811] (II) intel(0): EDID for output LVDS1
[  8064.812] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[  8064.812] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[  8064.812] (II) intel(0): Printing probed modes for output LVDS1
[  8064.812] (II) intel(0): Modeline "1280x800"x58.1   68.90  1280 1292 1340 1440  800 804 807 823 -hsync -vsync (47.8 kHz)
[  8064.812] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  8064.813] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  8064.813] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[  8064.813] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  8064.874] (II) intel(0): EDID for output VGA1
[  8064.874] (II) intel(0): Manufacturer: MAX  Model: 7d5  Serial#: 1
[  8064.874] (II) intel(0): Year: 2006  Week: 39
[  8064.874] (II) intel(0): EDID Version: 1.3
[  8064.874] (II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[  8064.874] (II) intel(0): Sync:  Separate  Composite  SyncOnGreen
[  8064.874] (II) intel(0): Max Image Size [cm]: horiz.: 43  vert.: 27
[  8064.874] (II) intel(0): Gamma: 2.20
[  8064.874] (II) intel(0): DPMS capabilities: Off; RGB/Color Display
[  8064.874] (II) intel(0): Default color space is primary color space
[  8064.875] (II) intel(0): First detailed timing is preferred mode
[  8064.875] (II) intel(0): redX: 0.640 redY: 0.340   greenX: 0.295 greenY: 0.610
[  8064.875] (II) intel(0): blueX: 0.145 blueY: 0.070   whiteX: 0.313 whiteY: 0.329
[  8064.875] (II) intel(0): Supported established timings:
[  8064.875] (II) intel(0): 720x400@70Hz
[  8064.875] (II) intel(0): 640x480@60Hz
[  8064.875] (II) intel(0): 640x480@67Hz
[  8064.875] (II) intel(0): 640x480@72Hz
[  8064.875] (II) intel(0): 640x480@75Hz
[  8064.875] (II) intel(0): 800x600@56Hz
[  8064.875] (II) intel(0): 800x600@60Hz
[  8064.875] (II) intel(0): 800x600@72Hz
[  8064.875] (II) intel(0): 800x600@75Hz
[  8064.875] (II) intel(0): 832x624@75Hz
[  8064.875] (II) intel(0): 1024x768@60Hz
[  8064.875] (II) intel(0): 1024x768@70Hz
[  8064.875] (II) intel(0): 1024x768@75Hz
[  8064.875] (II) intel(0): 1280x1024@75Hz
[  8064.876] (II) intel(0): Manufacturer's mask: 0
[  8064.876] (II) intel(0): Supported standard timings:
[  8064.876] (II) intel(0): #0: hsize: 640  vsize 400  refresh: 70  vid: 2609
[  8064.876] (II) intel(0): #1: hsize: 1024  vsize 768  refresh: 72  vid: 19553
[  8064.876] (II) intel(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[  8064.876] (II) intel(0): #3: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[  8064.876] (II) intel(0): #4: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  8064.876] (II) intel(0): #5: hsize: 1440  vsize 900  refresh: 75  vid: 3989
[  8064.876] (II) intel(0): Supported detailed timing:
[  8064.876] (II) intel(0): clock: 146.2 MHz   Image Size:  433 x 270 mm
[  8064.876] (II) intel(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end 2240 h_border: 0
[  8064.876] (II) intel(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1089 v_border: 0
[  8064.876] (II) intel(0): Ranges: V min: 56 V max: 75 Hz, H min: 31 H max: 83 kHz, PixClock max 155 MHz
[  8064.876] (II) intel(0): Monitor name: B102035W
[  8064.876] (II) intel(0): EDID (in hex):
[  8064.876] (II) intel(0):     00ffffffffffff003438d50701000000
[  8064.877] (II) intel(0):     271001030e2b1b782ec905a3574b9c25
[  8064.877] (II) intel(0):     125054bfef00310a614c714f81408180
[  8064.877] (II) intel(0):     950f0101010121399030621a274068b0
[  8064.877] (II) intel(0):     3600b10e1100001e0000000000000000
[  8064.877] (II) intel(0):     00000000000000000000000000fd0038
[  8064.877] (II) intel(0):     4b1f530f000a202020202020000000fc
[  8064.877] (II) intel(0):     0042313032303335570a2020202000f0
[  8064.877] (II) intel(0): Printing probed modes for output VGA1
[  8064.877] (II) intel(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 +hsync +vsync (65.3 kHz)
[  8064.877] (II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[  8064.877] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  8064.877] (II) intel(0): Modeline "1440x900"x75.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz)
[  8064.877] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[  8064.877] (II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[  8064.878] (II) intel(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz)
[  8064.878] (II) intel(0): Modeline "1024x768"x72.0   78.44  1024 1080 1192 1360  768 769 772 801 -hsync +vsync (57.7 kHz)
[  8064.878] (II) intel(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[  8064.878] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  8064.878] (II) intel(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[  8064.878] (II) intel(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[  8064.878] (II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[  8064.878] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  8064.878] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[  8064.878] (II) intel(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz)
[  8064.878] (II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[  8064.878] (II) intel(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
[  8064.878] (II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  8064.879] (II) intel(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[  8064.879] (II) intel(0): Output LVDS1 connected
[  8064.879] (II) intel(0): Output VGA1 connected
[  8064.879] (II) intel(0): Using user preference for initial modes
[  8064.879] (II) intel(0): Output LVDS1 using initial mode 1280x800
[  8064.879] (II) intel(0): Output VGA1 using initial mode 1680x1050
[  8064.879] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  8064.879] (II) intel(0): Kernel page flipping support detected, enabling
[  8064.879] (==) intel(0): DPI set to (96, 96)
[  8064.879] (II) Loading sub module "fb"
[  8064.879] (II) LoadModule: "fb"
[  8064.880] (II) Loading /usr/lib/xorg/modules/libfb.so
[  8064.882] (II) Module fb: vendor="X.Org Foundation"
[  8064.882]    compiled for 1.9.4.901, module version = 1.0.0
[  8064.882]    ABI class: X.Org ANSI C Emulation, version 0.4
[  8064.882] (II) Loading sub module "dri2"
[  8064.882] (II) LoadModule: "dri2"
[  8064.882] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so
[  8064.882] (==) Depth 24 pixmap format is 32 bpp
[  8064.883] (II) intel(0): [DRI2] Setup complete
[  8064.883] (II) intel(0): [DRI2]   DRI driver: i915
[  8064.883] (II) intel(0): Allocated new frame buffer 1728x1050 stride 8192, tiled
[  8064.883] (II) UXA(0): Driver registered support for the following operations:
[  8064.883] (II)         solid
[  8064.883] (II)         copy
[  8064.883] (II)         composite (RENDER acceleration)
[  8064.883] (II)         put_image
[  8064.883] (II)         get_image
[  8064.883] (==) intel(0): Backing store disabled
[  8064.884] (==) intel(0): Silken mouse enabled
[  8064.884] (II) intel(0): Initializing HW Cursor
[  8065.019] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  8065.020] (==) intel(0): DPMS enabled
[  8065.020] (==) intel(0): Intel XvMC decoder disabled
[  8065.020] (II) intel(0): Set up textured video
[  8065.020] (II) intel(0): Set up overlay video
[  8065.020] (II) intel(0): direct rendering: DRI2 Enabled
[  8065.020] (==) intel(0): hotplug detection: "enabled"
[  8065.020] (--) RandR disabled

Last edited by RufusD (2011-03-24 08:36:40)

Offline

#2 2011-03-22 09:39:23

t1nk3r3r
Member
From: The Pacific Northwest
Registered: 2011-03-22
Posts: 79

Re: [SOLVED] virtual tty covering only part of screen; 2nd graphics chip?

When you say 'screen' you mean a TFT-LCD with a VGA input?

VGA and DVI are not directly compatible, your desktop would have to scale down to accomodate the resolution limitations TVs have.

Reading the log, the intel driver sees just one graphics chip, but two displays.  Knowing what board you have, I don't see it driving two displays.  That's a driver and/or display issue.

It's possible the display is sending two conflicting sets of information about itself, in which case you'd have to tell X and the intel driver to ignore the EDID signal and set properties manually.

I imagine all four points are derived from the same error.


--------------------------The only wasted day is one in which you learn nothing.--------------------------

Offline

#3 2011-03-22 12:29:21

RufusD
Member
Registered: 2010-03-21
Posts: 86

Re: [SOLVED] virtual tty covering only part of screen; 2nd graphics chip?

Hi there!
Not exactly. My TFT-LCD has two inputs: VGA and DVI. By now, I think my problem is similar to Kernel activates LVDS.... Now I'll only have to figure out how to pass the mentioned kernel option to burg (aka grub2). But this will be the topic of another thread.

Offline

#4 2011-03-24 08:35:10

RufusD
Member
Registered: 2010-03-21
Posts: 86

Re: [SOLVED] virtual tty covering only part of screen; 2nd graphics chip?

OK, it turned out rather easy, I'll write it down here for the record:

simply add

video=LVDS-1:d

to the line

GRUB_CMDLINE_LINUX_DEFAULT=

in /etc/default/burg and run the command specified at the top of this file (IIRC, it's "burg-mkconfig -o /boot/burg/burg.cfg"; cf. http://code.google.com/p/burg/wiki/Manu … #Configure)

This definitely solves issue 1 and 3. Issue 2 *seems* to be solved, issue 4 will need further testing (since it was erratic to begin with)

Last edited by RufusD (2011-03-24 08:37:37)

Offline

Board footer

Powered by FluxBB