Author Topic: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480  (Read 3171 times)

MichaelHarrison

  • Guest
Hi
I was so happy with PClinuxOS 2009 on this Dell Latitude laptop that I worried about theUpgrade to 2010 but knew it was necessary, so I got the 2010 disk from OnDisk. I had to use the VESA safe boot option to get the LiveCD to boot up. Then I installed to the HD.
This machine uses the 82830 Intel graphics controller chipset, and back when I installed 2009  I had a problem with the monitor, and following advice I found on the forums I used XFdrake to change the monitor driver from Intel "810 and above" to "810" and my problem was solved - resolution was good, and everything (text, icons, boxes, windows) could be made small enough for the limited size of the display screen.
Now in 2010 everything is big - and bigger is not better.....
I tried to use PClinuxOS Control Center, Hardware, Videocard to fix the problem.
It shows to (logical?) controllers using the same 82830 chipset.
The first one listed is called "display controller"    on Bus PCI 0, PCI device 2, PCI function 1.
The second is called "VGA compatible controller" on Bus PCI 0, PCI device 2, PCI function 0.
for both, the module card listed here is "intel 810 + later"

When I select "Run Config Tool" I see:
Graphic card: Custom
Monitor:         1024x768@60Hz
Resolution:     1024x768 16bpp
When I click on the Graphic Card button (called Custom) I get the Intel vendor, "810 and later" option offered - although that is not the current setting. If I select this, XFdrake tells me that
Graphics Card: <blank>
Xorg Driver: Vesa

If I test this, the machine freezes

If I try to select "Intel 810" and then Test, XFdrake tells me that
EE failed to load module "type1" (module does not exist)
EE failed to load module "freetype" (module does not exist)

Curiously, when I look in /etc/X11/xorg.conf, both those modules are listed to be loaded.

Any help would be much appreciated, especially as this is my wife's machine, and I may be sleeping on the couch soon...

Thanks


MichaelHarrison

  • Guest
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #1 on: May 26, 2010, 09:37:06 PM »
I thought some detail output might help anyone who might be willing to give some advice on this problem.
Here are the related lines from /etc/X11/xorg.conf

Section "Module"
    Disable "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 60 Hz"
    HorizSync 31.5-48.5
    VertRefresh 50-70
   
    # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
    ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    BoardName ""
    Driver "vesa"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
Subsection "Display"
        Depth 8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection


And here is xrandr output -
[mike@dell ~]# xrandr
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
   640x480        60.0*

Anyone know how the maximum could be 640x480 based on the xorg.conf above?

Thanks for any suggestions

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #2 on: May 27, 2010, 12:05:05 AM »
You wouldn't happen to have a copy of your old xorg.conf?
If you have a backup of your old xorg.conf just replace the xorg.conf from 2010 with a copy of your old one.
« Last Edit: May 27, 2010, 12:30:03 AM by 4evergr8ful »
Any sufficiently advanced technology is indistinguishable from magic.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #3 on: May 27, 2010, 12:20:26 AM »
OK, let's give it a shot. Back in the Control Center, run the video config tool again. This time try setting the monitor, not the graphics card. Click the Monitor button and try Plug'n'Play first. Test it. If unsatisfactory, click the Monitor button again and select the appropriate Generic setting.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

MichaelHarrison

  • Guest
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #4 on: May 27, 2010, 08:51:35 AM »
4evergr8ful - good suggestion, but no, I only backed up user data....next time...

djohnston - I tried that, and XFdrake gave me the same error messages it does when I try to use
"i810" as the graphics card driver:

(EE) Failed to load module "type1" (module does not exist,0)
(EE) Failed to load module "freetype" (module does not exist,0)


I'm going to try running Xorg -configure from safe mode - it should create a xorg.conf.new file that I can compare to the existing /etc/X11/xorg.conf that XFdrake made.
Will report results later today.

Thanks for the suggestions

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #5 on: May 27, 2010, 12:17:25 PM »
Michael,

I've attached a copy of my xorg.conf for your comparison. We don't use the same graphics cards, but I notice something in the Module Section of mine: there are no "type1" or "freetype" lines. You might try this:

Make a backup first. As user root,

Code: [Select]
cd /etc/X11
cp xorg.conf xorg.conf.original

Still as user root, edit xorg.conf section to look like this:
 
Section "Module"
    Disable "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    #Load "type1"
    #Load "freetype"
    Load "glx" # 3D layer
EndSection

That will turn those two lines to comments. Exit from root account and restart X.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

MichaelHarrison

  • Guest
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #6 on: May 27, 2010, 12:41:03 PM »
I did run Xorg -configure from safe mode, and here are the messages (with mod list abbreviated to those of possible interest)

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux_2.6.32.4-pclos2 PCLinuxOS
Current Operating System: Linux dell 2.6.32.11-pclos2.bfs #1 SMP PREEMPT Wed Apr 7 13:33:19 CDT 2010 i686
Build Date: 22 January 2010  05:01:40AM
 
   Before reporting problems, check http://pclinuxos.com
   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.0.log", Time: Thu May 27 13:41:32 2010
List of video drivers:
intel   apm  i810  vesa    v4l

(EE) module ABI major version (2) doesn't match the server's version (5)
(EE) Failed to load module "vga" (module requirement mismatch, 0)
dlopen: libatiuki.so.1: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/linux//libfglrxdrm.so
(EE) Can't load FireGL DRM library (libfglrxdrm.so).
(EE) module ABI major version (2) doesn't match the server's version (5)
(EE) Failed to load module "i810" (module requirement mismatch, 0)
(EE) No supported AMD display adapters were found
(++) Using config file: "/xorg.conf.new"

Xorg has configured a multihead system, please check your config.
Your xorg.conf file is /xorg.conf.new
To test the server, run 'X -config /xorg.conf.new'
-------------------------------------------------------------------------------------------

Does anyone know if this ABI version mismatch is just part of the 2010 package and therefore a "warning" that I can ignore it or is this something that went wrong with my install and/or part of my present problem?


As for the generated /xorg.conf.new it looks very weird - apples to oranges compared to the xorg.conf that XFdrake generated. It's most certainly not a replacement (I didn't expect it to be) but it may not even provide much insight into the problem (I had hoped it would).

-------------------------------------------------------------------------------------------------------------

So now I am thinking that maybe the i830 drivers I have to pick from (in XFdrake  - one under the Intel vendor section and one under vesa section) are not the correct ones.
Perhaps the correct ones do have Entry Points (or modules or submodules) named "type1" and "freetype" .
Does this make sense to anyone that knows how drivers are constructed/packaged?

Over at Xorg.org they list about 25 versions of i810 drivers (in tarballs) so I could probably get a new one to try if I could figure out which one...






Offline Klinux

  • Sr. Member
  • ****
  • Posts: 287
    • RedmondXP.com
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #7 on: May 27, 2010, 12:53:09 PM »
Some people wouldn't complain to have it bigger....the resolution I mean ;-)
Visit RedmondXP.com

MichaelHarrison

  • Guest
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #8 on: May 27, 2010, 01:01:53 PM »
Hi djohnson,

Well, my current xorg.conf has got those two modules in it - they are loaded ok, and the monitor works, it is just stuck at the very annoying 640x480 resolution. - even though the xorg.conf has two better modes (1024x768 and 800x600)

So those modules are in the "Generic" "vesa" driver - the problem is that they are not found by XFdrake when I try reconfigure to use the i810 driver for the device.

Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
    
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "ServerFlags"
    Option "DontZap" "True" # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
    Disable "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection
Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 60 Hz"
    HorizSync 31.5-48.5
    VertRefresh 50-70
    
    # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
    ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    BoardName ""
    Driver "vesa"
    Option "DPMS"
EndSection
Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #9 on: May 27, 2010, 03:46:13 PM »
Well I'm at a loss. I'm wondering if this is one of those kernel-mode-switching issues with Intel graphics. I honestly don't know.

Did you try restarting X with those two lines commented out?

Have you searched for i810, freetype, and type1 in Synaptic? When I looked, i810 has two available drivers for the same card.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

MichaelHarrison

  • Guest
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #10 on: May 27, 2010, 04:52:45 PM »
Hi
Yes, I saw that additional i830 driver in the repo a while back and added it . I think that is what gave me an additional entry (in XFdrake) under the vesa section (it had been there all along under the Intel section). Choosing this one also results in modules "type1" and "freetype" not found.

I can't comment those out of xorg.conf until I can get the i830 driver in...perhaps there is a way...

Thanks again
Mike 

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #11 on: May 27, 2010, 05:11:26 PM »
I'm seeing x11-driver-video-i810 & x11-driver-video-i810-downscaling. You have both installed? That may be a problem. Did you add one after running into problems?

Also, what kernel version does uname -r return?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

MichaelHarrison

  • Guest
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #12 on: May 28, 2010, 03:03:24 PM »
Hi
Yes, I had the x11-driver-video-i810 from the install, but after having problems I got x11-driver-video-i810-downscaling from the repository. Do you think that the downscaling version replaced the first version when installed?  I don't recall Snyaptic saying anything about removing the first package though, but I'll check if there is any History on that.

Here is the kernal version (I did do an update/apply-all right after installing)

[root@dell ~]# uname -r
2.6.32.11-pclos2.bfs

Thanks for sticking with me on this
Mike

Offline Mike

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 7573
  • Saved from the Fire
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #13 on: May 28, 2010, 03:25:43 PM »
Hi
I was so happy with PClinuxOS 2009 on this Dell Latitude laptop that I worried about theUpgrade to 2010 but knew it was necessary, so I got the 2010 disk from OnDisk. I had to use the VESA safe boot option to get the LiveCD to boot up. Then I installed to the HD.
This machine uses the 82830 Intel graphics controller chipset, and back when I installed 2009  I had a problem with the monitor, and following advice I found on the forums I used XFdrake to change the monitor driver from Intel "810 and above" to "810" and my problem was solved - resolution was good, and everything (text, icons, boxes, windows) could be made small enough for the limited size of the display screen.
Now in 2010 everything is big - and bigger is not better.....
I tried to use PClinuxOS Control Center, Hardware, Videocard to fix the problem.
It shows to (logical?) controllers using the same 82830 chipset.
The first one listed is called "display controller"    on Bus PCI 0, PCI device 2, PCI function 1.
The second is called "VGA compatible controller" on Bus PCI 0, PCI device 2, PCI function 0.
for both, the module card listed here is "intel 810 + later"

When I select "Run Config Tool" I see:
Graphic card: Custom
Monitor:         1024x768@60Hz
Resolution:     1024x768 16bpp
When I click on the Graphic Card button (called Custom) I get the Intel vendor, "810 and later" option offered - although that is not the current setting. If I select this, XFdrake tells me that
Graphics Card: <blank>
Xorg Driver: Vesa

If I test this, the machine freezes

If I try to select "Intel 810" and then Test, XFdrake tells me that
EE failed to load module "type1" (module does not exist)
EE failed to load module "freetype" (module does not exist)

Curiously, when I look in /etc/X11/xorg.conf, both those modules are listed to be loaded.

Any help would be much appreciated, especially as this is my wife's machine, and I may be sleeping on the couch soon...

Thanks



Two things, which Dell laptop (d600,d610, 1545 ect) do you have, and in the list above, you might try changing the Resolution from 16bpp to 24 or higher if offered. (highlighted as bold and blue) I use the Dells myself and have had similar video conflicts. 
Mike
I'm not upset that you lied to me,
I'm upset that from now on I can't believe you.
~Friedrich Nietzsche~


Joe Gable
Dave "Exwintech"
Linux Counter #288984

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: PClinuxOS 2010 KDE installed to HD, monitor max 640 x 480
« Reply #14 on: May 28, 2010, 03:34:30 PM »
A new kernel is available. The version you have is the one on the liveCD. I'm pretty sure Tex recommended updating to version 2.6.32.12-pclos1.bfs. That's what I'm running. I would suggest updating your kernel. If you're unsure how, please post back. That probably won't fix your current problem. But we might as well start from somewhere.

Here's one more thing you can try with your current xorg.conf. In the section:

Section "Device"
    Identifier "device1"
    BoardName ""
    Driver "vesa"
    Option "DPMS"
EndSection

Change "vesa" to "i810".

The Intel drivers aren't "in" the vesa driver. They're two separate animals. You'll need to edit xorg.conf as root. Make a backup of xorg.conf before editing it. After editing, restart Xserver. If that doesn't work, ...

Here's what I'm thinking. When you go to configure video, you are seeing both drivers for the Intel810 chipset, right? When a new kernel is installed and selected on next reboot, kernel modules are built. That would include your video drivers. If the x11-driver-video-i810 driver isn't working for you, uninstall it and leave the x11-driver-video-i810-downscaling one in place. All this needs to be done before rebooting.

So, sequence of events is:
remove one of the extra i810 drivers
install newer kernel
reboot

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378