SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-04-27 05:20:02

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Window tearing and lagging

Hi everybody! So after putting crunchbang on my laptop and getting that to run beautifully, I decided to go for it on my main desktop. I got pretty much everything to work, but since it is a gaming rig, I decided to download the AMD drivers for it. I think I also did this to get the display to show the proper resolution.

Anyway I noticed that it was after I did this that I noticed all of my windows would lag and tear when I moved them around and sometimes when I scrolled inside a webpage. This is only sign of lag on my computer so I think it's some kind of graphics issue. 

I tried looking for a solution for this online, but I couldn't really find anything. Any help would be appreciated since I'm still relatively new to linux. Thanks!

Offline

Help fund CrunchBang, donate to the project!

#2 2012-04-27 06:42:05

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: Window tearing and lagging

Open up Catalyst Control Center (Alt+F2, type in amdcccle), under "Display" enable "Tear Free Desktop".

Offline

#3 2012-04-27 18:36:02

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

I tried that already, but I didn't notice any change. I'm not at home right now, but when I get back I can check it again just to make sure.

Offline

#4 2012-04-27 20:12:32

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: Window tearing and lagging

Post

uname -r
lspci -knn

as well. Maybe the driver didn't install well enough. How did you install it, from the repos or the website?

Offline

#5 2012-04-27 22:37:28

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

Here's uname -r:

2.6.32-5-amd64

And here's the output for lspci -knn:

00:00.0 RAM memory [0500]: nVidia Corporation MCP61 LPC Bridge [10de:03e2] (rev a1)
    Subsystem: Giga-byte Technology Device [1458:5001]
00:01.0 ISA bridge [0601]: nVidia Corporation MCP61 LPC Bridge [10de:03e1] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:0c11]
00:01.1 SMBus [0c05]: nVidia Corporation MCP61 SMBus [10de:03eb] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:0c11]
    Kernel driver in use: nForce2_smbus
00:01.2 RAM memory [0500]: nVidia Corporation MCP61 Memory Controller [10de:03f5] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:0c11]
00:02.0 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f1] (rev a3)
    Subsystem: Giga-byte Technology Device [1458:5004]
    Kernel driver in use: ohci_hcd
00:02.1 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f2] (rev a3)
    Subsystem: Giga-byte Technology Device [1458:5004]
    Kernel driver in use: ehci_hcd
00:04.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI bridge [10de:03f3] (rev a1)
00:05.0 Audio device [0403]: nVidia Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:a002]
    Kernel driver in use: HDA Intel
00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:e000]
    Kernel driver in use: forcedeth
00:08.0 IDE interface [0101]: nVidia Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:b002]
    Kernel driver in use: sata_nv
00:08.1 IDE interface [0101]: nVidia Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
    Subsystem: Giga-byte Technology Device [1458:b002]
    Kernel driver in use: sata_nv
00:09.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI Express bridge [10de:03e8] (rev a2)
    Kernel driver in use: pcieport
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1600]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1601]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1602]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1603]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1604]
00:18.5 Host bridge [0600]: Advanced Micro Devices [AMD] Device [1022:1605]
02:00.0 VGA compatible controller [0300]: ATI Technologies Inc Device [1002:6758]
    Subsystem: Giga-byte Technology Device [1458:2545]
02:00.1 Audio device [0403]: ATI Technologies Inc Device [1002:aa90]
    Subsystem: Giga-byte Technology Device [1458:aa90]
    Kernel driver in use: HDA Intel

Offline

#6 2012-04-27 22:51:35

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: Window tearing and lagging

Your kernel is too old, and the system isn't using the driver. Step one, install the kernel from backports. Edit /etc/apt/sources.list, uncomment (remove the #) in front of both entries related to backports, then run

sudo apt-get update && sudo apt-get install linux-image-3.2.0-0.bpo.2-amd64 linux-headers-3.2.0-0.bpo.2-amd64

Boot into the new kernel and install the driver again. IF you have any difficulties, refer to my general instruction thread -
http://crunchbanglinux.org/forums/topic … s-drivers/ Feel free to ask any questions related to the install procedure, either here or in the thread.

Offline

#7 2012-04-28 00:27:10

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

Thanks for the help, el_koraco, I really appreciate it. So assuming running the commands you provided IS the actual installing of the new kernel, I ran it and here's what I got, which seemed kinda Catch-22 to me, but what do I know. big_smile

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-image-3.2.0-0.bpo.2-amd64 : Depends: linux-base (>= 3~) but 2.6.32-41squeeze2 is to be installed
                                   Recommends: firmware-linux-free (>= 3~) but 2.6.32-41squeeze2 is to be installed
                                   Breaks: initramfs-tools (< 0.99~) but 0.98.8 is to be installed
E: Broken packages

Offline

#8 2012-04-28 00:42:55

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

So maybe I'm just a newb (in fact I probably am) but I went ahead and uninstalled my driver after checking out that link you gave me, only I did so using

sudo aticonfig --uninstall
sudo reboot

And I guess that was the problem because the window lag and tearing is gone, but now my first problem is back; the display is not showing my monitors native resolution of 1920x1080. I'm going to see if I can't fix it though via xrandr. Also if you recommend it, I'd still like to upgrade my linux kernel, although I have heard that the default #! kernel is supposed to be long term supported and stable. Let me know what you think.

Offline

#9 2012-04-28 01:34:47

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

Nevermind. Thanks for the help, koraco! I basically just followed your instructions on your guide. Worked like a charm! Display set itself up automatically and no window laggin at all! Genius!

Offline

#10 2012-04-28 06:04:13

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: Window tearing and lagging

Good that you have the driver working. I missed something in my instructions. Do this:

sudo apt-get update && sudo apt-get install dkms
sudo apt-get -t squeeze-backports install linux-image-3.2.0-0.bpo.2-amd64 linux-headers-3.2.0-0.bpo.2-amd64

During the install of the kernel, at the end, you should see a message like building module with dkms... module fglrx loaded (something like that). When you reboot, you should see a new entry in your Grub menu. The 3.2 kernel is also long-term supported by Debian. If you have problems, you can just boot into the old kernel.

Offline

#11 2012-04-28 21:19:06

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

Cool, I'm on my laptop now but I'll do that on my desktop when I get home. Should I still update the kernel on my laptop though? Because everything works fine on my laptop, I was just wondering if it's generally a good idea to have the latest kernel.

Offline

#12 2012-04-28 21:35:15

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: Window tearing and lagging

It can't hurt to upgrade the kernel, you can still pick the old kernel in the Grub menu in case something isn't working right. There's been loads of welcome changes from 2.6.32 to 3.2, Make sure the X server doesn't upgrade automatically, apply this fix before doing a dist-upgrade:  http://crunchbanglinux.org/forums/topic … eferences/ Or, in case you wanna use a newer version of the X server (the graphical system infrastructure), uninstall the AMD driver, enable backports, dist-upgrade, or just upgrade X with

sudo apt-get -t squeeze-backports install xorg

, reboot and reinstall the driver. If you have an Intel GPU in your laptop, I recommend both the kernel and X server from backports, though in that case you don't need to worry about problems with the GPU, it will Just Work on a dist-upgrade.

Last edited by el_koraco (2012-04-28 21:36:31)

Offline

#13 2012-04-29 02:32:38

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

Thanks again for all the help koraco! Update ran smoothly and everything seems to be working great!

Offline

#14 2012-04-29 02:34:07

rockzombie2
Member
From: Orlando, FL
Registered: 2012-04-23
Posts: 34

Re: Window tearing and lagging

^On my desktop that is. I still need to upgrade the kernel on my laptop, but I don't expect there to be any problems. I'll let you know if there is though. Thanks!

Offline

#15 2012-04-29 07:14:15

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: Window tearing and lagging

no probs.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo