LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Intel 945GM Lag issues on Debian Lenny (https://www.linuxquestions.org/questions/linux-hardware-18/intel-945gm-lag-issues-on-debian-lenny-646817/)

Rehumanize 06-03-2008 09:08 PM

Intel 945GM Lag issues on Debian Lenny [SOLVED]
 
I'm running Debian Lenny, and I'm having a bit of trouble running graphical(opengl I believe) applications. Apps such as Google Earth, and games suffer from extreme lag. I did not have this problem when using Debian Etch.

For example, when I gave "Frets on Fire" a try, it lags, and this is all I get from the terminal:
Code:

aaron@debian:~$ fretsonfire
open /dev/sequencer or /dev/snd/seq: No such file or directory


This is my xorg.conf...looks like something is missing, but what?
Code:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
EndSection

Section "Device"
        Identifier        "Configured Video Device"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
EndSection

I have this video driver installed:
dri-Intel-3.4.3006-20051209.i386.deb

I don't have compiz, beryl, etc installed. Is there something I'm forgetting?

Thanks

Rehumanize 06-06-2008 04:36 PM

Anyone?

This is what happens when I try to re-generate my xorg.conf:
Code:

debian:/home/aaron# dpkg-reconfigure -phigh xserver-xorg
xserver-xorg postinst warning: overwriting possibly-customised configuration
  file; backup in /etc/X11/xorg.conf.20080606173245

This is what is generated:
Code:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"    "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

This was such a simpler process on Etch. I'd switch back but Lenny has so much more to offer me in terms of ready-to-go software. Can anyone lead me in the right direction?

Rehumanize 06-06-2008 11:12 PM

I've done a little work on my xorg.conf, still not working though.

Code:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ExplorerPS/2"
EndSection

Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "HorizScrollDelta"        "0"
EndSection

Section "Device"
        Identifier        "Card0"
        VendorName  "Intel Corporation"
        BoardName  "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
        Driver                "i810"
        BusID                "PCI:0:2:0"
        ### 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"                        "true"
        #Option    "NoDDC"                      # [<bool>]
        #Option    "ShowCache"                  # [<bool>]
        #Option    "XvMCSurfaces"              # <i>
        #Option    "PageFlip"                  # [<bool>]
        Option      "AccelMethod"              "EXA"
        Option      "MigrationHeuristic"        "greedy"
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        Option                "DPMS"
        HorizSync        30-70
        VertRefresh        50-160
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x800"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x800"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x800"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x800"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x800"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x800"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Synaptics Touchpad"
EndSection

Section "DRI"
        Mode        0666
EndSection

Here is my lspci:
Code:

debian:/home/aaron# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 0a)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 05)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)


Rehumanize 06-22-2008 03:41 PM

Alright, I figured it out...much simpler than I was making it out to be.

Here's what I did if anyone else needs it:

1. I generated a new xorg.conf (You don't need to do this unless you were messing with yours as I was.)
2. I simply installed 3 packages: libgl1-mesa-dri
libgl1-mesa-dev
libgl1-mesa-glx
3. Reboot

Now glxinfo | grep direct gives me this:
Code:

direct rendering: Yes
I found those packages while searching through glxinfo, it works for me on Lenny, so hopefully someone else gets some use out of it.

MarTux 08-23-2008 04:47 PM

Problem with intel graphic card under Debian Lenny
 
Hi
I just have installed Debian Lenny on my new laptop.
but i can't start my graphic server
My graphic card is an Mobile intel 945 Express.
Here is a part of my lspci:

Code:

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)

Here is my xorg-conf file:
Code:

Section "InputDevice"
  Identifier  "Generic Keyboard"
  Driver      "Kbd"
  Option      "XkbRules"  "xorg"
  Option      "XkbModel"  "pc105"
  Option      "XkbLayout"  "fr"
  Option      "XkbVariant"  "latin9"
  Option      "XkbOptions"  "lv3:ralt_switch"
EndSection

Section "InputDevice"
  Identifier  "Configured Mouse"
  Driver      "mouse"
EndSection

Section "Device"
  Identifier  "Configured Video Device"
EndSection

Section "Monitor"
  Identifier    "Configured Monitor"
EndSection

Section "Screen"
  Identifier  "Default Screen"
  Monitor      "Configured Monitor"
EndSection

when i start my xserver i get that:
Code:

(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
(II) Module "ramdac" already built-in
(EE) GARTInit: Unable to open /dev/agpart (No such file or directory)
(EE) [drm] drmOpen failed
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI
(EE) intel(0): Faild to allocate frałebuffer. Is your VideoRAM set too low?
(EE) intel(0): Couldn't allocate video memory

Fatal server error:
AddScreen/ScreenInit failed for driver 0

giving up
xinit: Connection reste by peer (errno 104): unable to connect to x server
xinit: No such process (errno 3): Server error.

i added some lines to the Device section of my xorg.conf file:
[CODE]
Section "Device"
Identifier "Configured Video Device"
Driver "intel"
BusID "PCI:0:2:1"
EndSection
Then i tryed to start my xserver, but i had that as error messges:

Code:

(WW) intel: No matching Device section for instance (BusID PCI:0:2:0) found
(EE) No devices detected

Fatal server error:
no screens found
giving up.
xinit: Connection reset by peer (errno 104): unable to connect to X server
xinit: No such process (errno 3): Server error.

The package: xserver-xorg-video-intel is installed
do u have any idea to solve my problem?
should i add some lines to my xorg.conf file??
Thx


All times are GMT -5. The time now is 01:09 PM.