Phoronix IRC Log: 2010-09-24
skyhirider: I need to make this command to work: ls /lib/modules/'uname -r' , uname -r should be the kernel name, but it should be generic, how can I make that work?
Ivanovic: uhm, ust uname -r in there!
giselher: skyhirider: uname -r | sed "-*"
giselher: skyhirider: uname -r | sed "s/-.*//"
giselher: sorry
skyhirider: uname -r | sed "s/-.*//" returns just the kernel number, I need ls to print out the contents of the kernel dir on any machine i type it into
giselher: skyhirider: I just have to use uname -r on arch
giselher: skyhirider: what is the output of uname -r on your machine?
skyhirider: i know i can do it with variables, eg assigning UNAME='uname -r'; ls /lib/modules/$UNAME and it should always print the content of the current kernel directory
skyhirider: it should do the same as the command: ls /lib/modules/2.6.32-24-generic/
skyhirider: but the last part should be a variable and should change if I update the kernel
skyhirider: you probably dont understand what i want it to do, im not good at explaining stuff
giselher: ls /lib/modules/´uname -r´
giselher: ´ not '
skyhirider: that does not seem to work: ls: invalid option -- '�'
giselher: sorry `
giselher: ls /lib/modules/`uname -r`
giselher: sorry that works now :~
giselher: :P
giselher: how I hate those quotes :(
Klas: giselher: you can use $() instead of `` in modern unixes
giselher: modern unixes
giselher: ?
giselher: lol
skyhirider: hah, thanks giselher! that works well!
giselher: I use -pedantic -ansi with gcc
giselher: to ensure portability to 1000 year old computers :)
skyhirider: oh boy, looking forward to the future, eh?
giselher: yeah
giselher: -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align \
giselher: -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations \
giselher: -Wredundant-decls -Wnested-externs -Winline -Wno-long-long \
giselher: -Wconversion -Wstrict-prototypes
giselher: my usual flags :)
skyhirider: btw. am working on a network tunneling script and I needed it to add the kernel modules with insmod, but the path had to be universal, thats why i needed that stuff
skyhirider: not a coder, so no idea what those flags mean, but there sure is a lot of em
giselher: lol
giselher: I you use those on code from windows user then their computer explodes :)
giselher: If*
JEEB: depends on how that windows user made his code :P
giselher: lol, lots of //
skyhirider: heh, wish we could get rid of them so easily
JEEB: giselher, uhh
JEEB: // is used by samsung on loonix code, too
JEEB: for once
JEEB: Twice, ansi C rules are the same wherever you are :P
JEEB: of course, personally I rather like C99, but that's a whole other point
giselher: the more strict the rules are the more people write similar code
giselher: well If have ta run :)
giselher|afk: C89!
JEEB: haha
dgtl: hey guys
dgtl: i have a slight question regarding the usage of an intel clarkdale cpu + an h55 mainboard such as http://tinyurl.com/3783s85 ; i read on the phoronix website several articles describing the clarkdale performance as at least 'problematically'
thc: the problem is, that linux dosn t support the very nice amd/ati 880g plattform
thc: this systems are cheap and powerfull
dgtl: has it changed lately? - is the intel clarkdale plattform with the h55 chipset fully usable atm?
dgtl: lets boil it down to two questions: 1) is the opengl support working without crashed and 2) what about multimedia support as in playing 1080p content - does it work properly?
dgtl: s/crashed/crashes
Ivanovic: thc: huh, why should linux not support amd880g systems?
thc: its not supporting hd-aceleration
thc: it has a poor performance;/
thc: phoronix wrote that
thc: but the report is not new
Ivanovic: thc: uhm, this platform should work nicely with fglrx
thc: maybe this has changed in the meanwhile
Ivanovic: so at least opengl should work without any problem
thc: do you have newer informations?
thc: well, what is with hd-video aceleration?
thc: this is one aof the "must work" features
Ivanovic: no idea, i trust in my cpu being able to handle what i want to watch
thc: you can t be sure mann
thc: even fast cpu`s are not able to play full hd content without stuttering
Ivanovic: i am very sure of this since my tv card is plain pal
Ivanovic: dvds are plain pal, too
thc: if you don t have a working hd aceleration then you might have a problem
Ivanovic: and videos i got from the net eg via youtube work nicely, too
thc: dvd`s are a piece of cake
thc: we have the year 2010
Ivanovic: since i don't download any fullhd rips or anything like this this is perfectly enough for me
thc: hd content is the most used
Ivanovic: gon't have a bluray drive either
dgtl: infojunky, if you dont watch hd content as in 1080p, you might worry
Ivanovic: so where should i get the content from?
thc: k, might be, that for you hd is not so improtant
dgtl: that wasnt my question anyways...
thc: i can understund this
thc: but different people, different wishes:)
dgtl: might NOT worry
Ivanovic: dgtl: i don't think that the status has much changed if you rely on normal releases
Ivanovic: dgtl: since there was probably no release of any of the main distributions
Ivanovic: dgtl: you should provide some more information like the distribution you want to use
dgtl: i want to use ubuntu LTS (newest version)
Ivanovic: forget it
Ivanovic: that is: if it was not working when phrononix tested things it won't work for the LTS release
Ivanovic: the problem is that ubuntu does not do "real" updates in a series, they tend to only fix security issues
dgtl: Ivanovic, phoronix tested that stuff in january
Ivanovic: "On the software side was an Ubuntu 10.04 daily snapshot with GNOME 2.29.4, X Server 1.7.4 RC2, Mesa 7.7, and we had manually updated the Linux kernel to the Linux 2.6.33-rc5 release as well as the Intel X.Org driver to the xf86-video-intel 2.10.0 DDX."
Ivanovic: http://www.phoronix.com/scan.php?page=article&item=intel_clarkdale_gpu&num=1
Ivanovic: check what is currently shipped in ubuntu 10.4
dgtl: since then we had a new ubuntu release since then
Ivanovic: if those versions are *not* higher, then you are on the bad side
Ivanovic: uhm, this test already used the 10.4 beta version
dgtl: yes, right
Ivanovic: so the packages are most likely the same
dgtl: i see
Ivanovic: i don't know if the ubuntu people bumped the version before the release
Ivanovic: if they have not it is likely that the very issues are still valid
dgtl: lol, they used kernel 2.6.33-rc5, i'm still using 2.6.32-25-generic...so i guess theres not much hope
dgtl: will check the versions of the other software
Ivanovic: those crashes are most likely in the xf86-video-intel potion
JEEB: there are newer kernels for ubuntu as well, check the kernel repo's contents
JEEB: or well, the kernel team's site or whatever it is
dgtl: i read those crashes only appear when playing opengl games, this is something i wouldnt want to do either
Ivanovic: if it is opengl only then it could as well be mesa
JEEB: has the debs for newer kernels and their header files etc. etc.
dgtl: JEEB, okay, i'm using just the regular ubuntu kernel-update-system
dgtl: which updated my kernel lastly to 2.6.32-25-generic
Ivanovic: uhm, the intel driver shipped in ubuntu 10.4 is only 2.9.1, which is even older than what was used in the test...
dgtl: Ivanovic, phoronix wrote there are no crashs while normal desktop usage, even if compiz and the 3d features are being used
Ivanovic: then you should be fine in those regards
dgtl: as well no crash when playing multimedia hd stuff
Ivanovic: though i don't know if playback of 1080p will *always* work perfectly since so far no hardware acceleration is used, cpu only
dgtl: i guess so... but i don't want to test luck 'after' buying new hardware
dgtl: i want to be sure before i buy...
dgtl: so...that is why i asked here..
dgtl: but it seems like nobody can tell for sure...
Ivanovic: i don't think that anyone in here has this platform at hand
Ivanovic: so we can't tell you anything for sure
Ivanovic: if you want to use ubuntu i'd recommend using 10.10 though since the platform is rather new and support in that one might be better
Ivanovic: (that is you can test both of course, but don't be surprised if 10.10 works better))
dgtl: maybe i should simply wait... as i'm familiar with wating since i use unix:)
dgtl: okay, will keep that in mind
Ivanovic: in general you should be fine with a gigabyte board, my experience tells me that they deliver good quality for reasonable amounts of cash
dgtl: mine too, i'm using a gigabyte board atm, for about 2 yrs now, without any problems
Ivanovic: had a ga p35-ds3 before, but the southbridge/ide controller started dying some weeks ago
Ivanovic: switched to a 870a board from gigabyte now
Ivanovic: Sysinfo for 'rechner1': Linux 2.6.35.4 running KDE Development Platform 4.5.1 (KDE 4.5.1), CPU: AMD Phenom II X6 1055T at 800 MHz (5625 bogomips), HD: 317/1250GB, RAM: 2709/3960MB, 190 proc's, 2.33h up
dgtl: Ivanovic, do you if ubuntu (or linux in general) has usb3 support?
dgtl: hey, du bist ja deutsch:)
dgtl: sorry, i thought you are german, because your host is named 'rechner1' :>
Ivanovic: yeah, i am german
Ivanovic: and no, i don't know about usb3 support in ubuntu, though 10.10 should probably have it
Ivanovic: in my 2.6.35 kernel i activated usb3 support and at least the controller chip does work in usb2 more (got two old drives attached there9
dgtl: i see, thx for your help!:>
JEEB: ubuntu 10.10 is 2.6.35 finally IIRC
JEEB: has it on his eeepc
dandel: JEEB, 2.6.35 also has proper kms for people who have the radeon hd5000 series of video cards.
dgtl: i guess i stay with nvidia for multimedia stuff which is my main interest -> playing hd content and watching movies in general
JEEB: if you need hw decoding, yes
dgtl: i read the new amd mainboards with integrated graphics acceleration perform pretty bad
JEEB: nvidia's the only "real" alternative
dgtl: yes, i mean hw decoding - the clarkdale uses the integrated gpu for hw decoding, so i thought that could be an alternative
dgtl: but i wouldnt pump money into an insecure solution, so i guess i stay with nvidia.. sadly they stopped developing new integrated chipsets (mainboard+graphic-card) for the end-customer market
djura-san: O/
W3ird_N3rd: bit lost for a moment.. where do I set options for modules in Linux? it used to be .conf files /etc/modprobe.d but that doesn't work anymore?
W3ird_N3rd: jumbers, you know linux?
jumbers: Hello
W3ird_N3rd: hi there :)
W3ird_N3rd: oh well
Azerthoth: W3ird_N3rd, depends on the distro
W3ird_N3rd: Ubuntu 10.04
Azerthoth: no clue, too buggy
W3ird_N3rd: oh ok. how would it be done on debian?
W3ird_N3rd: I'm trying to load thinkpad_acpi with fancontrol=1 btw
Azerthoth: depends if ubuntu has changed it up (they do that alot) nor have I used debian in atleast 4 years ... buggy
Azerthoth: if you want information on Ubuntu ... one would think #ubuntu would be a good start though
W3ird_N3rd: okay, how would it be done on gentoo?
W3ird_N3rd: yeah ok.. will go there
Azerthoth: depends on which layout, openrc/baselayout2 it would be in /etc/conf.d/modules
Azerthoth: baselayout IIRC modprobe.d/
W3ird_N3rd: thx
byteframe: Holy OMGBBQ I can run D3D11 games on linux now???
byteframe: Phoronix headlines are getting too exclamatory.