I did. That was one of the first things I tried, however, it did not do the trick. I read somewhere that the custom EDID is used by the nVidia driver only to "correct" the one it gets from the cable or it gets ignored. (For example even when I specify a modeline and say "UseEDID" "false" I can see in Xorg.log that the driver got the EDID from the monitor and is using it.)
Anyway, it still might be the case that the EDID is not the problem and I want to first try the analog connection and see if I can get a better image. Then I'll know what is what.
I'll keep you guys appraised of the situation.
-
ALLurGroceries Vegan Vermin Super Moderator
-
Update time: I connected my monitor via the VGA port and voila, the image is perfect. So I at least have a fall-back in case none of the EDID-forcing works. Phew.
I then tried specifying the EDID I got through the analog connection, but the nvidia driver ignored it. I googled and tried several other things and nothing helped. I then compared the two EDIDs (digital and analog) in a hex-viewer and the digital one is much bigger, so there is definitely a difference.
I will try and post my problem on the NV News forum and see if somebody can help me there. If not I guess I will have to go through VGA for the time being. -
ALLurGroceries Vegan Vermin Super Moderator
Updated howto for 2.6.30-rc4
Edit: Added asas' bluetooth tip. Updated howto to use sudo to make it easy for Ubuntu users to copy & paste commands. For people running Debian, edit your /etc/sudoers file to enable your regular user account to use sudo. Replace groceries below with your username. This is what mine looks like:
Code:# /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file. # Defaults env_reset # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL) ALL groceries ALL=(ALL) ALL # Uncomment to allow members of group sudo to not need a password # (Note that later entries override this, so you might need to move # it further down) # %sudo ALL=NOPASSWD: ALL
-
regarding /etc/sudoers:
IMO it is better to use:
Code:...... myUserName ALL=ALL .....
but if there is only one user (except root) on the system it does not matter
one more thing: did someone tested VPN (PPTP) connection (after recompiling kernel)? cos I cannot connect and I'm interested where is the problem... I can connect to that VPN from Win so It's not a server side issue -
ALLurGroceries Vegan Vermin Super Moderator
-
Victory! I got a crystal-clear HDMI image. The problem was the location of the Option "CustomEDID" "DFP-1:/path/to/edid" parameter. In order to work it needs to be placed in the first Device section - I had several Device sections, one for the card, and two for my monitors (netbook's and external). So if anyone encounters this problem, just move the option:
Code:Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 9300M GS" BusID "PCI:3:0:0" Screen 0 Option "CustomEDID" "DFP-1:/etc/X11/viewsonic.edid" EndSection
-
I attached script to switch between internal and external monitors... you just need to install "disper" to use it.
the script will check witch monitor is active and will switch to another one so you can rotate between them... (log file will be created in your home dir/disper_mon.log)
p.s. it's useful only for monitors connected to HDMI... I'm too lazy to make it work with VGAAttached Files:
-
-
looks like I'm not getting GRE packets back... strange... -
I found interesting behavior of "sudo"...
what i done:
1:
Code:$ls -la drwxr-xr-x 2 asas asas 4096 2009-05-02 18:59 . drwxr-xr-x 7 asas asas 4096 2009-05-02 18:56 .. -rw-r--r-- 1 asas asas 0 2009-05-02 18:59 logfile.log -rwx------ 1 root root 4 2009-05-02 18:57 test.txt
2:
Code:$cat test.txt cat: test.txt: Permission denied
3:
Code:$echo . | sudo -S cat test.txt 111
I even tried this from "tty1" (Ctrl+Alt+F1) and it's working for me...
To: ALLurGroceries and others
can you test on your systems and tell if it is working for you?
p.s. I'm using according to `lsb_release -a`
Distributor ID: Debian
Description: Debian GNU/Linux unstable (sid)
Release: unstable
Codename: sid -
Hi guys
I updated to Ubuntu 9.04 and kernel 2.6.30-rc4 and it is a great failure.
I cant install NVIDIA drivers in 2.6.30-rc4, it just goes on in building to 100% and then it says fail. I can do it in the kernel provided by Ubuntu.
And what is worse my wifi stoped to work in all of the kernels.
The ath9k is loaded and still the NM says card not managed.
And this is in all kernels so I wonder if the new NM from 9.04 is the problem.
I have to write this from windows, any help is appreciated.
The wifi is much worse problem, because it works nowhere and I cant use wired now.
Edit: It may be worth to mention I did not run mkinitramfs because it did not seem necessary. The kernel is bootable but... -
ALLurGroceries Vegan Vermin Super Moderator
For the wireless check out these bugs.
Edit: Sometimes too when it says 'device not managed' I've found resetting dbus will do the trick.. but this is usually after a resume, not just normally:
Code:pkill nm-applet sudo /etc/init.d/dbus restart sudo /etc/init.d/network-manager restart nm-applet &
Code:sudo iwconfig wlan0 essid any ap any sudo dhclient wlan0
-
Ok thank you a lot I have made some progress.
I was trying NVIDIA-Linux-x86-185.19-pkg1.run and NVIDIA-Linux-x86-180.41-pkg1.run and none of them worked.
So now I tried NVIDIA-Linux-x86-185.18.04-pkg0.run and it works.
Why is it now pkg0?? I read pkg1 is the normal option and it was before.
So NVIDIA solved.
With wifi not a great success.
I read the two links you put here and it is the bug but I did not find a solution there.
Some write to change /etc/networkmanager/nm-system-settings.conf which helped a little.
After writing there managed=true the wifi lived again (do you know Blood?)
but it connected in 10% of cases and did not even work much after it.
So I changed it back and so far as I have wired again I will simply wait for a new NM and hope.
My asus-wireless.sh are renamed and wifi is not easy here so I leave it for now, if something changes i let you know.
PS. The sudo /etc/init.d/dbus restart killed my X and all the USB devices including keyboard -
ALLurGroceries Vegan Vermin Super Moderator
I've had some minor problems with wireless on rc4, I've tweaked mlme.c a bit to try and help, but if all else fails, you can run rc3. My config is still up for now at the same URL (just replace rc4 with rc3 in the URL). The patches are the same so it should be safe. It looks like there is a specific bug with network manager, so I'm not sure it'll help in your situation, but I have noticed the wireless is finicky in rc4 (which required me to tweak mlme.c -- beyond the regular patch -- so that the connection doesn't drop as much).
-
What frame rates do you guys get when running "glxgears" with the Intel chipset?
-
ALLurGroceries Vegan Vermin Super Moderator
Code:1562 frames in 5.0 seconds = 311.487 FPS 1580 frames in 5.1 seconds = 312.684 FPS 1600 frames in 5.1 seconds = 316.592 FPS 1640 frames in 5.1 seconds = 324.322 FPS 1460 frames in 5.0 seconds = 291.475 FPS 1560 frames in 5.0 seconds = 309.356 FPS 1340 frames in 5.2 seconds = 259.711 FPS 1340 frames in 5.1 seconds = 264.639 FPS 1020 frames in 5.0 seconds = 203.796 FPS 1480 frames in 5.1 seconds = 292.983 FPS 1680 frames in 5.0 seconds = 333.699 FPS
Code:Option "AccelMethod" "XAA"
Code:Option "AccelMethod" "UXA"
-
ALLurGroceries Vegan Vermin Super Moderator
My web server is down due to a power outage. Here's a zip file for now with all the files that are needed. I will update this post when my server is back online.
Edit: Power restored, zip file removed. My apologies for any inconvenience this may have caused. -
ALLurGroceries:
what do you think about adding one more module to your .config?
it's "Device mapper support" required by TrueCrypt soft...
if you decide to add it under "Device drivers --> Multi devices support (RAID and LVM) -> Device mapper support"
p.s. is it possible to add only this module without recompiling kernel? -
ALLurGroceries Vegan Vermin Super Moderator
Code:cd /usr/src/linux-2.6.30-rc4 make drivers/md/dm-mod.ko make drivers/md/dm-crypt.ko sudo mkdir /lib/modules/2.6.30-rc4/kernel/drivers/md sudo cp drivers/md/dm-mod.ko /lib/modules/2.6.30-rc4/kernel/drivers/md sudo cp drivers/md/dm-crypt.ko /lib/modules/2.6.30-rc4/kernel/drivers/md sudo /sbin/depmod -a sudo modprobe dm_mod sudo modprobe dm_crypt lsmod | grep dm
-
How many FN+something keys do you guys have working? I am trying my luck with xbindkeys (again, I am not running Gnome or KDE) and it recognizes PgUp, PgDown, Home, and End no problem, but stuff like FN+F1, F2, F5, F6, F7, F8, F10, F11, or F12 does not register.
Do you guys have these keys working? If so, how? Are you using XBindKeys? If so, what are the key codes for all the above keys?
Thanks. -
ALLurGroceries Vegan Vermin Super Moderator
Edit: Also you should be able to rebind these keys under System->Preferences Keyboard Shortcuts as long as you get scancodes from xev for those key combinations -
nice
thanks man for how to add modules!
p.s. I have no problems with Fn+F2 but the same problem with F10, F11 and F12... but there are no problems using M$ keyboard with multimedia buttons... Debian Sid. and also touch pad click does not work any more evenCode:Option "MaxTapTime" "180"
-
ALLurGroceries Vegan Vermin Super Moderator
Code:Option "TapButton1" "1"
-
nice
thanks again.
p.s. just tried Sun's virtualbox 2.2 with Xp Home on it (i have few programs that works on win only) and I can tell that it's not so bad at all -
-
ALLurGroceries Vegan Vermin Super Moderator
-
New alsa's out for some time now (1.0.20)... But I'm having the same problems with it as with the previous one - aplay -l does not show device 0:3(hdmi). Could you prepare a similar patch_nvhdmi.c file as for 1.0.19? Or maybe explain what you've changed in it?
edit: seems to work ok with the patch_nvhdmi.c file for 1.0.19. -
ALLurGroceries Vegan Vermin Super Moderator
Edit: Updated howto for 2.6.30-rc5 -
ALLurGroceries Vegan Vermin Super Moderator
EDIT: THIS IS HERE FOR REFERENCE ONLY. This issue has been resolved.
This command solves the problem I've been experiencing on Sid where my hotkeys for volume and mute perform their function twice:
Code:hal-device -r /org/freedesktop/Hal/devices/computer_logicaldev_input_4
Code:lshal -m
Code:# lshal -m Start monitoring devicelist: ------------------------------------------------- 15:53:41.127: computer_logicaldev_input_4 condition ButtonPressed = mute 15:53:41.186: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = mute ^C # hal-device -r /org/freedesktop/Hal/devices/computer_logicaldev_input_4 removed: /org/freedesktop/Hal/devices/computer_logicaldev_input_4
I added this to the howto under Part 3:Code:sudo wget -O /etc/hal/fdi/preprobe/10-blacklist.fdi http://allurgroceries.is-a-chef.com/n10/10-blacklist.fdi
-
ALLurGroceries Vegan Vermin Super Moderator
Sorry to triple-post (this thread has gotten very quiet), I updated the howto for 2.6.30-rc6.
Edit: Added anchors for the sections so that you can click on them from the table of contents -
I created a ICC profile with spyder3Pro for people that want exact colors
this is on the N10J-xx only (nvidia 9300m GS) with the 185.xx device drivers
How I applied it was with argyll-cms which is newly available in debian repos(not in ubuntu yet,but can still be installed via .debs)
http://packages.debian.org/source/sid/argyll
how to apply ICC profile:
ICC:
http://www.mediafire.com/?sharekey=6ddbae1875d223c20f83d91f6dff7c38e04e75f6e8ebb871
The only downside is that if the screensaver activates or the screen goes to sleep the LUT is returned to normal(which is a bug right now), meaning the script has to be relaunched again(because the color profile has been uninstalled for the video card) -
ALLurGroceries Vegan Vermin Super Moderator
That's pretty cool, but when I applied it I got this:
Code:XRandR 1.2 is faulty - falling back to older extensions
Thanks for this. I added it to the howto.
Edit 2: I have a full fix for the hotkey problems where mute doesn't work and the volume up and down functions happen twice per keypress. I commented out the mute and volume up scancodes in the asus-laptop module so that only one device instance grabs them in the HAL. I've put the patched file in the howto. If you had used the blacklist tweak that I posted earlier please remove it:
Code:sudo rm /etc/hal/fdi/preprobe/10-blacklist.fdi
-
Yeah the xRandR is nvidia's fault they said they were suppose to support(over 2 years ago) it but still haven't
you should tell the people using ubuntu where the .deb is because it's not in the repositories yet.
Also if you restart the computer,screensaver kicks in you have to keep running dispwin because it returns the icc profile to normal, which is why I created the script -
ALLurGroceries Vegan Vermin Super Moderator
OK I'll pick up on this a bit later... I heavily edited my last response for brevity and moved the fix for the hotkeys to part 3 instead of a direct kernel patch (since not everyone may be affected by this, so it's easy enough to just recompile it after the kernel build if it is a problem).
I'll add a link to the .deb and mention the script when I edit next. Thanks again for the color profile it looks incredible! -
Does wifi behave better in the new kernel? Is it worth to upgrade?
And my sound in Urbanterror stoped working does anybody expirence the same? -
ALLurGroceries Vegan Vermin Super Moderator
I haven't had any problems with sound. -
I had it lying arround for my camera/photos white balance and was trying to figure how to apply it on linux, found a simple way and decided to share
-
ALLurGroceries Vegan Vermin Super Moderator
I just got Urban Terror on my N10J, the sound is fine... so make sure your volume is up for PCM and Front (or Speaker) in the mixer... gnome-alsamixer or kmix or alsamixer from the shell.
-
Urban terror says this:
------ Initializing Sound ------
Initializing SDL audio driver...
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
SDL audio driver is "(UNKNOWN)".
SDL_OpenAudio() failed: No available audio device
Sound initialization failed.
In all other application sound works fine.
So mixeres work well I think.
I tried to google it and found it but no solution. -
ALLurGroceries Vegan Vermin Super Moderator
Are you using PulseAudio as your default under System->Preferences->Sound
If so try changing it to ALSA and see if the same thing happens. -
I have there Autodetect but changing to ALSA makes no difference.
-
ALLurGroceries Vegan Vermin Super Moderator
Have you compiled ALSA according to the directions for HDMI audio? If not, maybe you are on an outdated version of ALSA.
Maybe some other application is using the sound card, so try closing everything that is open or running in the background.
You can try to chmod 777 /dev/dsp as root.
That's about all I can think of right now... Urban Terror runs great for me, good luck!
Edit: On a totally unrelated note...
For anyone on Debian Sid, I got an error updating OpenOffice today:
Code:Preparing to replace openoffice.org-common 1:3.1.0-1 (using .../openoffice.org-common_1%3a3.1.0-2_all.deb) ... mkdir: cannot create directory `/var/lib/openoffice/share/config': No such file or directory
Code:sudo mkdir /var/lib/openoffice/share sudo aptitude safe-upgrade
-
And in asus-laptop.c you left VOLUMEDOWN uncommented - why?
I must to comment it because if it's not commented volume down doubles... -
ALLurGroceries Vegan Vermin Super Moderator
-
Code:$lshal -m Start monitoring devicelist: ------------------------------------------------- 11:22:42.590: computer_logicaldev_input condition ButtonPressed = volume-down 11:22:42.656: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = volume-down
-
ALLurGroceries Vegan Vermin Super Moderator
Edit: I changed the hotkeys section to reflect this new info, there are two patched files on my server now, one that doesn't have volume down commented out (asus-laptop.c) and one that does (asus-laptop2.c). -
-
ALLurGroceries Vegan Vermin Super Moderator
Cheers -
Hey guys. I'm using Ubuntu 9.04 and so far most things seem to be working well enough. Alas, it seems my wireless internet is rather wonky. Every few minutes it seems to drop, and then pick back up. Is there a fix for this? It doesn't indicate a loss of signal. THings just won't load.
Thanks. -
ALLurGroceries Vegan Vermin Super Moderator
Linux on the ASUS N10 N10J
Discussion in 'Linux Compatibility and Software' started by ALLurGroceries, Oct 30, 2008.