General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
[QUOTE=Larikang;44940713]I would be surprised if Source 2 uses DirectX at all. At GDC two years ago Valve said that with new products they are going to focus on OpenGL and port to DX as necessary.[/QUOTE]
I think it was at Steam developer days that they stated they were using both, [url]http://youtu.be/45O7WTc6k2Y?t=11m30s[/url]
So [I]that's[/I] why installing Linux (as a dual-boot) is such a bitch with this motherboard.
[url]http://www.rodsbooks.com/gb-hybrid-efi/[/url]
Good to know.
I made a stupid mistake, wondered why my computer refused to recognize the gparted live USB. I had disabled legacy boot, so it was only searching for UEFI devices.
[QUOTE=nikomo;44939864]Bullshit that comes from a translation layer.[/QUOTE]
What bullshit?
[QUOTE=Jookia;44945756]What bullshit?[/QUOTE]
Well, for starters there's the possibly unneeded abstraction, in certains cases also performance issues, and in the worst cases loss of precision (the OpenGL wrapper does something different from the DX one, thus resulting in differentiating performance as well as possibly also stranger wrapper APIs).
[QUOTE=mastersrp;44948863]Well, for starters there's the possibly unneeded abstraction, in certains cases also performance issues, and in the worst cases loss of precision (the OpenGL wrapper does something different from the DX one, thus resulting in differentiating performance as well as possibly also stranger wrapper APIs).[/QUOTE]
But you'd get this as long as you have any application with multiple rendering backends.
On the whole Source2 / OpenGL discussion - I doubt Source2 will be using a native OpenGL renderer, it will stick with ToGL. But only because of the shaders.
GL currently does not have an intermediate language, which means shaders need to be compiled on launch. Which also mean shipping shader source code. Compiled objects are driver version and card specific, so are not shipable.
It looks like Khronos are listening though, they have adopted GLslang as a reference compiler, which will produce compatible object code regardless of platform:
[url]http://www.khronos.org/opengles/sdk/tools/Reference-Compiler/[/url]
Don't expect this in spec until GL 5.
I recall seeing a Phoronix article about precompiled shaders being included in some form before GL5, but I can't remember any specifics, so I don't even trust me when it comes to that info.
[QUOTE=nikomo;44950434]I recall seeing a Phoronix article about precompiled shaders being included in some form before GL5, but I can't remember any specifics, so I don't even trust me when it comes to that info.[/QUOTE]
GL has the ability to get a binary for a shader, however it can not be guaranteed to work on a different vendor, card or even driver version.
Linux Mint 17 released, time to break my Linux install again because I am an idiot.
Edit:
And of course Grub did not install correctly..
[QUOTE=Anderen2;44939767]What distro are you using? And what have you already installed/setup?
If on an debian-based distro (ex. Debian and Ubuntu) then all you need to get a working webserver is to type "sudo apt-get install apache2" and put some content in /var/www/
The same goes with python-flask and fail2ban (Though some configuration in /etc may be nessesary).
You could also read the file .bash_history in your homefolder (less ~/.bash_history) to see all the latest commands you've typed in to see if you remember more then or google those you don't remember.
If you are new to linux servers, and wants to learn the system I would however recommend you read some of these links to get a better picture of how linux servers work:
Linux filesystem (Explains why and what the root folder is, aswell as /etc, /dev, /proc etc)
[url]http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/c23.html[/url]
Learning the shell
[url]http://linuxcommand.org/lc3_learning_the_shell.php[/url]
What an package manager is:
[url]http://www.howtogeek.com/117579/htg-explains-how-software-installation-package-managers-work-on-linux/[/url]
How to use the package manager in Debian/Ubuntu Server:
[url]https://help.ubuntu.com/13.10/serverguide/package-management.html[/url][/QUOTE]
Thanks a shitload for that, those links (specifically the second one) really helped.
Going from being a windows user where you can sort of guess things by clicking on them and seeing what they are to trying to use CLI linux is kind of a shocking experience. Everything seems so mysterious and hidden, it's hard to know what to do.
Even just finding tutorials on what I need to actually do is difficult at times, because I don't know what linux is capable of doing, or what I even need to do at times.
Where do you get guidance to do the correct thing when you're a complete linux noob?
It's a lot of trial and error plus asking around on the internet. It helps if you have some reason to use it which motivates you to figure stuff out.
Every now and then I read something on the internet and it's like "Oh, I've been doing that a stupider way for years!"
The real problem with using any number of Linux distributions, is that when you use Windows, you realize how retarded everyone at Microsoft is.
My external HDD stopped working.
Perversely enough, I had no backups of it because it's what I stored my backups on. There were a couple of files I had nowhere else, but they were really of no importance.
Still, I'm trying to recover them. PhotoRec currently estimates this'll take 2900 hours.
[editline]31st May 2014[/editline]
It has so far recovered one text file. Incredible
I am really used to the auto move window extension in gnome, is there something similar in Cinnamon? I am already tired of moving steam/skype/etc to the workspaces I want.
Anyone know why pam_pwdfile can't open a passwd file that exists, and has chmod 777?
Note: It was created using the htpasswd tool, so i doubt it's invalid.
Error message:
[QUOTE]2014 May 31 21:11:25 localhost connected: pam_pwdfile(vsftpd:auth): couldn't open password file /etc/vsftpd/passwd
[/QUOTE]
Check that the owner of the file is the same as the server process.
And fix those permissions, chmod 777 is never the answer.
I'm fully aware chmod 777 is never the answer, but it allows all users and groups to access it, therefore i just made it 777 to test, it's not working with 640 or 755, either.
Owner is root:root, server process is ran by root.
Just installed Linux Mint 17. So far, I've noticed that my laptop's brightness keys have stopped working and not much else
[QUOTE=esalaka;44960044]My external HDD stopped working.
Perversely enough, I had no backups of it because it's what I stored my backups on. There were a couple of files I had nowhere else, but they were really of no importance.
Still, I'm trying to recover them. PhotoRec currently estimates this'll take 2900 hours.
[editline]31st May 2014[/editline]
It has so far recovered one text file. Incredible[/QUOTE]
Why not ddrescue it and mount the partition?
[QUOTE=Jookia;44964110]Why not ddrescue it and mount the partition?[/QUOTE]
The partition itself still should exist on disk, but it seems the header is corrupted in some way. This might work. I'll try it.
My first kernel bug report!
[url]https://bugzilla.kernel.org/show_bug.cgi?id=77161[/url]
[QUOTE=TrinityX;44962150]Anyone know why pam_pwdfile can't open a passwd file that exists, and has chmod 777?
Note: It was created using the htpasswd tool, so i doubt it's invalid.
Error message:[/QUOTE]
How are the permissions on /etc/vsftpd (the directory, not the files)
Okay, so I'm on a Win7 system dual booting with a (broken) ubuntu installation. Now I'm too lazy to write down a load of commands I need to enter into the terminal to get my video card working (I'm getting the 'system is running in low graphics mode' error) so I'm considering running Ubuntu from the disk and trying to install the drivers through the terminal there.
But then what? Do I just mount my system's Ubuntu installation and extract the drivers into a certain directory or something?
[editline]1st June 2014[/editline]
Okay that explanation was convuluted as fuck, let me put it another way: I'm now running Ubuntu from a disk, I want to install graphics drivers on the Ubuntu installation on this system. How should I got about it?
Installed Mint on my desktop PC, and now the scaling is messed up and I can't see the menu bar. How does one fix this?
Using the open source Radeon drivers, if that helps.
[QUOTE=esalaka;44969052]The partition itself still should exist on disk, but it seems the header is corrupted in some way. This might work. I'll try it.[/QUOTE]
Current time estimate based on recovery thus far and quick math: At least a thousand hours of recovery time.
Literally a thousand hours.
How the fuck am I supposed to deal with this.
[editline]2nd June 2014[/editline]
At least I can use sparse writes and probably not have to write an entire 400GB file onto another disk.
I'm having some issues with building a package, specifically package-query ( [url]https://aur.archlinux.org/packages/package-query/[/url] ). not sure what to do as I haven't had issues with this before, and Google results aren't really helping.
this is where the build process starts messing up
[code]==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/src'
make[2]: Entering directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/src'
/usr/bin/mkdir -p '/home/vlad/AUR builds/package-query/pkg/package-query/usr/bin'
/bin/sh ../libtool --mode=install /usr/bin/install -c package-query '/home/vlad/AUR builds/package-query/pkg/package-query/usr/bin'
libtool: install: /usr/bin/install -c package-query /home/vlad/AUR builds/package-query/pkg/package-query/usr/bin/package-query
/usr/bin/install: target 'builds/package-query/pkg/package-query/usr/bin/package-query' is not a directory
Makefile:332: recipe for target 'install-binPROGRAMS' failed
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/src'
Makefile:518: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/src'
Making install in doc
make[1]: Entering directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/doc'
make[2]: Entering directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/doc'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/vlad/AUR builds/package-query/pkg/package-query/usr/share/man/man8'
/usr/bin/install -c -m 644 package-query.8 '/home/vlad/AUR builds/package-query/pkg/package-query/usr/share/man/man8'
make[2]: Leaving directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/doc'
make[1]: Leaving directory '/home/vlad/AUR builds/package-query/src/package-query-1.2/doc'
make[1]: Entering directory '/home/vlad/AUR builds/package-query/src/package-query-1.2'
make[2]: Entering directory '/home/vlad/AUR builds/package-query/src/package-query-1.2'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/vlad/AUR builds/package-query/src/package-query-1.2'
make[1]: Leaving directory '/home/vlad/AUR builds/package-query/src/package-query-1.2'
Makefile:384: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
[/code]
any ideas?
[editline]3rd June 2014[/editline]
whoops, nevermind me. the build process doesn't like spaces apparently
something else I sort of need help with :v:
I've always used os-prober to dual boot with windows, but os-prober doesn't work that well with UEFI from what I learned and read, so I don't have a windows entry in my grub menu this time around. I tried adding this to my menu thing:
[code]if [ "${grub_platform}" == "efi" ]; then
menuentry "Microsoft Windows 8.1 UEFI-GPT" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root $hints_string $fs_uuid
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
fi[/code]
where hints_string and fs_uuid should be replaced by the correct numbers, but I can't get my hands on them.
running this
[code]grub-probe --target=fs_uuid $esp/EFI/Microsoft/Boot/bootmgfw.efi[/code]
yields this
[code]grub-probe: error: failed to get canonical path of `/EFI/Microsoft/Boot/bootmgfw.efi'.[/code]
so I'm kind of stuck. would really appreciate some help!
I'm not that familiar with GRUB, but rEFInd makes it super easy to dual boot with Windows. That's what I use.
snip, fixed it.
Sorry, you need to Log In to post a reply to this thread.