/srv/irclogs.ubuntu.com/2011/09/26/#ubuntu-x.txt

* ara hugs RAOF for working on bug 824099 :)07:27
RAOFIt's not so much a fix as a "please don't do that, use Unity 2D if you want to span your displays". :/07:28
alkisgHi, I've a lab of computers where the graphics card uses the pm2fb.ko module. The videoram is 4 MB, but only 512 KB are detected.07:47
alkisgI tried forcing VideoRam in xorg.conf, but it made no difference07:48
alkisgWould trying a newer kernel help? What else can I try?07:48
RAOFalkisg: Is that permidia?07:57
RAOFOld school!07:57
alkisgRAOF: yes, and yes07:57
alkisgToo old, but unfortunately that school can't afford the change07:57
alkisgI'm trying to install the backported natty kernel (using lucid)07:58
RAOFxorg.conf isn't going to have any effect; that's a kernel framebuffer driver - there is no X driver involved.07:58
alkisgIf anyone has some other ideas I could try...07:58
alkisgAh07:58
RAOFOr, rather, there's an X driver involved, but it's just a dumb FB driver.07:58
alkisgIsn't there any way to force X to use a particular mode even though it thinks there's not enough videoram for it?07:58
RAOFNo.  X isn't setting the mode at all.07:59
alkisg(the school had windows previously, cards worked fine there)07:59
jcristauyou can try playing with fbset07:59
araRAOF, good to me. Right now it is: do what you want but your display will look awful 07:59
jcristauor hacking up your kernel driver07:59
RAOFYou *might* be able to pass some kernel module parameters to that module.07:59
RAOFalkisg: parm:           mode_option:Initial video mode e.g. '648x480-8@60' (charp)08:00
alkisgI tried `modinfo pm2fb` but I didn't see any options... ah that one08:00
alkisgLet's see if it can use it even though it thinks it doesn't have enough ram08:00
RAOFara: Yeah.  Or, in my case, be software rendered on the *super fast* atom processor, for a blazing 30 seconds per frame performance.08:01
RAOFLet's see if this works...08:02
alkisgjcristau: I tried `fbset` and it says "cannot open /dev/fb0"08:05
alkisgtrying to pass mode_option in the command line...08:06
jcristauerr08:08
jcristauif you're using pm2fb.ko surely you have a fb device...08:08
alkisgI'm using LTSP, and that's a thin client, but I don't think ltsp would interfere with that... :(08:09
alkisgIs this a correct syntax?  initrd.img ...  mode_option:1024x768-16@60 08:12
jcristauno08:14
alkisgHere are some files from the client: http://paste.ubuntu.com/697123/08:18
alkisgxorg.log, cmdline, modinfo etc08:18
alkisgls -l /dev/fb* says file not found08:19
jcristauwell pm2fb is not loaded08:21
jcristauso clearly you're not using that08:21
alkisgI'm reporting what `lspci -nn -k | grep -A 2 VGA` told me: Kernel modules: pm2fb08:22
jcristauyes, that means pm2fb could drive that hw08:23
jcristauotherwise it would tell you Kernel driver in use: $something08:23
alkisgAh. modprobe pm2fb indeed loaded the module now08:24
alkisgAnd I have an /dev/fb0 now08:24
alkisgjcristau: a big improvement, thanks. After manually loading pm2fb, I got X at 640x48008:31
alkisgAny advice on how to force that to 1024x768?08:32
alkisgWill running `fbset params` before loading X help?08:32
jcristaui don't know.08:32
alkisgThank you though. Could you help me for the correct syntax on the mode_option parameter?08:33
alkisg(11:12:41 πμ) alkisg: Is this a correct syntax?  initrd.img ...  mode_option:1024x768-16@60 08:33
alkisg(11:14:33 πμ) jcristau: no08:33
alkisg*could someone help me...08:33
tjaaltonhttp://www.linuxdoc.org/HOWTO/Framebuffer-HOWTO/x168.html08:38
tjaaltonsee the part about permedia08:38
* alkisg reads, ty...08:45
alkisgPhew that was a difficult one to do via VNC! After all the troubleshooting, I solved the problem by putting the following in my LTSP lts.conf configuration file:09:54
alkisgMODULE_01="pm2fb mode_option=1024x768-16@75"09:54
alkisgThank you all for your help, yet another school just moved to Ubuntu/LTSP. :)09:54
mdeslaurHi X hackers...any known workaround for bug 858450 ?12:27
tjaaltonbug 85845012:28
tjaaltonhuh, no bot12:29
* mdeslaur is saddened by bot's suicide12:32
tjaaltonmdeslaur: uh, I understand how annoying the bug is..12:36
tjaaltonas a quick test I can only suggest trying a 3.1rc mainline kernel12:36
mdeslaurtjaalton: do we have a mainline ppa somewhere?12:37
tjaaltonmdeslaur: yes http://kernel.ubuntu.com/~kernel-ppa/mainline/12:39
mdeslaurtjaalton: ah, thanks!12:39
tjaaltonmdeslaur: i don't have working ati-gear here, so haven't seen bugs like that myself. maybe others on this channel have though12:54
mdeslaurtjaalton: thanks13:01
kamstrup I almost assume that it's a known issue, but I can't find it in LP: my integrated intel graphics hd 3000 (sandybridge) no longer works (no glx). This worked smoothly ~1 month ago... ?13:27
kamstrupI am not 100% sure where the regression happened because I normally use the discrete nvidia card on my laptop, but decided in a fit of adventurousness that I wanted to try the integrated intel again yesterday...13:28
kamstrup(so just to make it clear optimus is disabled in the bios, so it's not running hybrid, just pure old intel graphics hd 3000)13:29
Sarvattyou have to remove the nvidia driver13:30
tjaaltonright13:31
kamstrupah, ok13:34
kamstrupthanks Sarvatt, tjaalton that helped :-)13:39
Sarvattkamstrup: you can do it without removing it if you plan on doing it a lot also13:45
Sarvatt sudo update-alternatives --config gl_conf (pick mesa instead of nvidia)13:46
Sarvatt sudo ldconfig13:46
Sarvatt sudo update-initramfs -u13:46
kamstrupSarvatt: yeah, it might be helpful for testing out Unity performance13:46
Sarvatt(then reboot)13:46
* kamstrup stores a note13:46
Sarvattsame thing picking nvidia again to go back13:47
tseliotkamstrup: if you're using oneiric you might want to replace "gl_conf" with  either "x86_64-linux-gnu_gl_conf" (on Ubuntu 64bit) or "i386-linux-gnu_gl_conf" (on 32bit) 13:49
kamstruptseliot: ah, that's also way easier mnemotechnically ;-)13:49
tseliotkamstrup: I'm on Ubuntu 64bit and simply type update-alternatives --configure x86 and then I press TAB for autocompletion since I can't remember the whole string13:50
kamstrupLong live tab completion :-)13:51
tseliot:)13:51
alkisgYeah I started using it on norm<tab> senten<tab> too. Unfor<tab> it doesn't work :(13:52
kamstrupyeah, i kn13:58
bjsnidersince when does optimus work on linux?14:32
kamstrupbjsnider: it "works" if you disable it in the bios ;-)14:32
bjsniderno, you said you normally use the nvidia chip exclusively14:33
tjaaltonironhide works somewhat14:33
kamstrupbjsnider: exactly14:33
kamstrupbjsnider: disable optimus, using only the discrete card14:34
bjsnideri see14:34
bjsnideryou're lucky your craptop gives you that option14:34
bjsnidera lot of them don't let the user have that much control over the graphics setup14:34
kamstrupbjsnider: wow, I'd actually expect one to be able to deactivate the hybrid mode in the bios, and at least use the integrated card in a dedicated way14:43
kamstrupeven on cheap hardware14:43
kamstrupignorance is bliss14:44
bjsnideri've talked to people recently who say they've been through the bios and there is no such option14:45
bjsnideri would think that would make it very hard to buy a laptop if you intend to put linux on it14:50
shadeslayerhey, anyone have a idea how to get my intel i915 kernel module working? I get : *ERROR* drm/i915 can't work without intel_agp module!17:48
shadeslayeri have a seprate discrete graphics card, but i'd like to power that down and just boot using the intel agp17:48
ricotzSarvatt, hi, are you ok with if i just copy the cairo packages with its current version string to edgers?19:51
Sarvattricotz: yup!20:10
ricotzSarvatt, done ;)20:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!