New: Blank screen on nouveau module load
https://bugs.freedesktop.org/show_bug.cgi?id=29810
Summary: Blank screen on nouveau module load
Product: xorg
Version: unspecified
Platform: PowerPC
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created an attachment (id=38169)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38169)
lspci output
I have an old CRT eMac with an Nvidia GeForce2 MX card. I try to make it work with the packaged debian nouveau modules. When the system loads the nouveau kernel module the screen goes blank. I can log into the computer with ssh and get the console back with unloading the nouveau module. The X display does not start at all.
Is there a way to make it work?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-29810-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 29810] Blank screen on nouveau module load
https://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #1 from Zoltan Varnagy <[email protected]> 2010-08-25 23:24:12 PDT --- Created an attachment (id=38170)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38170)
dmesg output
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #2 from Zoltan Varnagy <[email protected]> 2010-08-25 23:26:01 PDT --- Created an attachment (id=38171)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38171)
xorg.conf
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #3 from Zoltan Varnagy <[email protected]> 2010-08-25 23:26:26 PDT --- Created an attachment (id=38172)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38172)
Xorg log
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #4 from Zoltan Varnagy <[email protected]> 2010-08-25 23:28:54 PDT --- The computer has a CRT display and also a mini vga output on its side which i
don't use.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #5 from Francisco Jerez <[email protected]> 2010-08-26 02:22:53 PDT --- (In reply to comment #0)
Quoted 1 line
Created an attachment (id=38169)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38169)
Quoted 9 lines
lspci output
I have an old CRT eMac with an Nvidia GeForce2 MX card. I try to make it work with the packaged debian nouveau modules. When the system loads the nouveau kernel module the screen goes blank. I can log into the computer with ssh and get the console back with unloading the nouveau module. The X display does not start at all.
Is there a way to make it work?
A register dump with nouveau unloaded would be useful (using [1], it depends on libpciaccess).
[1] http://cgit.freedesktop.org/~currojerez/tvdump
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #6 from Zoltan Varnagy <[email protected]> 2010-08-26 05:09:24 PDT --- Created an attachment (id=38176)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38176)
tvdump output
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #7 from Francisco Jerez <[email protected]> 2010-08-26 05:31:49 PDT --- Does it work when you boot with "video=VGA-1:e" in the kernel command line?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #8 from Zoltan Varnagy <[email protected]> 2010-08-26 06:36:37 PDT --- if i use the video=VGA-1:e switch or no switch at all the system starts with
nvidiafb which was not suggested in nouveau wiki. The console comes up, nouveau
and drm module are shown in lsmod but noveau lines do not appear in dmesg.
If i use video=ofonly or video=ofonly,VGA-1:e the system comes up without nvidiafb and the screen goes blank when it tries to load nouveau module.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #9 from Francisco Jerez <[email protected]> 2010-08-26 07:00:06 PDT --- (In reply to comment #8)
Quoted 6 lines
if i use the video=VGA-1:e switch or no switch at all the system starts with nvidiafb which was not suggested in nouveau wiki. The console comes up, nouveau and drm module are shown in lsmod but noveau lines do not appear in dmesg.
If i use video=ofonly or video=ofonly,VGA-1:e the system comes up without nvidiafb and the screen goes blank when it tries to load nouveau module.
Try with "video=nvidiafb:off video=VGA-1:e".
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #10 from Zoltan Varnagy <[email protected]> 2010-08-26 07:34:10 PDT --- Created an attachment (id=38177)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38177)
second dmesg output
Something seems to happen. I get different messages in dmesg. Although the screen goes blank again and this time it does not even allow to remove the nouveau module (module is in use)
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #11 from Francisco Jerez <[email protected]> 2010-08-26 07:51:21 PDT --- (In reply to comment #10)
Quoted 1 line
Created an attachment (id=38177)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38177)
Quoted 5 lines
second dmesg output
Something seems to happen. I get different messages in dmesg. Although the screen goes blank again and this time it does not even allow to remove the nouveau module (module is in use)
Can you get me another register dump now with nouveau loaded?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #12 from Zoltan Varnagy <[email protected]> 2010-08-26 07:58:09 PDT --- Created an attachment (id=38178)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38178)
second tvdump output
Sure. It's a bit different from the last one.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #13 from Marcin Slusarz <[email protected]> 2010-08-26 09:20:14 PDT --- Last dmesg indicates there's second problem - slightly broken OFfb handover:
"Trying to free nonexistent resource <0000000098004000-00000000980c3fff>"
I doubt it's the reason of "blank screen", but it should be fixed anyway.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #14 from Marcin Slusarz <[email protected]> 2010-08-26 09:21:32 PDT --- Created an attachment (id=38182)
View: https://bugs.freedesktop.org/attachment.cgi?id=38182
Review: https://bugs.freedesktop.org/review?bug=29810&attachment=38182
fix for OFfb unload
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #15 from Francisco Jerez <[email protected]> 2010-08-26 12:08:55 PDT --- Created an attachment (id=38194)
View: https://bugs.freedesktop.org/attachment.cgi?id=38194
Review: https://bugs.freedesktop.org/review?bug=29810&attachment=38194
nv11_emac_kms.patch
(In reply to comment #12)
Quoted 1 line
Created an attachment (id=38178)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38178)
Quoted 3 lines
second tvdump output
Sure. It's a bit different from the last one.
OK, can you give this patch a try?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #16 from Zoltan Varnagy <[email protected]> 2010-08-26 21:01:14 PDT --- Ugh. You mean i should compile a full, at least 2.6.36 kernel with a patched
driver and maybe a complete Xorg as well?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #17 from Francisco Jerez <[email protected]> 2010-08-27 04:02:15 PDT --- (In reply to comment #16)
Quoted 2 lines
Ugh. You mean i should compile a full, at least 2.6.36 kernel with a patched driver and maybe a complete Xorg as well?
Yes, you'll have to build more recent versions of libdrm and xf86-video-nouveau if the kernel patch I attached does the trick.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #18 from Zoltan Varnagy <[email protected]> 2010-09-06 01:19:19 PDT --- As its a quite old machine that compiling stuff would take many hours so ... i
chose an easier way. I appended your patch to the 2.6.33 kernel nouveau driver,
and recompiled only the driver. Luckily it worked fine. With the given kernel
parameters the new nouveau module loaded fine and i could use the console with
nouveaufb loaded. So i thank for your help. My only problem is now the lack of
X. xorg still says the same error as last time (failed to open device, no
devices detected). Should i open a new bug for that?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #19 from Francisco Jerez <[email protected]> 2010-09-06 05:59:54 PDT --- (In reply to comment #18)
Quoted 5 lines
As its a quite old machine that compiling stuff would take many hours so ... i chose an easier way. I appended your patch to the 2.6.33 kernel nouveau driver, and recompiled only the driver. Luckily it worked fine. With the given kernel parameters the new nouveau module loaded fine and i could use the console with nouveaufb loaded. So i thank for your help.
Thanks, to fix this properly I'd be interested in a dump of your OF device tree, can you send me the output from "tar czvf device-tree.tar.gz /proc/device-tree/"?
Quoted 3 lines
My only problem is now the lack of
X. xorg still says the same error as last time (failed to open device, no devices detected). Should i open a new bug for that?
Please, read the trouble shooting guide [1] carefully before opening a new bug.
[1] http://nouveau.freedesktop.org/wiki/TroubleShooting
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #20 from Zoltan Varnagy <[email protected]> 2010-09-06 07:34:58 PDT --- Created an attachment (id=38476)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38476)
device tree archive
Here you are. Okay i read through the Troubleshoot guide and think over the next step.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #21 from Francisco Jerez <[email protected]> 2010-09-06 08:23:08 PDT --- Created an attachment (id=38477)
View: https://bugs.freedesktop.org/attachment.cgi?id=38477
Review: https://bugs.freedesktop.org/review?bug=29810&attachment=38477
nv11_emac_kms_2.patch
(In reply to comment #20)
Quoted 1 line
Created an attachment (id=38476)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38476)
Quoted 4 lines
device tree archive
Here you are. Okay i read through the Troubleshoot guide and think over the next step.
Thanks, can you try this patch instead of the last one and tell me how it goes?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #22 from Zoltan Varnagy <[email protected]> 2010-09-07 05:52:44 PDT --- Well it went worse. This time the screen remains blank and the nouveau module
is loaded. So i think i will stay at the previous solution.
Finally i compiled and tried the 2.6.36 kernel and the DDX driver and managed to start X with nouveau. Although it seems to be slower than the nv driver. glxgears dropped to 50 from 150, it uses software rendering for opengl and hung the machine on video load. I wonder if these can get better.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #23 from Francisco Jerez <[email protected]> 2010-09-07 06:12:53 PDT --- (In reply to comment #22)
Quoted 3 lines
Well it went worse. This time the screen remains blank and the nouveau module is loaded. So i think i will stay at the previous solution.
Did you have "video=VGA-1:e" in your kernel command line? If you did please try without.
Quoted 2 lines
Finally i compiled and tried the 2.6.36 kernel and the DDX driver and managed to start X with nouveau.
Where did you get that kernel from? The nouveau kernel tree or Linus' tree?
Quoted 3 lines
Although it seems to be slower than the nv driver.
glxgears dropped to 50 from 150, it uses software rendering for opengl and hung the machine on video load. I wonder if these can get better.
It uses software rendering because you haven't installed the 3D driver (try it at your own risk, it's still unsupported).
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #24 from Zoltan Varnagy <[email protected]> 2010-09-07 06:40:37 PDT --- (In reply to comment #23)
Quoted 6 lines
(In reply to comment #22)
Quoted 3 lines
Well it went worse. This time the screen remains blank and the nouveau module is loaded. So i think i will stay at the previous solution.
Did you have "video=VGA-1:e" in your kernel command line? If you did please try without.
I tried without that as well but it still shows black screen. Should i post a register dump?
Quoted 4 lines
Quoted 2 lines
Finally i compiled and tried the 2.6.36 kernel and the DDX driver and managed to start X with nouveau.
Where did you get that kernel from? The nouveau kernel tree or Linus' tree?
I did it with git as written at
http://nouveau.freedesktop.org/wiki/DebianInstall
The only thing i have not compiled was libdrm as the debian 2.4.21 version seemed new enough.
Quoted 5 lines
Quoted 3 lines
Although it seems to be slower than the nv driver.
glxgears dropped to 50 from 150, it uses software rendering for opengl and hung the machine on video load. I wonder if these can get better.It uses software rendering because you haven't installed the 3D driver (try it at your own risk, it's still unsupported).
Hmm, okay, thanks maybe later. Actually i just expected some speedup on xmoto which does not use 3d as far as i know. I thought it would be faster as fast 2D seems to be present in the nouveau feature matrix at NV10.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #25 from Francisco Jerez <[email protected]> 2010-09-07 07:29:57 PDT --- Created an attachment (id=38515)
View: https://bugs.freedesktop.org/attachment.cgi?id=38515
Review: https://bugs.freedesktop.org/review?bug=29810&attachment=38515
nouveau_edid_from_of.patch
(In reply to comment #24)
Quoted 11 lines
(In reply to comment #23)
Quoted 6 lines
(In reply to comment #22)
Quoted 3 lines
Well it went worse. This time the screen remains blank and the nouveau module is loaded. So i think i will stay at the previous solution.
Did you have "video=VGA-1:e" in your kernel command line? If you did please try without.
I tried without that as well but it still shows black screen. Should i post a register dump?
Sigh... so it seems OF is the only way to get an EDID for your monitor, new patch attached, try it *without* "video=VGA-1:e".
Quoted 10 lines
[...]
Quoted 5 lines
Quoted 3 lines
Although it seems to be slower than the nv driver.
glxgears dropped to 50 from 150, it uses software rendering for opengl and hung the machine on video load. I wonder if these can get better.It uses software rendering because you haven't installed the 3D driver (try it at your own risk, it's still unsupported).
Hmm, okay, thanks maybe later. Actually i just expected some speedup on xmoto which does not use 3d as far as i know. I thought it would be faster as fast 2D seems to be present in the nouveau feature matrix at NV10.
Xmoto uses OpenGL to draw itself, so yes, it's 3d. And by the way, your card needs the classic mesa drivers instead of gallium, to build them pass "--with-dri-drivers=nouveau" instead of "--enable-gallium-nouveau" to the mesa configure script.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #26 from Zoltan Varnagy <[email protected]> 2010-09-07 08:58:39 PDT --- (In reply to comment #25)
Quoted 2 lines
Sigh... so it seems OF is the only way to get an EDID for your monitor, new patch attached, try it *without* "video=VGA-1:e".
I am not sure i am doing the thing you thought about. I appended your third patch to the second and got black screen again. Should i have used only the third? I try these with the 2.6.33 kernel. I hope its not a problem (it went fine with it with your first patch).
Quoted 6 lines
Quoted 1 line
seems to be present in the nouveau feature matrix at NV10.
Xmoto uses OpenGL to draw itself, so yes, it's 3d. And by the way, your card needs the classic mesa drivers instead of gallium, to build them pass "--with-dri-drivers=nouveau" instead of "--enable-gallium-nouveau" to the mesa configure script.
Well ... that means i should compile mesa as well? Check out from git not only the mesa/drm part as written on the page but the whole mesa branch and compile somehow? I feel like it would be really great to have a Makefile somewhere which does all this checkout/compile/package/install stuff. The Xorg log says something about nouveau_vieux_dri.so. The mesa compiling would produce that?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #27 from Francisco Jerez <[email protected]> 2010-09-07 09:11:11 PDT --- (In reply to comment #26)
Quoted 9 lines
(In reply to comment #25)
Quoted 2 lines
Sigh... so it seems OF is the only way to get an EDID for your monitor, new patch attached, try it *without* "video=VGA-1:e".
I am not sure i am doing the thing you thought about. I appended your third patch to the second and got black screen again. Should i have used only the third? I try these with the 2.6.33 kernel. I hope its not a problem (it went fine with it with your first patch).
Yes, try with the last patch alone, and provide full kernel logs if it doesn't work.
Quoted 10 lines
Quoted 6 lines
Quoted 1 line
seems to be present in the nouveau feature matrix at NV10.
Xmoto uses OpenGL to draw itself, so yes, it's 3d. And by the way, your card needs the classic mesa drivers instead of gallium, to build them pass "--with-dri-drivers=nouveau" instead of "--enable-gallium-nouveau" to the mesa configure script.
Well ... that means i should compile mesa as well? Check out from git not only the mesa/drm part as written on the page but the whole mesa branch and compile somehow?
You just have to clone the mesa repository, as described here [1].
Quoted 3 lines
I feel like it would be really great to have a
Makefilesomewhere which does all this checkout/compile/package/install stuff. The Xorg log says something about nouveau_vieux_dri.so. The mesa compiling would produce that?
Yup.
[1] http://nouveau.freedesktop.org/wiki/GalliumHowto
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #28 from Zoltan Varnagy <[email protected]> 2010-09-07 11:37:47 PDT --- Created an attachment (id=38526)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38526)
fourth dmesg output
Unfortunately the same thing happened with the last patch. I hope you meant this by detailed kernel log.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #29 from Zoltan Varnagy <[email protected]> 2010-09-07 11:40:54 PDT --- Okay anyone read comment #22 just forget it. NOUVEAU IS BETTER THAN nv. After
compiling the mesa driver and using it xmoto went fine and smooth. Its also
possible to run some 3d games. Thanks for your help again.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #30 from Francisco Jerez <[email protected]> 2010-09-07 12:20:27 PDT --- (In reply to comment #28)
Quoted 1 line
Created an attachment (id=38526)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38526)
Quoted 4 lines
fourth dmesg output
Unfortunately the same thing happened with the last patch. I hope you meant this by detailed kernel log.
Are you sure you reverted the previous patches before trying this one? They aren't supposed to work together.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #31 from walt <[email protected]> 2010-09-07 16:09:14 PDT --- (In reply to comment #29)
Quoted 3 lines
After
compiling the mesa driver and using it xmoto went fine and smooth. Its also possible to run some 3d games.
This is a long and complicated bug report, so I'd be grateful for a brief summary of the steps you took to get everything working. In particular, which git repos did you actually need?
You mention 3d also. Did you use the --enable-gallium-nouveau config flag or the other one mentioned by Francisco?
I'm confused about the need for gallium to run 3d software -- I read somewhere that it's needed for 3d support, but Francisco told you to use the other flag.
Thanks!
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #32 from Zoltan Varnagy <[email protected]> 2010-09-07 20:38:55 PDT --- (In reply to comment #30)
Quoted 2 lines
(In reply to comment #28)
Quoted 1 line
Created an attachment (id=38526)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38526)
Quoted 7 lines
Quoted 4 lines
fourth dmesg output
Unfortunately the same thing happened with the last patch. I hope you meant this by detailed kernel log.
Are you sure you reverted the previous patches before trying this one? They aren't supposed to work together.
Well i have just checked. All .c files in drivers/gpu/drm/nouveau have modification date feb.24 only the nouveau_connector.c is sept 7. The module is recompiled and put into the /lib directory. I really don't know about this driver details but the fact is it worked when i only applied your first nv04_crtc.c suggestions.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #33 from Zoltan Varnagy <[email protected]> 2010-09-07 20:54:33 PDT --- (In reply to comment #31)
Quoted 4 lines
(In reply to comment #29)
This is a long and complicated bug report, so I'd be grateful for a brief summary of the steps you took to get everything working. In particular, which git repos did you actually need?
Well the way it worked is very close to one written at
http://nouveau.freedesktop.org/wiki/DebianInstall
In the large frame. Roughly it was:
a) I checked out the nouveau kernel and applied the patch given in comment #15 . I compiled and installed the new kernel.
b) instead of compiling libdrm i used the debian packaged one (2.4.21)
c) i also checked out the mesa drivergit://anongit.freedesktop.org/git/mesa/mesa
configured with
./configure --enable-debug --enable-glx-tls --disable-asm --with-dri-drivers=nouveau --disable-gallium-i915 --disable-gallium-i965 --disable-gallium-radeon --disable-gallium-r600 --disable-gallium-svga --with-state-trackers=glx,dri
and put the resulting lib/nouveau_vieux_dri.so to /usr/lib/dri
d) Checked out the ddx and installed as written
Quoted 2 lines
I'm confused about the need for gallium to run 3d software -- I read somewhere that it's needed for 3d support, but Francisco told you to use the other flag.
Yes as far as i know for this card the nouveau_vieux_dri driver is needed instead, which was created in step c)
Quoted 1 line
Thanks!
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #34 from Francisco Jerez <[email protected]> 2010-09-08 07:43:35 PDT --- Created an attachment (id=38552)
View: https://bugs.freedesktop.org/attachment.cgi?id=38552
Review: https://bugs.freedesktop.org/review?bug=29810&attachment=38552
nouveau_edid_from_of_dbg.patch
(In reply to comment #32)
Quoted 3 lines
(In reply to comment #30)
Quoted 2 lines
(In reply to comment #28)
Quoted 1 line
Created an attachment (id=38526)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38526)
[details]
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
fourth dmesg output
Unfortunately the same thing happened with the last patch. I hope you meant this by detailed kernel log.
Quoted 8 lines
Quoted 2 lines
Are you sure you reverted the previous patches before trying this one? They aren't supposed to work together.
Well i have just checked. All .c files in
drivers/gpu/drm/nouveauhave modification date feb.24 only thenouveau_connector.cis sept 7. The module is recompiled and put into the /lib directory. I really don't know about this driver details but the fact is it worked when i only applied your firstnv04_crtc.csuggestions.
Not sure what's going on then, can you show me the kernel logs you get after running it with this patch applied and the previous ones reverted?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #35 from Zoltan Varnagy <[email protected]> 2010-09-08 12:02:18 PDT --- Created an attachment (id=38563)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38563)
fifth demsg output
Here you are. Debian kernel, video=nvidiafb:off argument. Your last patch only.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #36 from Francisco Jerez <[email protected]> 2010-09-08 12:22:28 PDT --- (In reply to comment #35)
Quoted 1 line
Created an attachment (id=38563)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38563)
Quoted 5 lines
fifth demsg output
Here you are. Debian kernel, video=nvidiafb:off argument. Your last patch only.
[ 15.741618] 216: NVDA,Display-A NVDA,Display-A c27813bc 0 1
^^^
Man, that definitely means you have "nv11_emac_kms_2.patch" applied, try "git reset --hard" to get a clean tree before going forward.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
--- Comment #37 from Zoltan Varnagy <[email protected]> 2010-09-08 21:53:39 PDT --- (In reply to comment #36)
Quoted 2 lines
(In reply to comment #35)
Quoted 1 line
Created an attachment (id=38563)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38563)
Quoted 9 lines
Quoted 5 lines
fifth demsg output
Here you are. Debian kernel, video=nvidiafb:off argument. Your last patch only.
[ 15.741618] 216: NVDA,Display-A NVDA,Display-A c27813bc 0 1^^^Man, that definitely means you have "nv11_emac_kms_2.patch" applied, try "git reset --hard" to get a clean tree before going forward.
Hmm yes, something close to that, sorry. I reverted the patch by copying back the older nv04_crtc.c file and as it was older than the nv04_crtc.o the compiler did not recompile the object file. I did it again and the system started fine. It chose some funny 158x60 text mode on nouveau module load with tiny letters.
So the configuration is which was intended last time. Debian experimental kernel, video=nvidiafb:off argument. Your last patch only.
Do you need any kernel or register dumps?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29810] Blank screen on nouveau module load
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=29810
Francisco Jerez <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #38 from Francisco Jerez <[email protected]> 2010-09-09 05:44:53 PDT --- (In reply to comment #37)
Quoted 3 lines
(In reply to comment #36)
Quoted 2 lines
(In reply to comment #35)
Quoted 1 line
Created an attachment (id=38563)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38563)
[details]
Quoted 16 lines
Quoted 9 lines
Quoted 5 lines
fifth demsg output
Here you are. Debian kernel, video=nvidiafb:off argument. Your last patch only.
[ 15.741618] 216: NVDA,Display-A NVDA,Display-A c27813bc 0 1^^^Man, that definitely means you have "nv11_emac_kms_2.patch" applied, try "git reset --hard" to get a clean tree before going forward.
Hmm yes, something close to that, sorry. I reverted the patch by copying back the older
nv04_crtc.cfile and as it was older than the nv04_crtc.o the compiler did not recompile the object file. I did it again and the system started fine. It chose some funny 158x60 text mode on nouveau module load with tiny letters.
Quoted 4 lines
So the configuration is which was intended last time. Debian experimental kernel, video=nvidiafb:off argument. Your last patch only.
Do you need any kernel or register dumps?
No, thanks, I've pushed the fix to master. Feel free to open a new bug about the video crash you said you are seeing.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.