/srv/irclogs.ubuntu.com/2009/12/06/#ubuntu-x.txt

SarvattRAOF: got a nouveau-kernel-source that works on 2.6.32 on a PPA by any chance?01:22
Sarvattor does the one in edgers work?01:22
Sarvattsomething tells me this 185.36 nvidia blob isn't new enough to support xserver 1.7+..01:24
Sarvattyep we're gonna need to upgrade the nvidia blob to 190.xx at least for xserver 1.701:29
=== mac_v_ is now known as mac_v
unggnuhi all13:16
unggnuDoes anyone know if someone is working on a KMS vesa driver?13:16
tjaaltonask ajax on #xorg-devel13:16
unggnuThis would make KMS available for everybody, at least without acceleration :)13:16
unggnuthx13:16
tjaaltonbut don't hold your breath13:16
unggnuIsn't it supposed to be the easiest integeration since it has no acceleration?13:17
unggnuDoes current fglrx not work with 2.6.32 or is it a problem with the Ubuntu kernel?13:22
tjaaltonit never is a kernel problem :)13:33
unggnuBecause I have read somwhere else that 2.6.32 is supported through fglrx13:34
unggnuI just was interested how fglrx deals with radeon KMS in lucid13:36
unggnu*were13:36
jcristaui guess badly, but then it's fglrx so that was an easy guess13:37
tjaaltonI don't think the blobs will/can ever support kms13:38
unggnuYes, I know, I just wanted to know if there is a problem when using radeon and switching to FGLRX13:39
unggnuI am only using FGLRX because of Powerplay13:39
unggnu2D acceleration is very poor and XV still tears13:40
unggnuI have to use OpenGL video output, this driver is a mess13:40
unggnubut OpenGL doesn't tear only if vsync is forced and no composite is used13:40
unggnuciao14:01
tormodunggnu had some good points here though, about fglrx17:12
tormodproper radeon KMS support needs early loading of radeon, and fglrx does not like radeon I guess17:13
tormodso it has to decide in early boot whether to for radeon or fglrx17:13
tjaaltonsame thing with nvidia17:14
tjaaltondon't know how to deal with that..17:16
jcristauthe closed drivers already deal with moving libGL.so.1 and libglx.so away17:17
jcristauthey can add radeon.ko and nouveau.ko17:17
tjaaltonhmm, right17:17
tormoddoes fglrx install its own libGL?17:18
tjaaltonof course17:18
tjaaltonand diverts the mesa one17:18
tormodso they should just install a do-not-load-radeon modprobe blacklist then, or move the module but that's difficult since it's at a new place for every kernel17:20
tormodand blacklist probably don't stop modalias loading17:21
jcristauit does17:22
tormodwasn't there some talk about a fglrx.ko which could coexist with radeon.ko?17:22
jcristauthat's its whole point actually17:23
jcristaualso, modinfo radeon|awk '/^filename:/ { print $2 }'17:23
tormodthe point of blacklists?17:23
tormodjcristau, your command lists the current location of the radeon.ko. but if you upgrade the kernel, fglrx will have to move the new one.17:25
jcristauyes, the point of blacklists is to prevent automatic loading17:25
jcristautrue re: the modinfo thingy17:25
tormodI thought the blacklist was dealt with by modinfo17:26
jcristaumodprobe17:26
tormodyes :)17:26
jcristauudev uses modprobe -b17:26
tormodoh does it17:26
jcristauwhich doesn't do anything if the module is blacklisted17:26
tormodso that's why it is so slow :)17:27
tormodwhere does udev do the autoloading?17:29
tormod/lib/udev/rules.d/80-drivers.rules17:30
tormodso why does this not load the radeon module?17:35
jcristaudo you have CONFIG_DRM_RADEON_KMS=y?17:35
tormodyes17:35
jcristaudunno then17:35
tormodsudo modprobe -b pci:v00001002d00005653sv00001025sd00000070bc03sc00i0017:38
tormodFATAL: Module pci:v00001002d00005653sv00001025sd00000070bc03sc00i00 not found.17:38
jcristaumodinfo radeon should list some modaliases..17:39
tormodit does list my card17:39
jcristaumaybe check how /lib/modules/`uname -r`/modules.alias is generated17:40
tormodfunny enough my card is in there too17:41
jcristauweird.17:42
tormodI think the kernel does tell udev about it17:43
tormoddoes not17:43
jcristautormod: udevadm info --export-db shows the modalias?17:47
tormodyes17:48
tormodbut that is now, after radeon has been loaded "manually"17:48
jcristauoh, it's not there before?17:49
tormodI don't know :)17:49
jcristaui'll try and see what happens when 2.6.32 hits sid17:49
tormodweek old kernel release, in Debian? :)17:50
tormodmaybe I should try this before loading radeon17:50
jcristauwell, we're at -rc8, and 18:18 < CIA-3> waldi * r14741 /dists/trunk/linux-2.6/debian/changelog:  debian/changelog: Prepare to release (2.6.32-1).17:52
tormodbrb17:56
tormodmust be something with modprobe's alias resolving18:16
tormodfor instance, modprobe --resolve-alias  pci:v00001389d00000002sv*sd*bc*sc*i* -> applicom18:27
tormodmodprobe --resolve-alias  pci:v00001002d00005653sv*sd*bc*sc*i* -> (nothing)18:28
tormodomg plz forget everything I said while I go hiding, I just discovered an old modprobe file I had put there for debugging some stuff months ago...18:32
jcristauhah.18:33
Sarvattso many problems with intel now :( this happened 3 times today freezing x - http://paste.ubuntu.com/336069/19:04
tormodok, I have been spreading a fair amount of disinformation about radeon KMS, but the initialisation race can still be a problem. Here, kms can take up to 1.7s to initialise and nothing stops X from starting before it is ready.19:08
tormodI wish upstart could log events with timestamps19:08
Sarvattthere isnt a wait after loading it in the initramfs19:09
Sarvatt?19:09
tormodSarvatt, not for radeon, it is loaded later19:09
jcristaui don't think it should be loaded in the initramfs19:09
Sarvatthooks/framebuffer packs in all gpu and agp modules and it waits for fb0, dri/card0 and fbcon to load as well before moving on from what I see, I'm probably misunderstanding though19:17
Sarvattlooking at initramfs-tools-0.92bubuntu55 which is waaay different than debians19:20
tormodthis is only in use if you boot with video= right?19:22
tormoduh no19:23
Sarvatthttp://paste.ubuntu.com/33608519:31
yofelhi, would bug 491483 be SRUable?20:10
ubottuLaunchpad bug 491483 in xorg "Since failsave-x was enabled in karmic it starts if gdm is disabled and kdm is used" [Undecided,Confirmed] https://launchpad.net/bugs/49148320:10
Sarvattyeaaah I give up on attempting to package i915 gallium tonight :D22:10
johanbrhmm... xserver-xorg-video-nouveau: Depends: linux-nouveau-modules which is a virtual package22:44
johanbrdid I manage to hit the PPA just while it's being updated?22:46
johanbr(the PPA being xorg-edgers)22:47
Sarvattnope, sounds like it was synced with debian instead of ubuntu22:47
johanbroh22:48
johanbrso the dependency should be on nouveau-kernel-source?22:49
Sarvattjust checked and the one waiting to build uses linux-nouveau-modules too, i uploaded that 10 hours ago.. 22:49
Sarvattyeah its linux-nouveau-modules in debian22:49
Sarvatti'll upload a new one but it'll be a looong time until it builds at the rate ppa builds are going22:50
johanbralright22:51
johanbrbut I just downloaded the source package, which does have Depends: nouveau-kernel-source in debian/control22:51
johanbrweird22:51
Sarvattoh? what version is it?22:52
Sarvattare you on karmic or something?22:52
johanbroh, never mind, wrong version22:52
johanbrI didn't put in the deb-src line for the ppa22:52
johanbrI'll see if I can fix it locally in the meantime... thank you for the help22:54
Sarvattno worries, updated source should be up in about 5 minutes if not, just finished uploading it22:55
Sarvatthmm, is a xbox 360 controller supposed to use -joystick? shows up as a mouse here23:00
johanbrhmm... the package compiled, but didn't work too well: "drmOpen failed"23:06
johanbrhttp://pastebin.com/f595ad9b523:07
Sarvatttheres no dri for it23:12
Sarvatttrying to remember what options i used with it, page i wrote it on has changed :(23:13
jcristauwell nouveau needs the drm23:14
jcristaubut he didn't paste dmesg, so..23:14
Sarvattahh maybe he didnt force KMS on with the module option, i remember having that same problem now23:27
Sarvattfound my old dmesg from it working http://sarvatt.com/downloads/nouveau-kms.txt23:27
Sarvatti couldnt start x without KMS but that was like 6 months ago23:28
Sarvattsame exact gpu though23:29
johanbrwell... got a little further... the nouveau kernel module loads fine, but then the system locks hard when gdm starts23:33
Sarvatttry booting with nouveau.modeset=1 added to grub johanbr23:34
johanbralright, I'll give that a try, thanks again23:34
Sarvatti had the same problem on the same card 6 months ago when I was messing with it, had to use KMS to get it all working23:35
Sarvattshould probably ship a modprobe.d rule for nouveau with the package23:36
tormodSarvatt, johanbr, if the new nouveau dep is wrong, just use my old package23:37
tormodthat dep is most of the change anyway23:37
johanbrI just replaced it with nouveau-kernel-source and rebuilt23:38
Sarvattheres what my logs looked like with KMS, when i tried without KMS it got stuck trying to restart gdm constantly http://sarvatt.com/downloads/nouveau-kms.txt23:40
Sarvattnvidia didnt have a blob that worked on xserver 1.7 back then after the video abi changed, at least 190.xx and up works now23:41
Sarvatti'll try it out right now, purging 195.22 i manually installed23:43
johanbrabout to do the same23:47
Sarvatti cant even build the kernel module23:51
Sarvatt/usr/src/linux-headers-2.6.32-6-generic/arch/x86/Makefile:81: stack protector enabled but no compiler support23:51
Sarvattthink ccache is screwed up on this machine23:52
Sarvattnouveau sets a initramfs rebuild trigger before it makes the module?23:54
Sarvattthen it does it again after the module is built, ah23:55
Sarvattyep it aint working right now: http://sarvatt.com/downloads/gallium.txt23:59

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