You are not logged in.

#1 2008-08-03 20:53:54

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

[bugfix pending] which kernel (mis)config might be the cause ...

... for terminal windows in dwm not refreshing when they change their size (zooming, changing layout etc.). Even when I press Ctrl-L, my terminal windows with mutt, mc and the like somehow seem to keep the dimensions (or seem to think they still have the same dimensions) that they had when they were launched. The funny thing is: It does happen with my custom kernel (zen-git), but doesn't with the stock kernel. yikes

Here's my config.gz: http://pastebin.ch/357

and a screenshot?: 200808032244581280x800sbt7.th.png


Thanks for any hints.
Andreas

PS. I've really tried to find any information about such an issue but didn't succeed. Before I am going to try each and every option (tried a few graphics-related changes already), I thought it would be permissible to ask here if anyone has an idea...

Last edited by awagner (2008-08-20 18:42:43)

Offline

#2 2008-08-03 21:45:07

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: [bugfix pending] which kernel (mis)config might be the cause ...

I fail to imagine how this could be kernel related.
Do a diff between the 2 kernel configs and see whats different.

Offline

#3 2008-08-04 08:50:58

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: [bugfix pending] which kernel (mis)config might be the cause ...

The diff is rather long (http://pastebin.ch/362) and I'm completely at a loss as to what could be the cause, too.

FWIW, here are the two grub entries:

# (3) Core kernel
title  Core
root   (hd0,2)
kernel /vmlinuz26 showopts root=/dev/sda6 resume=/dev/sda8 vga=791 ro
initrd /kernel26.img

# (4) Zen Test
title  Zen Test
root   (hd0,2)
kernel /vmlinuz26zen showopts root=/dev/sda6 resume=/dev/sda8 vga=791 ro load_modules=off

(That's right, there's no initrd for the zen kernel. But that's another story - the problem is the same if I boot it with an initrd.)

Andreas

Offline

#4 2008-08-05 15:09:04

MetalRandomist
Member
Registered: 2007-08-16
Posts: 30

Re: [bugfix pending] which kernel (mis)config might be the cause ...

To the OP, I'm having the same problem you have.  I'm using the stock kernel and xterm.

Offline

#5 2008-08-06 08:16:47

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: [bugfix pending] which kernel (mis)config might be the cause ...

MetalRandomist wrote:

To the OP, I'm having the same problem you have.  I'm using the stock kernel and xterm.

Hm. So maybe not kernel related? But there is no other change in any configuration between my two types of sessions. I have x86_64 with nv x11 driver, dwm 5.1 and xterms. Here's lsmod from the stock kernel session (obviously in the custom kernel there are no modules at all):

Module                  Size  Used by
isofs                  35752  1 
zlib_inflate           19584  1 isofs
ipv6                  308200  8 
nls_cp437               7552  2 
vfat                   12800  2 
fat                    52152  1 vfat
ext2                   72336  2 
parport_pc             39624  1 
snd_via82xx_modem      13708  0 
pcspkr                  3456  0 
lp                     12100  0 
sr_mod                 17348  0 
cdrom                  37928  1 sr_mod
ehci_hcd               38284  0 
r8169                  29060  0 
nvidia               8109712  0 
firewire_ohci          19584  0 
firewire_core          42848  1 firewire_ohci
crc_itu_t               2688  1 firewire_core
ohci1394               31796  0 
ieee1394               91768  1 ohci1394
video                  20500  0 
output                  4096  1 video
shpchp                 33692  0 
pci_hotplug            30264  1 shpchp
sg                     33120  0 
wmi                     7232  0 
led_class               4872  0 
thermal                18976  0 
button                  8096  0 
battery                13192  0 
ac                      5768  0 
loop                   17412  2 
uhci_hcd               25504  0 
ata_generic             7172  0 
snd_seq_oss            34176  0 
snd_seq_midi_event      8064  1 snd_seq_oss
snd_via82xx            27560  0 
snd_pcm_oss            44160  0 
gameport               13200  1 snd_via82xx
joydev                 12672  0 
snd_mixer_oss          17408  1 snd_pcm_oss
evdev                  12032  5 
snd_ac97_codec        119640  2 snd_via82xx_modem,snd_via82xx
ac97_bus                2560  1 snd_ac97_codec
snd_pcm                81416  4 snd_via82xx_modem,snd_via82xx,snd_pcm_oss,snd_ac97_codec
snd_page_alloc          9360  3 snd_via82xx_modem,snd_via82xx,snd_pcm
snd_mpu401_uart         8704  1 snd_via82xx
snd_rawmidi            23808  1 snd_mpu401_uart
snd_seq                57056  4 snd_seq_oss,snd_seq_midi_event
snd_timer              23440  2 snd_pcm,snd_seq
snd_seq_device          7956  3 snd_seq_oss,snd_rawmidi,snd_seq
snd                    61000  12 snd_via82xx_modem,snd_seq_oss,snd_via82xx,snd_pcm_oss,snd_mixer_oss,snd_ac97_codec,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8096  1 snd
fb_ddc                  2944  0 
serio_raw               6788  0 
psmouse                43292  0 
usbhid                 48608  0 
hid                    47552  1 usbhid
usbcore               152472  4 ehci_hcd,uhci_hcd,usbhid
ff_memless              6280  1 usbhid
ppdev                   8840  0 
parport                38064  3 parport_pc,lp,ppdev
i2c_algo_bit            7044  0 
i2c_viapro              9752  0 
i2c_core               22816  4 nvidia,fb_ddc,i2c_algo_bit,i2c_viapro
k8temp                  5760  0 
cpufreq_ondemand        8720  1 
cpufreq_powersave       2432  0 
powernow_k8            14724  0 
freq_table              4768  2 cpufreq_ondemand,powernow_k8
processor              37932  2 thermal,powernow_k8
rtc_cmos               10680  0 
rtc_core               19268  1 rtc_cmos
rtc_lib                 3456  1 rtc_core
ext3                  138384  1 
jbd                    54184  1 ext3
mbcache                 8964  2 ext2,ext3
sd_mod                 25792  7 
pata_acpi               6528  0 
pata_via               10628  6 
libata                159792  3 ata_generic,pata_acpi,pata_via
scsi_mod              109432  4 sr_mod,sg,sd_mod,libata
dock                    9760  1 libata

Last edited by awagner (2008-08-06 08:17:17)

Offline

#6 2008-08-06 09:04:47

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: [bugfix pending] which kernel (mis)config might be the cause ...

The problem happens with all terminals (tried termit/vte/gnome-terminal (but I think they all are based on vte, i couldn't test urxvt)) and it happens in dwm, openbox and kde - but it's most visible in dwm, whereas in openbox it often helps to hit Ctrl-L, then the layout is repainted with (in most cases) the correct dimensions.
Since it doesn't happen with the stock kernel even in dwm, I didn't test the other terminals/WMs there.

Offline

#7 2008-08-11 15:03:36

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: [bugfix pending] which kernel (mis)config might be the cause ...

I've now reconfigured what was kernel26-2.6.25.11 and it seems the config was not the problem: It's working fine, but since stock  kernel26 is 2.6.26(.2), I get the erratic behaviour in stock, too...

Offline

#8 2008-08-20 18:41:42

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: [bugfix pending] which kernel (mis)config might be the cause ...

Sorry to reply again to myself. It turned out to be a kernel bug:
http://lkml.org/lkml/2008/8/10/117
Now if only I knew how to get me a fixed version... roll

Offline

Board footer

Powered by FluxBB